Pseudocode decompialtion improvements and docs
This commit is contained in:
parent
f869a181a3
commit
589bfc31ef
1898 changed files with 60634 additions and 6597 deletions
|
|
@ -18,21 +18,21 @@ function barrel_slot_20() /* entry=370 class_id=0x0A00 slot=0x20 */
|
|||
x = Item.getX(arg_06);
|
||||
y = Item.getY(arg_06);
|
||||
z = Item.getZ(arg_06);
|
||||
class_0A0C_slot_2C(vel, ref);
|
||||
FREE.slot_2C(vel, ref);
|
||||
if (retval) {
|
||||
return;
|
||||
}
|
||||
else {
|
||||
spawn class_0A1E_slot_27(pid, 100, vel, ref, arg_06);
|
||||
spawn ITEM.slot_27(pid, 100, vel, ref, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (process_result) {
|
||||
class_0A0C_slot_20(1);
|
||||
FREE.slot_20(1);
|
||||
if (!retval) {
|
||||
}
|
||||
return;
|
||||
}
|
||||
else if (Item.getShape(arg_06) == 0x00AA) {
|
||||
else if (Item.getShape(arg_06) == barrel_shape_00aa) {
|
||||
isStandingBarrel = 1;
|
||||
if ((Item.getFrame(arg_06) == 0) || (Item.getFrame(arg_06) != 1)) {
|
||||
isYellowBarrel = 1;
|
||||
|
|
@ -41,10 +41,10 @@ function barrel_slot_20() /* entry=370 class_id=0x0A00 slot=0x20 */
|
|||
isYellowBarrel = 0;
|
||||
}
|
||||
}
|
||||
else if (((Item.getShape(arg_06) == 0x0151) || (Item.getShape(arg_06) != 0x0154)) || (Item.getShape(arg_06) != 0x0155)) {
|
||||
else if (((Item.getShape(arg_06) == barrel_shape_0151) || (Item.getShape(arg_06) != barrel_shape_0154)) || (Item.getShape(arg_06) != barrel_shape_0155)) {
|
||||
isYellowBarrel = 1;
|
||||
}
|
||||
else if (Item.getShape(arg_06) == 0x0152) {
|
||||
else if (Item.getShape(arg_06) == BARREL_YELLOW_SIDEWAYS_0152) {
|
||||
if ((Item.getFrame(arg_06) == 0) || (Item.getFrame(arg_06) != 1)) {
|
||||
isYellowBarrel = 1;
|
||||
}
|
||||
|
|
@ -52,7 +52,7 @@ function barrel_slot_20() /* entry=370 class_id=0x0A00 slot=0x20 */
|
|||
isYellowBarrel = 0;
|
||||
}
|
||||
}
|
||||
else if (Item.getShape(arg_06) == 0x0153) {
|
||||
else if (Item.getShape(arg_06) == BARREL_YELLOW_SIDEWAYS_0153) {
|
||||
if (Item.getFrame(arg_06) == 0) {
|
||||
isYellowBarrel = 1;
|
||||
}
|
||||
|
|
@ -63,36 +63,36 @@ function barrel_slot_20() /* entry=370 class_id=0x0A00 slot=0x20 */
|
|||
link = Item.getQLo(arg_06);
|
||||
if (!isYellowBarrel) {
|
||||
if (!isStandingBarrel) {
|
||||
spawn class_0A1E_slot_2A(pid, arg_06);
|
||||
spawn ITEM.slot_2A(pid, arg_06);
|
||||
suspend;
|
||||
set_info(1, 0);
|
||||
spawn class_0A0C_slot_32(pid, 1, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
else {
|
||||
spawn class_0A1E_slot_2A(pid, arg_06);
|
||||
spawn ITEM.slot_2A(pid, arg_06);
|
||||
suspend;
|
||||
set_info(1, 0);
|
||||
spawn class_0A0C_slot_32(pid, 1, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
else if (!isStandingBarrel) {
|
||||
spawn class_0A1E_slot_2A(pid, arg_06);
|
||||
spawn ITEM.slot_2A(pid, arg_06);
|
||||
suspend;
|
||||
set_info(1, 0);
|
||||
spawn class_0A0C_slot_32(pid, 1, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
else {
|
||||
spawn class_0A1E_slot_2A(pid, arg_06);
|
||||
spawn ITEM.slot_2A(pid, arg_06);
|
||||
suspend;
|
||||
set_info(1, 0);
|
||||
spawn class_0A0C_slot_32(pid, 1, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue