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

24 lines
617 B
Text

function miss12_hatch() /* entry=364 class_id=0x0918 slot=0x07 */
{
var
referent, /* [BP+00h] type=0x69 */
item, /* [BP-02h] type=0x24 */
id, /* [BP-04h] type=0x69 */
qlo; /* [BP-06h] type=0x69 */
set_info(0x0210, *(arg_06));
process_exclude();
id = Egg.getEggId(arg_06);
if (!id) {
if (!(global[0x002B])) {
spawn FREE.slot_26(pid, "12e", 0x00000000);
/* free_stack_string value_u8=0x0 target=[SP+00h] */
suspend;
item = *(arg_06);
qlo = Item.getQLo(item);
spawn TRIGGER.slot_20(pid, (0 + 0x0080), item, arg_06);
suspend;
}
}
return;
}