Pseudocode and stuff

This commit is contained in:
MaddoScientisto 2026-03-25 23:32:13 +01:00
commit ee33f94b4b
466 changed files with 27770 additions and 276 deletions

View file

@ -0,0 +1,43 @@
function alrmtrig_equip() /* entry=328 class_id=0x0581 slot=0x0A */
{
entry:
set_info(0x0211, *(arg_06));
process_exclude();
if (Item.getMapNum(arg_06) != 0) goto block_015C;
block_00FD:
if Intrinsic0000() goto block_0132;
block_0108:
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
suspend;
goto block_0159;
block_0132:
spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
suspend;
block_0159:
goto block_01C0;
block_015C:
if Intrinsic0000() goto block_0195;
block_0167:
spawn class_0A18_slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
suspend;
goto block_01C0;
block_0195:
spawn class_0A18_slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
suspend;
block_01C0:
if (arg_0A != 1) goto block_01D9;
block_01CE:
block_01D9:
return;
}