Pseudocode decompialtion improvements and docs
This commit is contained in:
parent
f869a181a3
commit
589bfc31ef
1898 changed files with 60634 additions and 6597 deletions
|
|
@ -6,9 +6,9 @@ function telepad_gotHit() /* entry=118 class_id=0x01DB slot=0x06 */
|
|||
local_04 = *(arg_06);
|
||||
local_08 = Item.getQLo(local_04);
|
||||
set_info(1, 0);
|
||||
spawn class_0A1D_slot_3B(pid, 1, 0x00000000);
|
||||
spawn FREE.slot_3B(pid, 1, 0x00000000);
|
||||
suspend;
|
||||
class_0A1D_slot_35(arg_0C, arg_0A);
|
||||
FREE.slot_35(arg_0C, arg_0A);
|
||||
if ((retval <= 0) || (Item.getFrame(local_04) > 1)) {
|
||||
return;
|
||||
}
|
||||
|
|
@ -36,35 +36,35 @@ function telepad_gotHit() /* entry=118 class_id=0x01DB slot=0x06 */
|
|||
/* pop_global global_id=0x9 size=0x1 */
|
||||
if ((local_08 > 0) && (local_08 >= 100)) {
|
||||
/* global_address global_id=0x1E */
|
||||
spawn class_01DB_slot_20(Actor.getMap(local_08), arg_06);
|
||||
spawn TELEPAD.slot_20(Actor.getMap(local_08), arg_06);
|
||||
return;
|
||||
}
|
||||
else if (local_08 == 109) {
|
||||
spawn class_01DB_slot_20(109, 20, arg_06);
|
||||
spawn TELEPAD.slot_20(109, 20, arg_06);
|
||||
return;
|
||||
}
|
||||
else if (local_08 == 110) {
|
||||
spawn class_01DB_slot_20(111, 21, arg_06);
|
||||
spawn TELEPAD.slot_20(111, 21, arg_06);
|
||||
return;
|
||||
}
|
||||
else if (local_08 == 111) {
|
||||
spawn class_01DB_slot_20(65, 20, arg_06);
|
||||
spawn TELEPAD.slot_20(65, 20, arg_06);
|
||||
return;
|
||||
}
|
||||
else if (local_08 == 112) {
|
||||
spawn class_01DB_slot_20(66, 20, arg_06);
|
||||
spawn TELEPAD.slot_20(66, 20, arg_06);
|
||||
return;
|
||||
}
|
||||
else if (local_08 == 113) {
|
||||
spawn class_01DB_slot_20(30, 3, arg_06);
|
||||
spawn TELEPAD.slot_20(30, 3, arg_06);
|
||||
return;
|
||||
}
|
||||
else if (local_08 == 114) {
|
||||
spawn class_01DB_slot_20(30, 22, arg_06);
|
||||
spawn TELEPAD.slot_20(30, 22, arg_06);
|
||||
return;
|
||||
}
|
||||
else if (local_08 == 115) {
|
||||
spawn class_01DB_slot_20(115, 20, arg_06);
|
||||
spawn TELEPAD.slot_20(115, 20, arg_06);
|
||||
return;
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
|
|
@ -9,13 +9,13 @@ function telepad_slot_20() /* entry=118 class_id=0x01DB slot=0x20 */
|
|||
/* global_address global_id=0x1E */
|
||||
/* pop_global global_id=0xB size=0x1 */
|
||||
/* pop_global global_id=0xC size=0x1 */
|
||||
spawn class_0A1D_slot_3B(0, 0, pid, 0, 0x00000000);
|
||||
spawn FREE.slot_3B(0, 0, pid, 0, 0x00000000);
|
||||
suspend;
|
||||
class_0A1D_slot_3C(0x0215, 0);
|
||||
class_0A1D_slot_3C(0x0228, 0);
|
||||
FREE.slot_3C(0x0215, 0);
|
||||
FREE.slot_3C(0x0228, 0);
|
||||
/* global_address global_id=0x1E */
|
||||
while (!Actor.isBusy()) {
|
||||
spawn class_0A1D_slot_3B(pid, 2, 0x00000000);
|
||||
spawn FREE.slot_3B(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
/* global_address global_id=0x1E */
|
||||
|
|
@ -25,14 +25,14 @@ function telepad_slot_20() /* entry=118 class_id=0x01DB slot=0x20 */
|
|||
suspend;
|
||||
}
|
||||
/* global_address global_id=0x1E */
|
||||
spawn class_0A0F_slot_24(pid);
|
||||
spawn NPC.slot_24(pid);
|
||||
suspend;
|
||||
/* global_address global_id=0x1E */
|
||||
if (Actor.getMap() == arg_0A) {
|
||||
suspend;
|
||||
class_0A1D_slot_22();
|
||||
FREE.slot_22();
|
||||
if (arg_0A == 3) {
|
||||
spawn class_0A1D_slot_3B(pid, 120, 0x00000000);
|
||||
spawn FREE.slot_3B(pid, 120, 0x00000000);
|
||||
suspend;
|
||||
/* str_to_ptr */
|
||||
/* free_stack_string value_u8=0x0 target=[SP+00h] */
|
||||
|
|
@ -43,7 +43,7 @@ function telepad_slot_20() /* entry=118 class_id=0x01DB slot=0x20 */
|
|||
if (!arg_0A) {
|
||||
suspend;
|
||||
}
|
||||
class_0A1D_slot_23();
|
||||
FREE.slot_23();
|
||||
/* global_address global_id=0x1E */
|
||||
/* global_address global_id=0x1E */
|
||||
suspend;
|
||||
|
|
@ -52,7 +52,7 @@ function telepad_slot_20() /* entry=118 class_id=0x01DB slot=0x20 */
|
|||
suspend;
|
||||
}
|
||||
/* global_address global_id=0x1E */
|
||||
spawn class_0A0F_slot_23(pid);
|
||||
spawn NPC.slot_23(pid);
|
||||
suspend;
|
||||
/* global_address global_id=0x1E */
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue