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

20 lines
492 B
Text

function bbtrip_hatch() /* entry=351 class_id=0x090B slot=0x07 */
{
var
referent, /* [BP+00h] type=0x69 */
item, /* [BP-02h] type=0x24 */
bbetty; /* [BP-04h] type=0x24 */
set_info(0x0210, *(arg_06));
process_exclude();
/* loop_selector item in nearby_items(shape=MINE_LAYER_TRAP, origin=arg_06) */
while (!condition) {
if (Item.getFrame(item)) {
bbetty = item;
spawn BBETTY.slot_20(pid, bbetty);
suspend;
}
/* loopnext */
}
return;
}