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

22 lines
541 B
Text

function steamegg_hatch() /* entry=369 class_id=0x091D slot=0x07 */
{
var
referent, /* [BP+00h] type=0x69 */
sBox, /* [BP-02h] type=0x24 */
id; /* [BP-04h] type=0x69 */
set_info(0x0210, *(arg_06));
process_exclude();
id = Egg.getEggId(arg_06);
/* loop_selector sBox in nearby_items(shape=0x0500, origin=arg_06) */
while (!condition) {
if (Item.getQLo(sBox) == id) {
suspend;
spawn FREE.waitNTimerTicks(pid, 0x015E, 0x00000000);
suspend;
suspend;
}
/* loopnext */
}
return;
}