Pseudocode decompialtion improvements and docs
This commit is contained in:
parent
f869a181a3
commit
589bfc31ef
1898 changed files with 60634 additions and 6597 deletions
|
|
@ -8,7 +8,7 @@ function roll_ew_hit() /* entry=326 class_id=0x056C slot=0x05 */
|
|||
set_info(0x020B, *(arg_06));
|
||||
process_exclude();
|
||||
if ((Item.getStatus(arg_06) & 0x1000) == 0) {
|
||||
spawn class_056C_slot_21(arg_06);
|
||||
spawn ROLL_EW.slot_21(arg_06);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,21 +8,21 @@ function roll_ew_gotHit() /* entry=326 class_id=0x056C slot=0x06 */
|
|||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
if ((Item.getStatus(arg_06) & 0x1000) == 0) {
|
||||
spawn class_056C_slot_21(arg_06);
|
||||
spawn ROLL_EW.slot_21(arg_06);
|
||||
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 {
|
||||
spawn class_056C_slot_20(pid, arg_06);
|
||||
spawn ROLL_EW.slot_20(pid, arg_06);
|
||||
suspend;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ function roll_ew_equip() /* entry=326 class_id=0x056C slot=0x0A */
|
|||
process_exclude();
|
||||
if (arg_0A == 1) {
|
||||
if ((Item.getStatus(arg_06) & 0x1000) == 0) {
|
||||
spawn class_056C_slot_21(arg_06);
|
||||
spawn ROLL_EW.slot_21(arg_06);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ function roll_ew_unequip() /* entry=326 class_id=0x056C slot=0x0B */
|
|||
{
|
||||
set_info(0x0212, *(arg_06));
|
||||
process_exclude();
|
||||
spawn class_056C_equip(pid, arg_0A, arg_06);
|
||||
spawn ROLL_EW.equip(pid, arg_0A, arg_06);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ function roll_ew_slot_20() /* entry=326 class_id=0x056C slot=0x20 */
|
|||
|
||||
entry:
|
||||
set_info(1, *(arg_06));
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
h = Item.getQHi(arg_06);
|
||||
if (h & 32) goto block_025C;
|
||||
|
|
@ -46,14 +46,14 @@ function roll_ew_slot_20() /* entry=326 class_id=0x056C slot=0x20 */
|
|||
goto block_0375;
|
||||
|
||||
block_0291:
|
||||
class_0A0C_slot_20(3);
|
||||
FREE.slot_20(3);
|
||||
r1 = retval;
|
||||
|
||||
block_02A0:
|
||||
if 1 goto block_02CB;
|
||||
|
||||
block_02A8:
|
||||
class_0A0C_slot_20(3);
|
||||
FREE.slot_20(3);
|
||||
r2 = retval;
|
||||
if (r2 != r1) goto block_02C8;
|
||||
|
||||
|
|
@ -68,7 +68,7 @@ function roll_ew_slot_20() /* entry=326 class_id=0x056C slot=0x20 */
|
|||
y = Item.getY(arg_06);
|
||||
z = Item.getZ(arg_06);
|
||||
qLo = Item.getQLo(arg_06);
|
||||
spawn class_0A1E_slot_2A(pid, arg_06);
|
||||
spawn ITEM.slot_2A(pid, arg_06);
|
||||
suspend;
|
||||
|
||||
block_0375:
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ function roll_ew_slot_21() /* entry=326 class_id=0x056C slot=0x21 */
|
|||
cargo = Item.getEtherealTop();
|
||||
counter = (1 + counter);
|
||||
}
|
||||
spawn class_056C_slot_20(pid, arg_06);
|
||||
spawn ROLL_EW.slot_20(pid, arg_06);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
|
|
@ -54,7 +54,7 @@ function roll_ew_slot_21() /* entry=326 class_id=0x056C slot=0x21 */
|
|||
cargo = Item.getEtherealTop();
|
||||
counter = (1 + counter);
|
||||
}
|
||||
spawn class_0A0C_slot_32(pid, time, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, time, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
}
|
||||
|
|
@ -78,7 +78,7 @@ function roll_ew_slot_21() /* entry=326 class_id=0x056C slot=0x21 */
|
|||
cargo = Item.getEtherealTop();
|
||||
counter = (1 + counter);
|
||||
}
|
||||
spawn class_056C_slot_20(pid, arg_06);
|
||||
spawn ROLL_EW.slot_20(pid, arg_06);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
|
|
@ -87,7 +87,7 @@ function roll_ew_slot_21() /* entry=326 class_id=0x056C slot=0x21 */
|
|||
cargo = Item.getEtherealTop();
|
||||
counter = (1 + counter);
|
||||
}
|
||||
spawn class_0A0C_slot_32(pid, time, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, time, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
}
|
||||
|
|
@ -106,7 +106,7 @@ function roll_ew_slot_21() /* entry=326 class_id=0x056C slot=0x21 */
|
|||
if (legalMoveToPoint(0, 0, wp, arg_06) == 0) {
|
||||
local_0F = (1 + local_0F);
|
||||
if (legalMoveToPoint(0, 0, wp, arg_06) == 0) {
|
||||
spawn class_056C_slot_20(pid, arg_06);
|
||||
spawn ROLL_EW.slot_20(pid, arg_06);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
|
|
@ -119,13 +119,13 @@ function roll_ew_slot_21() /* entry=326 class_id=0x056C slot=0x21 */
|
|||
zCheck = (zMax - local_0F);
|
||||
}
|
||||
else if (zCheck <= 12) {
|
||||
spawn class_0A0C_slot_32(pid, 6, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 6, 0x00000000);
|
||||
suspend;
|
||||
spawn class_056C_slot_20(pid, arg_06);
|
||||
spawn ROLL_EW.slot_20(pid, arg_06);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
spawn class_0A0C_slot_32(pid, time, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, time, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
return;
|
||||
|
|
@ -140,7 +140,7 @@ function roll_ew_slot_21() /* entry=326 class_id=0x056C slot=0x21 */
|
|||
if (legalMoveToPoint(0, 0, wp, arg_06) == 0) {
|
||||
local_0F = (1 + local_0F);
|
||||
if (legalMoveToPoint(0, 0, wp, arg_06) == 0) {
|
||||
spawn class_056C_slot_20(pid, arg_06);
|
||||
spawn ROLL_EW.slot_20(pid, arg_06);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
|
|
@ -153,13 +153,13 @@ function roll_ew_slot_21() /* entry=326 class_id=0x056C slot=0x21 */
|
|||
zCheck = (zMax - local_0F);
|
||||
}
|
||||
else if (zCheck <= 12) {
|
||||
spawn class_0A0C_slot_32(pid, 6, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 6, 0x00000000);
|
||||
suspend;
|
||||
spawn class_056C_slot_20(pid, arg_06);
|
||||
spawn ROLL_EW.slot_20(pid, arg_06);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
spawn class_0A0C_slot_32(pid, time, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, time, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue