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,10 @@
function dooregg_hatch() /* entry=350 class_id=0x090A slot=0x07 */
{
entry:
set_info(0x0210, *(arg_06));
process_exclude();
spawn class_090A_slot_20(pid, arg_06);
suspend;
return;
}

View file

@ -0,0 +1,10 @@
function dooregg_unhatch() /* entry=350 class_id=0x090A slot=0x15 */
{
entry:
set_info(0x0239, *(arg_06));
process_exclude();
spawn class_090A_slot_21(pid, arg_06);
suspend;
return;
}

View file

@ -0,0 +1,31 @@
function dooregg_slot_20() /* entry=350 class_id=0x090A slot=0x20 */
{
var
referent, /* [BP+00h] type=0x69 */
door; /* [BP-02h] type=0x24 */
entry:
set_info(0x0001, *(arg_06));
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x3D */
/* loopscr value_u8=0x3A */
/* loopscr value_u8=0x25 */
/* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
block_01A5:
if condition goto block_01DA;
block_01A8:
if (Item.fall(door) != Intrinsic003F(arg_06)) goto block_01D6;
block_01C4:
spawn class_0A06_slot_21(1, door);
block_01D6:
/* loopnext */
goto block_01A5;
block_01DA:
return;
}

View file

@ -0,0 +1,31 @@
function dooregg_slot_21() /* entry=350 class_id=0x090A slot=0x21 */
{
var
referent, /* [BP+00h] type=0x69 */
door; /* [BP-02h] type=0x24 */
entry:
set_info(0x0001, *(arg_06));
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x3D */
/* loopscr value_u8=0x3A */
/* loopscr value_u8=0x25 */
/* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
block_022B:
if condition goto block_0260;
block_022E:
if (Item.fall(door) != Intrinsic003F(arg_06)) goto block_025C;
block_024A:
spawn class_0A06_slot_21(2, door);
block_025C:
/* loopnext */
goto block_022B;
block_0260:
return;
}