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,60 +5,36 @@ function fastskil_enterFastArea() /* entry=49 class_id=0x0120 slot=0x0F */
skill, /* [BP-02h] type=0x69 */
qLo; /* [BP-04h] type=0x69 */
entry:
set_info(0x021B, *(arg_06));
process_exclude();
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
if Item.getMapNum(arg_06) goto block_0285;
block_0120:
skill = Intrinsic0029();
if (Item.getFrame(arg_06) != 2) goto block_021F;
block_013F:
qLo = Item.getUnkEggType(arg_06);
if (skill != 1) goto block_0182;
block_0158:
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
suspend;
goto block_020C;
block_0182:
if (skill != 2) goto block_01C7;
block_018D:
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
suspend;
goto block_020C;
block_01C7:
if (skill >= 3) goto block_020C;
block_01D2:
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
suspend;
goto block_020C;
block_020C:
goto block_0292;
block_021F:
if (skill >= (Item.getFrame(arg_06) + 2)) goto block_025E;
block_0234:
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
suspend;
goto block_0285;
block_025E:
spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
suspend;
block_0285:
block_0292:
return;
set_info(0x021B, *(arg_06));
process_exclude();
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
if (!Item.getMapArray(arg_06)) {
skill = Game.getDifficultyLevel();
if (Item.getFrame(arg_06) == 2) {
qLo = Item.getQLo(arg_06);
if (skill == 1) {
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
suspend;
}
else if (skill == 2) {
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
suspend;
}
else if (skill < 3) {
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
suspend;
}
return;
}
if (skill < (Item.getFrame(arg_06) + 2)) {
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
suspend;
}
else {
spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
suspend;
}
}
return;
}