Pseudocode decompialtion improvements and docs
This commit is contained in:
parent
f869a181a3
commit
589bfc31ef
1898 changed files with 60634 additions and 6597 deletions
|
|
@ -3,14 +3,14 @@ function lift_use() /* entry=52 class_id=0x0133 slot=0x01 */
|
|||
set_info(0x0207, *(arg_06));
|
||||
process_exclude();
|
||||
if (Item.getQuality(arg_06) == 10) {
|
||||
spawn class_0133_slot_20(pid, arg_06);
|
||||
spawn LIFT.slot_20(pid, arg_06);
|
||||
suspend;
|
||||
/* global_address global_id=0x3C */
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
else if (Item.getQuality(arg_06) == 20) {
|
||||
spawn class_0133_slot_20(pid, arg_06);
|
||||
spawn LIFT.slot_20(pid, arg_06);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ function lift_gotHit() /* entry=52 class_id=0x0133 slot=0x06 */
|
|||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
item = ref;
|
||||
class_0A0C_slot_2C(vel, ref);
|
||||
FREE.slot_2C(vel, ref);
|
||||
if (!retval) {
|
||||
return;
|
||||
}
|
||||
|
|
@ -19,7 +19,7 @@ function lift_gotHit() /* entry=52 class_id=0x0133 slot=0x06 */
|
|||
else if (Item.getQuality(arg_06) == 1) {
|
||||
/* global_address global_id=0x3C */
|
||||
if (!Actor.isBusy()) {
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
/* global_address global_id=0x3C */
|
||||
|
|
@ -33,7 +33,7 @@ function lift_gotHit() /* entry=52 class_id=0x0133 slot=0x06 */
|
|||
suspend;
|
||||
/* global_address global_id=0x3C */
|
||||
suspend;
|
||||
spawn class_0133_slot_20(pid, arg_06);
|
||||
spawn LIFT.slot_20(pid, arg_06);
|
||||
suspend;
|
||||
suspend;
|
||||
suspend;
|
||||
|
|
@ -42,7 +42,7 @@ function lift_gotHit() /* entry=52 class_id=0x0133 slot=0x06 */
|
|||
else if (Item.getQuality(arg_06) == 10) {
|
||||
/* global_address global_id=0x3C */
|
||||
if (!Actor.isBusy()) {
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
/* global_address global_id=0x3C */
|
||||
|
|
@ -50,7 +50,7 @@ function lift_gotHit() /* entry=52 class_id=0x0133 slot=0x06 */
|
|||
suspend;
|
||||
/* global_address global_id=0x3C */
|
||||
suspend;
|
||||
spawn class_0133_slot_20(pid, arg_06);
|
||||
spawn LIFT.slot_20(pid, arg_06);
|
||||
suspend;
|
||||
suspend;
|
||||
/* global_address global_id=0x3C */
|
||||
|
|
|
|||
|
|
@ -6,9 +6,9 @@ function lift_enterFastArea() /* entry=52 class_id=0x0133 slot=0x0F */
|
|||
/* global_address global_id=0x3C */
|
||||
/* global_address global_id=0x3C */
|
||||
/* global_address global_id=0x3C */
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0133_slot_20(arg_06);
|
||||
spawn LIFT.slot_20(arg_06);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
|
|
@ -16,9 +16,9 @@ function lift_enterFastArea() /* entry=52 class_id=0x0133 slot=0x0F */
|
|||
/* global_address global_id=0x3C */
|
||||
/* global_address global_id=0x3C */
|
||||
/* global_address global_id=0x3C */
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0133_slot_20(arg_06);
|
||||
spawn LIFT.slot_20(arg_06);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ function lift_slot_20() /* entry=52 class_id=0x0133 slot=0x20 */
|
|||
cargo = Item.getEtherealTop();
|
||||
counter = (1 + counter);
|
||||
}
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue