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,25 @@
function bettyup_gotHit() /* entry=151 class_id=0x02C9 slot=0x06 */
{
var
referent, /* [BP+00h] type=0x69 */
ref, /* [BP+0Ah] type=0x69 */
vel, /* [BP+0Ch] type=0x69 */
item; /* [BP-02h] type=0x24 */
entry:
set_info(0x020C, *(arg_06));
process_exclude();
spawn class_0A1E_slot_27(pid, 0x00C8, vel, ref, arg_06);
suspend;
/* dword_to_word */
if (!process_result) goto block_015A;
block_0154:
goto block_019F;
block_015A:
block_019F:
return;
}

View file

@ -0,0 +1,27 @@
function bettyup_equip() /* entry=151 class_id=0x02C9 slot=0x0A */
{
entry:
set_info(0x0211, *(arg_06));
process_exclude();
if arg_0A goto block_0230;
block_01EA:
if (Item.getStatus(arg_06) & 0x1000) goto block_0203;
block_01FD:
goto block_0261;
block_0203:
class_0A1E_slot_23(0x1000, arg_06);
spawn class_0A01_slot_20(arg_06);
goto block_0261;
block_0230:
class_0A1E_slot_24(0x1000, arg_06);
class_0A0C_slot_33(0x0205, *(arg_06));
class_0A0C_slot_33(0x00F0, *(arg_06));
block_0261:
return;
}

View file

@ -0,0 +1,9 @@
function bettyup_enterFastArea() /* entry=151 class_id=0x02C9 slot=0x0F */
{
entry:
set_info(0x021B, *(arg_06));
process_exclude();
spawn class_0A01_slot_20(arg_06);
return;
}