Crusader_Decomp/USECODE/EUSECODE_extracted/pseudocode/MISS1EGG/slot_07_hatch.txt
2026-03-26 00:37:17 +01:00

48 lines
1.2 KiB
Text

function miss1egg_hatch() /* entry=353 class_id=0x090D slot=0x07 */
{
var
referent, /* [BP+00h] type=0x69 */
item, /* [BP-02h] type=0x24 */
pad2, /* [BP-04h] type=0x24 */
buster, /* [BP-06h] type=0x24 */
slot; /* [BP-08h] type=0x69 */
set_info(0x0210, *(arg_06));
process_exclude();
if (Egg.getEggId(arg_06) == 1) {
spawn class_090D_slot_21(arg_06);
/* global_address global_id=0x3C */
spawn class_0A11_slot_23(pid);
suspend;
return;
}
else if (Egg.getEggId(arg_06) == 2) {
if (global[0x003B]) {
/* pop_global global_id=0x3B size=0x1 */
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x3D */
/* loopscr value_u8=0x40 */
/* loopscr value_u8=0x25 */
/* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
while (!condition) {
class_0A1E_slot_23(4, buster);
spawn class_090D_slot_22(buster, arg_06);
/* loopnext */
}
}
return;
}
else if (Egg.getEggId(arg_06) == 3) {
class_0A0C_slot_41();
spawn class_090D_slot_23(pid, arg_06);
suspend;
return;
}
else if (Egg.getEggId(arg_06) == 7) {
class_0A0C_slot_41();
spawn class_090D_slot_20(pid, arg_06);
suspend;
return;
}
return;
}