Usecode pseudocode

This commit is contained in:
MaddoScientisto 2026-03-26 00:37:17 +01:00
commit c12bb39437
1362 changed files with 71072 additions and 38056 deletions

View file

@ -1,33 +1,24 @@
function lazerew_equip() /* entry=83 class_id=0x019C slot=0x0A */
{
entry:
set_info(0x0211, *(arg_06));
process_exclude();
if (Item.getFrame(arg_06) < 4) goto block_046D;
block_03C9:
if (arg_0A != 1) goto block_03E8;
block_03D7:
spawn class_019C_slot_20(arg_06);
goto block_046D;
block_03E8:
if (arg_0A > 1) goto block_044D;
block_03F6:
spawn class_019C_slot_20(arg_06);
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
suspend;
class_0A1E_slot_24(0x1000, arg_06);
class_0A0C_slot_33(0x0205, *(arg_06));
goto block_046D;
block_044D:
class_0A1E_slot_24(0x1000, arg_06);
class_0A0C_slot_33(0x0205, *(arg_06));
block_046D:
return;
set_info(0x0211, *(arg_06));
process_exclude();
if (Item.getFrame(arg_06) >= 4) {
if (arg_0A == 1) {
spawn class_019C_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);
suspend;
class_0A1E_slot_24(0x1000, arg_06);
class_0A0C_slot_33(0x0205, *(arg_06));
return;
}
else {
class_0A1E_slot_24(0x1000, arg_06);
class_0A0C_slot_33(0x0205, *(arg_06));
}
}
return;
}

View file

@ -1,10 +1,8 @@
function lazerew_leaveFastArea() /* entry=83 class_id=0x019C slot=0x10 */
{
entry:
set_info(0x021C, *(arg_06));
process_exclude();
class_0A1E_slot_24(0x1000, arg_06);
class_0A0C_slot_33(0x0205, *(arg_06));
return;
set_info(0x021C, *(arg_06));
process_exclude();
class_0A1E_slot_24(0x1000, arg_06);
class_0A0C_slot_33(0x0205, *(arg_06));
return;
}

View file

@ -42,7 +42,7 @@ function lazerew_slot_20() /* entry=83 class_id=0x019C slot=0x20 */
block_0294:
block_02F0:
spawn class_0A0C_slot_32(pid, ((5 - Intrinsic0029()) * 20), 0x00000000);
spawn class_0A0C_slot_32(pid, ((5 - Game.getDifficultyLevel()) * 20), 0x00000000);
suspend;
goto block_012C;