76 lines
2 KiB
Text
76 lines
2 KiB
Text
function miss15_hatch() /* entry=367 class_id=0x091B slot=0x07 */
|
|
{
|
|
var
|
|
referent, /* [BP+00h] type=0x69 */
|
|
item, /* [BP-02h] type=0x24 */
|
|
counter, /* [BP-04h] type=0x69 */
|
|
door, /* [BP-06h] type=0x24 */
|
|
n; /* [BP-08h] type=0x24 */
|
|
|
|
set_info(0x0210, *(arg_06));
|
|
process_exclude();
|
|
if (Egg.getEggId(arg_06) == 1) {
|
|
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
|
suspend;
|
|
/* str_to_ptr */
|
|
/* free_stack_string value_u8=0x4 target=[SP+04h] */
|
|
suspend;
|
|
/* global_address global_id=0x3C */
|
|
suspend;
|
|
suspend;
|
|
/* loopscr value_u8=0x24 */
|
|
/* loopscr value_u8=0x3D */
|
|
/* loopscr value_u8=0x40 */
|
|
/* loopscr value_u8=0x25 */
|
|
/* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
|
|
while (!condition) {
|
|
spawn class_0A06_slot_21(pid, 1, door);
|
|
suspend;
|
|
/* loopnext */
|
|
}
|
|
spawn class_0A0C_slot_32(pid, 60, 0x00000000);
|
|
suspend;
|
|
/* global_address global_id=0x3C */
|
|
suspend;
|
|
/* global_address global_id=0x3C */
|
|
suspend;
|
|
/* global_address global_id=0x3C */
|
|
suspend;
|
|
/* global_address global_id=0x3C */
|
|
suspend;
|
|
/* global_address global_id=0x3C */
|
|
suspend;
|
|
return;
|
|
}
|
|
else if (Egg.getEggId(arg_06) == 2) {
|
|
spawn class_0A0C_slot_26(pid, "15c", 0x00000000);
|
|
/* free_stack_string value_u8=0x0 target=[SP+00h] */
|
|
suspend;
|
|
return;
|
|
}
|
|
else if (Egg.getEggId(arg_06) == 3) {
|
|
/* global_address global_id=0x3C */
|
|
while (!Actor.isBusy()) {
|
|
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
|
suspend;
|
|
}
|
|
class_0A0C_slot_41();
|
|
/* global_address global_id=0x3C */
|
|
suspend;
|
|
/* str_to_ptr */
|
|
/* free_stack_string value_u8=0x4 target=[SP+04h] */
|
|
suspend;
|
|
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
|
|
suspend;
|
|
/* loopscr value_u8=0x24 */
|
|
/* loopscr value_u8=0x3D */
|
|
/* loopscr value_u8=0x40 */
|
|
/* loopscr value_u8=0x25 */
|
|
/* loop current_var=0xF8 string_bytes=0x6 loop_type=0x2 */
|
|
while (!condition) {
|
|
/* loopnext */
|
|
}
|
|
return;
|
|
}
|
|
return;
|
|
}
|