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

@ -4,20 +4,20 @@ function lazerew_equip() /* entry=83 class_id=0x019C slot=0x0A */
process_exclude();
if (Item.getFrame(arg_06) >= 4) {
if (arg_0A == 1) {
spawn class_019C_slot_20(arg_06);
spawn LAZEREW.slot_20(arg_06);
return;
}
else if (arg_0A <= 1) {
spawn class_019C_slot_20(arg_06);
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
spawn LAZEREW.slot_20(arg_06);
spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
class_0A1E_slot_24(0x1000, arg_06);
class_0A0C_slot_33(0x0205, *(arg_06));
ITEM.slot_24(0x1000, arg_06);
FREE.slot_33(0x0205, *(arg_06));
return;
}
else {
class_0A1E_slot_24(0x1000, arg_06);
class_0A0C_slot_33(0x0205, *(arg_06));
ITEM.slot_24(0x1000, arg_06);
FREE.slot_33(0x0205, *(arg_06));
}
}
return;

View file

@ -2,7 +2,7 @@ function lazerew_leaveFastArea() /* entry=83 class_id=0x019C slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
class_0A1E_slot_24(0x1000, arg_06);
class_0A0C_slot_33(0x0205, *(arg_06));
ITEM.slot_24(0x1000, arg_06);
FREE.slot_33(0x0205, *(arg_06));
return;
}

View file

@ -15,7 +15,7 @@ function lazerew_slot_20() /* entry=83 class_id=0x019C slot=0x20 */
goto block_0322;
block_010F:
class_0A1E_slot_23(0x1000, arg_06);
ITEM.slot_23(0x1000, arg_06);
fram = Item.getFrame(arg_06);
block_012C:
@ -35,14 +35,14 @@ function lazerew_slot_20() /* entry=83 class_id=0x019C slot=0x20 */
if (fram != 3) goto block_0294;
block_020F:
spawn class_0A0C_slot_32(pid, 100, 0x00000000);
spawn FREE.waitNTimerTicks(pid, 100, 0x00000000);
suspend;
goto block_02F0;
block_0294:
block_02F0:
spawn class_0A0C_slot_32(pid, ((5 - Game.getDifficultyLevel()) * 20), 0x00000000);
spawn FREE.waitNTimerTicks(pid, ((5 - Game.getDifficultyLevel()) * 20), 0x00000000);
suspend;
goto block_012C;