23 lines
596 B
Text
23 lines
596 B
Text
function secrtegg_hatch() /* entry=346 class_id=0x0906 slot=0x07 */
|
|
{
|
|
var
|
|
referent, /* [BP+00h] type=0x69 */
|
|
item, /* [BP-02h] type=0x24 */
|
|
door, /* [BP-04h] type=0x24 */
|
|
id, /* [BP-06h] type=0x69 */
|
|
range; /* [BP-08h] type=0x69 */
|
|
|
|
set_info(0x0210, *(arg_06));
|
|
process_exclude();
|
|
id = 0;
|
|
range = 32;
|
|
id = Egg.getEggId(arg_06);
|
|
/* loop_selector door in selector_0x42(arg0=0x01AB, arg1=0x0393, arg2=(range * 32), origin=arg_06) */
|
|
while (!condition) {
|
|
if (id == Item.getQLo(door)) {
|
|
spawn DOOR.slot_20(door);
|
|
}
|
|
/* loopnext */
|
|
}
|
|
return;
|
|
}
|