Crusader_Decomp/USECODE/REGRET/DOOREGG.unk

51 lines
1.3 KiB
Text

/* synthesized appendix for DOOREGG */
/* sparse lines above preserve recovered debugger line numbers where available */
/* ===== slot 0x07 hatch ===== */
function dooregg_hatch() /* entry=429 class_id=0x090A slot=0x07 */
{
set_info(0x0210, *(arg_06));
process_exclude();
spawn DOOREGG.slot_20(pid, arg_06);
suspend;
return;
}
/* ===== slot 0x15 unhatch ===== */
function dooregg_unhatch() /* entry=429 class_id=0x090A slot=0x15 */
{
set_info(0x0239, *(arg_06));
process_exclude();
spawn DOOREGG.slot_21(pid, arg_06);
suspend;
return;
}
/* ===== slot 0x20 slot_20 ===== */
function dooregg_slot_20() /* entry=429 class_id=0x090A slot=0x20 */
{
set_info(0x0001, *(arg_06));
/* loop_selector local_02 in nearby_items(family=1, origin=arg_06) */
while (!condition) {
if (Item.getQLo(local_02) == Egg.getEggId(arg_06)) {
spawn DOOR.slot_21(1, local_02);
}
/* loopnext */
}
return;
}
/* ===== slot 0x21 slot_21 ===== */
function dooregg_slot_21() /* entry=429 class_id=0x090A slot=0x21 */
{
set_info(0x0001, *(arg_06));
/* loop_selector local_02 in nearby_items(family=1, origin=arg_06) */
while (!condition) {
if (Item.getQLo(local_02) == Egg.getEggId(arg_06)) {
spawn DOOR.slot_21(2, local_02);
}
/* loopnext */
}
return;
}