Crusader_Decomp/USECODE/EUSECODE_extracted/pseudocode/SECRTEGG/slot_07_hatch.txt
2026-03-26 00:37:17 +01:00

25 lines
619 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);
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x42 */
/* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
while (!condition) {
if (id == Item.getQLo(door)) {
spawn class_0A06_slot_20(door);
}
/* loopnext */
}
return;
}