Pseudocode decompialtion improvements and docs
This commit is contained in:
parent
f869a181a3
commit
589bfc31ef
1898 changed files with 60634 additions and 6597 deletions
|
|
@ -13,83 +13,65 @@ function satarg_use() /* entry=312 class_id=0x0549 slot=0x01 */
|
|||
else {
|
||||
/* global_address global_id=0x3C */
|
||||
while (!Actor.isBusy()) {
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
/* global_address global_id=0x3C */
|
||||
/* global_address global_id=0x3C */
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(pid, 60, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
|
||||
suspend;
|
||||
/* str_to_ptr */
|
||||
/* free_stack_string value_u8=0x4 target=[SP+04h] */
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(pid, 60, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A1E_slot_28(pid, 0, 1, arg_06);
|
||||
spawn ITEM.slot_28(pid, 0, 1, arg_06);
|
||||
suspend;
|
||||
spawn class_0A0C_slot_3B(0x00000000);
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
/* loopscr value_u8=0x40 */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
|
||||
spawn FREE.slot_3B(0x00000000);
|
||||
/* loop_selector item in nearby_items(shape=NUMBERS, origin=arg_06) */
|
||||
while (!condition) {
|
||||
if (Item.getQLo(item) == 0) {
|
||||
spawn class_0A0C_slot_32(UCMachine.rndRange(pid, 30, 20), 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(UCMachine.rndRange(pid, 30, 20), 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
/* loopnext */
|
||||
}
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
/* loopscr value_u8=0x40 */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
|
||||
while (!condition) {
|
||||
spawn class_0A1E_slot_28(pid, 0, 1, item);
|
||||
for item in nearby_items(shape=0x03C1, origin=arg_06) {
|
||||
spawn ITEM.slot_28(pid, 0, 1, item);
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(UCMachine.rndRange(pid, 40, 20), 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(UCMachine.rndRange(pid, 40, 20), 0x00000000);
|
||||
suspend;
|
||||
/* loopnext */
|
||||
}
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
/* loopscr value_u8=0x40 */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
|
||||
while (!condition) {
|
||||
spawn class_0A1E_slot_28(pid, 0, 1, item);
|
||||
for item in nearby_items(shape=0x03BF, origin=arg_06) {
|
||||
spawn ITEM.slot_28(pid, 0, 1, item);
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(UCMachine.rndRange(pid, 50, 30), 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(UCMachine.rndRange(pid, 50, 30), 0x00000000);
|
||||
suspend;
|
||||
/* loopnext */
|
||||
}
|
||||
spawn class_0A0C_slot_32(pid, 0x00C8, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 0x00C8, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A0C_slot_26(pid, "15d", 0x00000000);
|
||||
spawn FREE.slot_26(pid, "15d", 0x00000000);
|
||||
/* free_stack_string value_u8=0x0 target=[SP+00h] */
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(pid, 0x00C8, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 0x00C8, 0x00000000);
|
||||
suspend;
|
||||
/* pop_global global_id=0x38 size=0x1 */
|
||||
spawn class_0A18_slot_20(1, pid, 0, *(arg_06), arg_06);
|
||||
spawn TRIGGER.slot_20(1, pid, 0, *(arg_06), arg_06);
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(pid, 0x00C8, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 0x00C8, 0x00000000);
|
||||
suspend;
|
||||
if (Game.getDifficultyLevel() <= 1) {
|
||||
spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
|
||||
spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
|
||||
suspend;
|
||||
}
|
||||
spawn class_0A0C_slot_32(pid, 0x00C8, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 0x00C8, 0x00000000);
|
||||
suspend;
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
/* loopscr value_u8=0x40 */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
|
||||
/* loop_selector item in nearby_items(shape=TELEPORTER_LIGHTS, origin=arg_06) */
|
||||
while (!condition) {
|
||||
/* loopnext */
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue