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 lazerns_equip() /* entry=82 class_id=0x019B slot=0x0A */
{
entry:
set_info(0x0211, *(arg_06));
process_exclude();
if (Item.getFrame(arg_06) < 4) goto block_046A;
block_03C6:
if (arg_0A != 1) goto block_03E5;
block_03D4:
spawn class_019B_slot_20(arg_06);
goto block_046A;
block_03E5:
if (arg_0A > 1) goto block_044A;
block_03F3:
spawn class_019B_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_046A;
block_044A:
class_0A1E_slot_24(0x1000, arg_06);
class_0A0C_slot_33(0x0205, *(arg_06));
block_046A:
return;
set_info(0x0211, *(arg_06));
process_exclude();
if (Item.getFrame(arg_06) >= 4) {
if (arg_0A == 1) {
spawn class_019B_slot_20(arg_06);
return;
}
else if (arg_0A <= 1) {
spawn class_019B_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 lazerns_leaveFastArea() /* entry=82 class_id=0x019B 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 lazerns_slot_20() /* entry=82 class_id=0x019B slot=0x20 */
block_0294:
block_02ED:
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;