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

42 lines
954 B
Text

function special_enterFastArea() /* entry=272 class_id=0x04CA slot=0x0F */
{
var
referent, /* [BP+00h] type=0x69 */
mapNum, /* [BP-02h] type=0x69 */
npcNum; /* [BP-04h] type=0x69 */
entry:
set_info(0x021B, *(arg_06));
process_exclude();
if Item.hurl(arg_06) goto block_0732;
block_063C:
mapNum = Item.getMapNum(arg_06);
npcNum = Intrinsic00FA(arg_06);
if (mapNum != 1) goto block_06B4;
block_0663:
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
spawn class_0A18_slot_20(pid, (0x0080 + 0), *(arg_06), arg_06);
suspend;
block_06B4:
if (npcNum != 1) goto block_0710;
block_06BF:
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
spawn class_0A18_slot_20(pid, (0x0080 + 1), *(arg_06), arg_06);
suspend;
block_0710:
if ((mapNum > 2) || (npcNum > 2)) goto block_0732;
block_0724:
spawn class_04CA_slot_21(arg_06);
block_0732:
return;
}