Pseudocode decompialtion improvements and docs
This commit is contained in:
parent
f869a181a3
commit
589bfc31ef
1898 changed files with 60634 additions and 6597 deletions
|
|
@ -6,7 +6,7 @@ function opc_use() /* entry=220 class_id=0x03BC slot=0x01 */
|
|||
|
||||
set_info(0x0207, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A1E_slot_23(0x1000, arg_06);
|
||||
ITEM.slot_23(0x1000, arg_06);
|
||||
/* global_address global_id=0x3C */
|
||||
if (Actor.getMap() == 21) {
|
||||
/* global_address global_id=0x3C */
|
||||
|
|
@ -16,24 +16,19 @@ function opc_use() /* entry=220 class_id=0x03BC slot=0x01 */
|
|||
/* free_stack_string value_u8=0x4 target=[SP+04h] */
|
||||
suspend;
|
||||
/* pop_global global_id=0x2A size=0x1 */
|
||||
spawn class_0A0C_slot_32(1, pid, 20, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(1, pid, 20, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
|
||||
spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(pid, 0x00B4, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 0x00B4, 0x00000000);
|
||||
suspend;
|
||||
/* global_address global_id=0x3C */
|
||||
if (Actor.isDead()) {
|
||||
spawn class_0A0C_slot_26(pid, "11g", 0x00000000);
|
||||
spawn FREE.slot_26(pid, "11g", 0x00000000);
|
||||
/* free_stack_string value_u8=0x0 target=[SP+00h] */
|
||||
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 */
|
||||
while (!condition) {
|
||||
for item in nearby_items(shape=TELEPORTER_LIGHTS, origin=arg_06) {
|
||||
/* loopnext */
|
||||
}
|
||||
return;
|
||||
|
|
@ -46,15 +41,11 @@ function opc_use() /* entry=220 class_id=0x03BC slot=0x01 */
|
|||
/* free_stack_string value_u8=0x4 target=[SP+04h] */
|
||||
suspend;
|
||||
/* pop_global global_id=0x2B size=0x1 */
|
||||
spawn class_0A0C_slot_32(1, pid, 20, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(1, pid, 20, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
|
||||
spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
|
||||
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