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

@ -0,0 +1,7 @@
function walgunew_gotHit() /* entry=195 class_id=0x0373 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
spawn WALLGUN2.slot_21(arg_0C, arg_0A, arg_06);
return;
}

View file

@ -0,0 +1,15 @@
function walgunew_equip() /* entry=195 class_id=0x0373 slot=0x0A */
{
set_info(0x0211, *(arg_06));
process_exclude();
if (World.getControlledNPCNum() == 0) {
spawn WALLGUN.slot_24(pid, arg_0A, World.getControlledNPCNum(), arg_06);
suspend;
return;
}
else {
spawn WALLGUN.slot_24(pid, arg_0A, global[0x001E], arg_06);
suspend;
}
return;
}

View file

@ -0,0 +1,12 @@
function walgunew_unequip() /* entry=195 class_id=0x0373 slot=0x0B */
{
set_info(0x0212, *(arg_06));
process_exclude();
if (!(Item.getStatus(arg_06) & 4)) {
return;
}
else {
spawn WALLGUN.slot_27(arg_06);
}
return;
}

View file

@ -0,0 +1,12 @@
function walgunew_enterFastArea() /* entry=195 class_id=0x0373 slot=0x0F */
{
set_info(0x021B, *(arg_06));
process_exclude();
if (!(Item.getStatus(arg_06) & 4)) {
return;
}
else {
spawn WALLGUN.slot_27(arg_06);
}
return;
}

View file

@ -0,0 +1,9 @@
function walgunew_leaveFastArea() /* entry=195 class_id=0x0373 slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
/* bit_not */
FREE.slot_3C(1, *(arg_06));
FREE.slot_3C(0x020A, *(arg_06));
return;
}