Crusader_Decomp/USECODE/EUSECODE_extracted/pseudocode/MISS3/slot_07_hatch.txt

29 lines
772 B
Text

function miss3_hatch() /* entry=355 class_id=0x090F slot=0x07 */
{
set_info(0x0210, *(arg_06));
process_exclude();
if (Egg.getEggId(arg_06) == 1) {
/* pop_global global_id=0x31 size=0x1 */
spawn FREE.slot_26(1, pid, "3g", 0x00000000);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
return;
}
else if (Egg.getEggId(arg_06) == 2) {
if (global[0x0022]) {
spawn FREE.slot_26(pid, "3i", 0x00000000);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
}
return;
}
else if (Egg.getEggId(arg_06) == 3) {
if (!(global[0x0022])) {
spawn FREE.slot_26(pid, "3h", 0x00000000);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
}
return;
}
return;
}