Usecode pseudocode

This commit is contained in:
MaddoScientisto 2026-03-26 00:37:17 +01:00
commit c12bb39437
1362 changed files with 71072 additions and 38056 deletions

View file

@ -5,38 +5,26 @@ function special_enterFastArea() /* entry=272 class_id=0x04CA slot=0x0F */
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;
set_info(0x021B, *(arg_06));
process_exclude();
if (!Item.getQHi(arg_06)) {
mapNum = Item.getMapArray(arg_06);
npcNum = Item.getNPCNum(arg_06);
if (mapNum == 1) {
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
spawn class_0A18_slot_20(pid, (0x0080 + 0), *(arg_06), arg_06);
suspend;
}
if (npcNum == 1) {
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
spawn class_0A18_slot_20(pid, (0x0080 + 1), *(arg_06), arg_06);
suspend;
}
if ((mapNum <= 2) || (npcNum > 2)) {
spawn class_04CA_slot_21(arg_06);
}
}
return;
}