Pseudocode decompialtion improvements and docs

This commit is contained in:
MaddoScientisto 2026-03-26 22:10:48 +01:00
commit 589bfc31ef
1898 changed files with 60634 additions and 6597 deletions

View file

@ -14,14 +14,10 @@ function rfanbade_gotHit() /* entry=222 class_id=0x03CE slot=0x06 */
return;
}
else {
class_0A0C_slot_2B(vel, ref);
FREE.slot_2B(vel, ref);
if (retval && (Item.getFrame(arg_06) <= 0)) {
fart2 = Item.getQLo(arg_06);
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x3D */
/* loopscr value_u8=0x40 */
/* loopscr value_u8=0x25 */
/* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
/* loop_selector item in nearby_items(shape=PLACEHOLDER_CUBE_BIG, origin=arg_06) */
while (!condition) {
fart = Item.getQLo(item);
/* loopnext */

View file

@ -15,7 +15,7 @@ function rfanbade_equip() /* entry=222 class_id=0x03CE slot=0x0A */
return;
}
else if (!var) {
class_0A1E_slot_23(0x1000, arg_06);
ITEM.slot_23(0x1000, arg_06);
fram = Item.getFrame(arg_06);
counter2 = 0;
counter = 1;
@ -25,24 +25,19 @@ function rfanbade_equip() /* entry=222 class_id=0x03CE slot=0x0A */
fram = 1;
}
counter2 = (counter2 + 2);
spawn class_0A0C_slot_32(pid, (30 - counter2), 0x00000000);
spawn FREE.waitNTimerTicks(pid, (30 - counter2), 0x00000000);
suspend;
if (counter2 == 4) {
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x3D */
/* loopscr value_u8=0x40 */
/* loopscr value_u8=0x25 */
/* loop current_var=0xF6 string_bytes=0x6 loop_type=0x2 */
while (!condition) {
for wind in nearby_items(shape=0x0476, origin=arg_06) {
if (Item.getQLo(wind) == Item.getQLo(arg_06)) {
class_0A0C_slot_2F(0x0337, wind);
FREE.slot_2F(0x0337, wind);
}
/* loopnext */
}
}
counter = (1 + counter);
}
class_0A1E_slot_24(0x1000, arg_06);
ITEM.slot_24(0x1000, arg_06);
}
return;
}