Crusader_Decomp/USECODE/EUSECODE_extracted/pseudocode/SECRTEGG/slot_07_hatch.txt
2026-03-25 23:32:36 +01:00

36 lines
761 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 */
entry:
set_info(0x0210, *(arg_06));
process_exclude();
id = 0;
range = 32;
id = Intrinsic003F(arg_06);
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x42 */
/* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
block_0124:
if condition goto block_014E;
block_0127:
if (id != Item.getNpcNum(door)) goto block_014A;
block_013C:
spawn class_0A06_slot_20(door);
block_014A:
/* loopnext */
goto block_0124;
block_014E:
return;
}