Pseudocode decompialtion improvements and docs
This commit is contained in:
parent
f869a181a3
commit
589bfc31ef
1898 changed files with 60634 additions and 6597 deletions
|
|
@ -1,5 +1,5 @@
|
|||
function wallgun_slot_22() /* entry=396 class_id=0x0A1A slot=0x22 */
|
||||
{
|
||||
class_0A1A_slot_21(arg_0A, arg_06);
|
||||
WALLGUN.slot_21(arg_0A, arg_06);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
function wallgun_slot_23() /* entry=396 class_id=0x0A1A slot=0x23 */
|
||||
{
|
||||
class_0A1A_slot_20((arg_0A * 10), arg_06);
|
||||
WALLGUN.slot_20((arg_0A * 10), arg_06);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,26 +6,26 @@ function wallgun_slot_24() /* entry=396 class_id=0x0A1A slot=0x24 */
|
|||
var; /* [BP+0Ch] type=0x69 */
|
||||
|
||||
set_info(0x021B, *(arg_06));
|
||||
class_0A1A_slot_25(Item.getFrame(arg_06), Item.getShape(arg_06), arg_06);
|
||||
WALLGUN.slot_25(Item.getFrame(arg_06), Item.getShape(arg_06), arg_06);
|
||||
if ((retval == 1) || (Item.inFastArea(arg_06) != 0)) {
|
||||
return;
|
||||
}
|
||||
else if ((var >= 90) || (var > 99)) {
|
||||
class_0A0C_slot_33(1, *(arg_06));
|
||||
class_0A0C_slot_33(0x020A, *(arg_06));
|
||||
spawn class_0A1A_slot_28(var, target, arg_06);
|
||||
FREE.slot_33(1, *(arg_06));
|
||||
FREE.slot_33(0x020A, *(arg_06));
|
||||
spawn WALLGUN.slot_28(var, target, arg_06);
|
||||
return;
|
||||
}
|
||||
else if (var == 90) {
|
||||
spawn class_0A1A_slot_34(arg_06);
|
||||
spawn WALLGUN.slot_34(arg_06);
|
||||
return;
|
||||
}
|
||||
else if (var == 91) {
|
||||
spawn class_0A1A_slot_35(arg_06);
|
||||
spawn WALLGUN.slot_35(arg_06);
|
||||
return;
|
||||
}
|
||||
else if (var == 92) {
|
||||
spawn class_0A1A_slot_4A(target, arg_06);
|
||||
spawn WALLGUN.slot_4A(target, arg_06);
|
||||
return;
|
||||
}
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ function wallgun_slot_26() /* entry=396 class_id=0x0A1A slot=0x26 */
|
|||
{
|
||||
set_info(0x0001, *(arg_06));
|
||||
while (Item.isOnScreen(arg_06) == 0) {
|
||||
spawn class_0A0C_slot_32(pid, 20, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 20, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -1,21 +1,21 @@
|
|||
function wallgun_slot_27() /* entry=396 class_id=0x0A1A slot=0x27 */
|
||||
{
|
||||
set_info(0x0001, *(arg_06));
|
||||
class_0A1A_slot_25(Item.getFrame(arg_06), Item.getShape(arg_06), arg_06);
|
||||
WALLGUN.slot_25(Item.getFrame(arg_06), Item.getShape(arg_06), arg_06);
|
||||
if (!retval) {
|
||||
return;
|
||||
}
|
||||
else {
|
||||
class_0A1A_slot_29(arg_06);
|
||||
WALLGUN.slot_29(arg_06);
|
||||
if (!retval) {
|
||||
}
|
||||
if (getTargetNPCNumMaybe() == 0) {
|
||||
spawn class_0A1A_slot_28(pid, Item.getNPCNum(arg_06), getTargetNPCNumMaybe(), arg_06);
|
||||
spawn WALLGUN.slot_28(pid, Item.getNPCNum(arg_06), getTargetNPCNumMaybe(), arg_06);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
else {
|
||||
spawn class_0A1A_slot_28(pid, Item.getNPCNum(arg_06), global[0x003C], arg_06);
|
||||
spawn WALLGUN.slot_28(pid, Item.getNPCNum(arg_06), global[0x003C], arg_06);
|
||||
suspend;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ function wallgun_slot_28() /* entry=396 class_id=0x0A1A slot=0x28 */
|
|||
goto block_0BFE;
|
||||
|
||||
block_0734:
|
||||
class_0A1A_slot_25(Item.getFrame(arg_06), Item.getShape(arg_06), arg_06);
|
||||
WALLGUN.slot_25(Item.getFrame(arg_06), Item.getShape(arg_06), arg_06);
|
||||
if (retval != 1) goto block_075F;
|
||||
|
||||
block_0759:
|
||||
|
|
@ -37,12 +37,12 @@ function wallgun_slot_28() /* entry=396 class_id=0x0A1A slot=0x28 */
|
|||
if 1 goto block_0BFE;
|
||||
|
||||
block_0767:
|
||||
spawn class_0A1A_slot_26(pid, arg_06);
|
||||
spawn WALLGUN.slot_26(pid, arg_06);
|
||||
suspend;
|
||||
if (brain != 7) goto block_07B0;
|
||||
|
||||
block_078E:
|
||||
spawn class_0A1A_slot_36(pid, arg_06);
|
||||
spawn WALLGUN.slot_36(pid, arg_06);
|
||||
suspend;
|
||||
goto block_0BD5;
|
||||
|
||||
|
|
@ -50,7 +50,7 @@ function wallgun_slot_28() /* entry=396 class_id=0x0A1A slot=0x28 */
|
|||
if (brain != 9) goto block_07DA;
|
||||
|
||||
block_07B8:
|
||||
spawn class_0A1A_slot_37(pid, arg_06);
|
||||
spawn WALLGUN.slot_37(pid, arg_06);
|
||||
suspend;
|
||||
goto block_0BD5;
|
||||
|
||||
|
|
@ -58,7 +58,7 @@ function wallgun_slot_28() /* entry=396 class_id=0x0A1A slot=0x28 */
|
|||
if (brain != 8) goto block_0808;
|
||||
|
||||
block_07E2:
|
||||
spawn class_0A1A_slot_32(pid, target, arg_06);
|
||||
spawn WALLGUN.slot_32(pid, target, arg_06);
|
||||
suspend;
|
||||
goto block_0BD5;
|
||||
|
||||
|
|
@ -66,7 +66,7 @@ function wallgun_slot_28() /* entry=396 class_id=0x0A1A slot=0x28 */
|
|||
if (brain != 10) goto block_0836;
|
||||
|
||||
block_0810:
|
||||
spawn class_0A1A_slot_33(pid, target, arg_06);
|
||||
spawn WALLGUN.slot_33(pid, target, arg_06);
|
||||
suspend;
|
||||
goto block_0BD5;
|
||||
|
||||
|
|
@ -87,13 +87,13 @@ function wallgun_slot_28() /* entry=396 class_id=0x0A1A slot=0x28 */
|
|||
target = 1;
|
||||
|
||||
block_086B:
|
||||
spawn class_0A1A_slot_3C(pid, brain, target, arg_06);
|
||||
spawn WALLGUN.slot_3C(pid, brain, target, arg_06);
|
||||
suspend;
|
||||
spawn class_0A1A_slot_2F(pid, brain, target, arg_06);
|
||||
spawn WALLGUN.slot_2F(pid, brain, target, arg_06);
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(pid, 3, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 3, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A1A_slot_26(pid, arg_06);
|
||||
spawn WALLGUN.slot_26(pid, arg_06);
|
||||
suspend;
|
||||
goto block_083E;
|
||||
|
||||
|
|
@ -114,7 +114,7 @@ function wallgun_slot_28() /* entry=396 class_id=0x0A1A slot=0x28 */
|
|||
target = 1;
|
||||
|
||||
block_092D:
|
||||
spawn class_0A1A_slot_3D(pid, brain, target, arg_06);
|
||||
spawn WALLGUN.slot_3D(pid, brain, target, arg_06);
|
||||
suspend;
|
||||
goto block_0BD5;
|
||||
|
||||
|
|
@ -135,9 +135,9 @@ function wallgun_slot_28() /* entry=396 class_id=0x0A1A slot=0x28 */
|
|||
target = 1;
|
||||
|
||||
block_098A:
|
||||
spawn class_0A1A_slot_26(pid, arg_06);
|
||||
spawn WALLGUN.slot_26(pid, arg_06);
|
||||
suspend;
|
||||
spawn class_0A1A_slot_31(pid, brain, target, arg_06);
|
||||
spawn WALLGUN.slot_31(pid, brain, target, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if process_result goto block_09D9;
|
||||
|
|
@ -149,7 +149,7 @@ function wallgun_slot_28() /* entry=396 class_id=0x0A1A slot=0x28 */
|
|||
goto block_095D;
|
||||
|
||||
block_09DC:
|
||||
spawn class_0A1A_slot_3D(pid, brain, target, arg_06);
|
||||
spawn WALLGUN.slot_3D(pid, brain, target, arg_06);
|
||||
suspend;
|
||||
goto block_0BD5;
|
||||
|
||||
|
|
@ -157,7 +157,7 @@ function wallgun_slot_28() /* entry=396 class_id=0x0A1A slot=0x28 */
|
|||
if (brain != 5) goto block_0A35;
|
||||
|
||||
block_0A0C:
|
||||
spawn class_0A0C_slot_32(pid, 60, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
|
||||
suspend;
|
||||
goto block_0BD5;
|
||||
|
||||
|
|
@ -165,7 +165,7 @@ function wallgun_slot_28() /* entry=396 class_id=0x0A1A slot=0x28 */
|
|||
if (brain != 12) goto block_0A63;
|
||||
|
||||
block_0A3D:
|
||||
spawn class_0A1A_slot_38(pid, target, arg_06);
|
||||
spawn WALLGUN.slot_38(pid, target, arg_06);
|
||||
suspend;
|
||||
goto block_0BD5;
|
||||
|
||||
|
|
@ -173,7 +173,7 @@ function wallgun_slot_28() /* entry=396 class_id=0x0A1A slot=0x28 */
|
|||
if (brain != 13) goto block_0A91;
|
||||
|
||||
block_0A6B:
|
||||
spawn class_0A1A_slot_39(pid, target, arg_06);
|
||||
spawn WALLGUN.slot_39(pid, target, arg_06);
|
||||
suspend;
|
||||
goto block_0BD5;
|
||||
|
||||
|
|
@ -181,7 +181,7 @@ function wallgun_slot_28() /* entry=396 class_id=0x0A1A slot=0x28 */
|
|||
if (brain != 14) goto block_0ABF;
|
||||
|
||||
block_0A99:
|
||||
spawn class_0A1A_slot_3A(pid, target, arg_06);
|
||||
spawn WALLGUN.slot_3A(pid, target, arg_06);
|
||||
suspend;
|
||||
goto block_0BD5;
|
||||
|
||||
|
|
@ -189,7 +189,7 @@ function wallgun_slot_28() /* entry=396 class_id=0x0A1A slot=0x28 */
|
|||
if (brain != 15) goto block_0AED;
|
||||
|
||||
block_0AC7:
|
||||
spawn class_0A1A_slot_3B(pid, target, arg_06);
|
||||
spawn WALLGUN.slot_3B(pid, target, arg_06);
|
||||
suspend;
|
||||
goto block_0BD5;
|
||||
|
||||
|
|
@ -204,18 +204,18 @@ function wallgun_slot_28() /* entry=396 class_id=0x0A1A slot=0x28 */
|
|||
target = 1;
|
||||
|
||||
block_0B12:
|
||||
spawn class_0A1A_slot_31(pid, brain, target, arg_06);
|
||||
spawn WALLGUN.slot_31(pid, brain, target, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if process_result goto block_0B64;
|
||||
|
||||
block_0B3C:
|
||||
spawn class_0A1A_slot_3D(pid, brain, target, arg_06);
|
||||
spawn WALLGUN.slot_3D(pid, brain, target, arg_06);
|
||||
suspend;
|
||||
goto block_0BD5;
|
||||
|
||||
block_0B64:
|
||||
class_0A1A_slot_20(arg_06);
|
||||
WALLGUN.slot_20(arg_06);
|
||||
delay = retval;
|
||||
if (delay != 0) goto block_0B82;
|
||||
|
||||
|
|
@ -232,11 +232,11 @@ function wallgun_slot_28() /* entry=396 class_id=0x0A1A slot=0x28 */
|
|||
delay = (delay - 1);
|
||||
delay = (delay * 30);
|
||||
delay = (delay + 120);
|
||||
spawn class_0A0C_slot_32(pid, delay, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
|
||||
suspend;
|
||||
|
||||
block_0BD5:
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
goto block_075F;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
function wallgun_slot_2C() /* entry=396 class_id=0x0A1A slot=0x2C */
|
||||
{
|
||||
class_0A1A_slot_2A(arg_06);
|
||||
class_0A1A_slot_2B((retval != 1), arg_06);
|
||||
class_0A1A_slot_29((retval != 1), arg_06);
|
||||
WALLGUN.slot_2A(arg_06);
|
||||
WALLGUN.slot_2B((retval != 1), arg_06);
|
||||
WALLGUN.slot_29((retval != 1), arg_06);
|
||||
if (retval == 1) {
|
||||
return;
|
||||
}
|
||||
else {
|
||||
class_0A1A_slot_2A(arg_06);
|
||||
WALLGUN.slot_2A(arg_06);
|
||||
if (!retval) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,14 +11,14 @@ function wallgun_slot_2D() /* entry=396 class_id=0x0A1A slot=0x2D */
|
|||
|
||||
targItem = target;
|
||||
coordToCoordDir = Item.getDirFromTo16(Item.getY(targItem), Item.getX(targItem), Item.getY(arg_06), Item.getX(arg_06));
|
||||
class_0A1A_slot_2C(arg_06);
|
||||
WALLGUN.slot_2C(arg_06);
|
||||
if (retval == coordToCoordDir) {
|
||||
return;
|
||||
}
|
||||
else {
|
||||
class_0A1A_slot_29(arg_06);
|
||||
WALLGUN.slot_29(arg_06);
|
||||
if (!retval) {
|
||||
class_0A1A_slot_2C(arg_06);
|
||||
WALLGUN.slot_2C(arg_06);
|
||||
dir = retval;
|
||||
left = 0;
|
||||
right = 0;
|
||||
|
|
@ -31,7 +31,7 @@ function wallgun_slot_2D() /* entry=396 class_id=0x0A1A slot=0x2D */
|
|||
dir = (dir - 1);
|
||||
}
|
||||
}
|
||||
class_0A1A_slot_2C(arg_06);
|
||||
WALLGUN.slot_2C(arg_06);
|
||||
dir = retval;
|
||||
while ((dir == coordToCoordDir) && (right < 15)) {
|
||||
right = (1 + right);
|
||||
|
|
@ -47,11 +47,11 @@ function wallgun_slot_2D() /* entry=396 class_id=0x0A1A slot=0x2D */
|
|||
}
|
||||
}
|
||||
else {
|
||||
class_0A1A_slot_2A(arg_06);
|
||||
WALLGUN.slot_2A(arg_06);
|
||||
if (((retval == 1) && (coordToCoordDir >= 13)) && (coordToCoordDir <= 15)) {
|
||||
return;
|
||||
}
|
||||
class_0A1A_slot_2C(arg_06);
|
||||
WALLGUN.slot_2C(arg_06);
|
||||
if (retval <= coordToCoordDir) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,20 +12,20 @@ function wallgun_slot_2E() /* entry=396 class_id=0x0A1A slot=0x2E */
|
|||
dir, /* [BP-0Bh] type=0x62 */
|
||||
targetNpc; /* [BP-0Dh] type=0x24 */
|
||||
|
||||
class_0A1A_slot_2C(arg_06);
|
||||
WALLGUN.slot_2C(arg_06);
|
||||
dir = retval;
|
||||
class_0A1A_slot_3E(dir, arg_06);
|
||||
WALLGUN.slot_3E(dir, arg_06);
|
||||
x1 = retval;
|
||||
class_0A1A_slot_3F(dir, arg_06);
|
||||
WALLGUN.slot_3F(dir, arg_06);
|
||||
y1 = retval;
|
||||
class_0A1A_slot_40(dir, arg_06);
|
||||
WALLGUN.slot_40(dir, arg_06);
|
||||
z1 = retval;
|
||||
targetNpc = target;
|
||||
if (!Actor.isDead(targetNpc)) {
|
||||
return;
|
||||
}
|
||||
else {
|
||||
class_0A1A_slot_2D(target, arg_06);
|
||||
WALLGUN.slot_2D(target, arg_06);
|
||||
if (retval) {
|
||||
if (Item.getNPCNum(arg_06) <= 99) {
|
||||
return;
|
||||
|
|
@ -33,13 +33,13 @@ function wallgun_slot_2E() /* entry=396 class_id=0x0A1A slot=0x2E */
|
|||
if (!Item.getQHi(z1, y1, x1, dir, target, arg_06)) {
|
||||
return;
|
||||
}
|
||||
class_0A1A_slot_29(arg_06);
|
||||
WALLGUN.slot_29(arg_06);
|
||||
if (!retval) {
|
||||
class_0A1A_slot_41(dir, arg_06);
|
||||
WALLGUN.slot_41(dir, arg_06);
|
||||
x2 = retval;
|
||||
class_0A1A_slot_42(dir, arg_06);
|
||||
WALLGUN.slot_42(dir, arg_06);
|
||||
y2 = retval;
|
||||
class_0A1A_slot_43(dir, arg_06);
|
||||
WALLGUN.slot_43(dir, arg_06);
|
||||
z2 = retval;
|
||||
if (!Item.getQHi(z2, y2, x2, dir, target, arg_06)) {
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ function wallgun_slot_2F() /* entry=396 class_id=0x0A1A slot=0x2F */
|
|||
dist; /* [BP-06h] type=0x69 */
|
||||
|
||||
set_info(0x0001, *(arg_06));
|
||||
class_0A1A_slot_20(arg_06);
|
||||
WALLGUN.slot_20(arg_06);
|
||||
delay = retval;
|
||||
if (delay) {
|
||||
delay = 3;
|
||||
|
|
@ -19,11 +19,11 @@ function wallgun_slot_2F() /* entry=396 class_id=0x0A1A slot=0x2F */
|
|||
}
|
||||
delay = (delay * 5);
|
||||
while (!delay) {
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
class_0A1A_slot_2E(target, arg_06);
|
||||
WALLGUN.slot_2E(target, arg_06);
|
||||
cs = retval;
|
||||
class_0A0C_slot_29(*(arg_06), target);
|
||||
FREE.slot_29(*(arg_06), target);
|
||||
dist = retval;
|
||||
if ((((brain == 4) && (cs != 1)) && (dist <= 20)) || (((brain != 4) && (cs != 1)) && (dist <= 46))) {
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ function wallgun_slot_30() /* entry=396 class_id=0x0A1A slot=0x30 */
|
|||
delay; /* [BP-02h] type=0x69 */
|
||||
|
||||
set_info(0x0001, *(arg_06));
|
||||
class_0A1A_slot_21(arg_06);
|
||||
WALLGUN.slot_21(arg_06);
|
||||
delay = retval;
|
||||
if (delay) {
|
||||
delay = 3;
|
||||
|
|
@ -14,7 +14,7 @@ function wallgun_slot_30() /* entry=396 class_id=0x0A1A slot=0x30 */
|
|||
delay = 5;
|
||||
}
|
||||
delay = (delay * 8);
|
||||
spawn class_0A0C_slot_32(pid, delay, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ function wallgun_slot_31() /* entry=396 class_id=0x0A1A slot=0x31 */
|
|||
set_info(0x0001, *(arg_06));
|
||||
panRight = 1;
|
||||
panLeft = 1;
|
||||
class_0A1A_slot_29(arg_06);
|
||||
WALLGUN.slot_29(arg_06);
|
||||
isTurret = retval;
|
||||
if (isTurret != 1) goto block_134E;
|
||||
|
||||
|
|
@ -27,7 +27,7 @@ function wallgun_slot_31() /* entry=396 class_id=0x0A1A slot=0x31 */
|
|||
goto block_138B;
|
||||
|
||||
block_134E:
|
||||
class_0A1A_slot_2B(arg_06);
|
||||
WALLGUN.slot_2B(arg_06);
|
||||
if retval goto block_1376;
|
||||
|
||||
block_135E:
|
||||
|
|
@ -42,7 +42,7 @@ function wallgun_slot_31() /* entry=396 class_id=0x0A1A slot=0x31 */
|
|||
right = 0;
|
||||
|
||||
block_138B:
|
||||
class_0A1A_slot_2E(target, arg_06);
|
||||
WALLGUN.slot_2E(target, arg_06);
|
||||
if retval goto block_13E5;
|
||||
|
||||
block_139D:
|
||||
|
|
@ -57,7 +57,7 @@ function wallgun_slot_31() /* entry=396 class_id=0x0A1A slot=0x31 */
|
|||
goto block_13E5;
|
||||
|
||||
block_13BB:
|
||||
class_0A0C_slot_29(target, *(arg_06));
|
||||
FREE.slot_29(target, *(arg_06));
|
||||
if (retval <= 20) goto block_13E5;
|
||||
|
||||
block_13D8:
|
||||
|
|
@ -72,7 +72,7 @@ function wallgun_slot_31() /* entry=396 class_id=0x0A1A slot=0x31 */
|
|||
if 1 goto block_15FA;
|
||||
|
||||
block_13ED:
|
||||
spawn class_0A1A_slot_26(pid, arg_06);
|
||||
spawn WALLGUN.slot_26(pid, arg_06);
|
||||
suspend;
|
||||
f = Item.getFrame(arg_06);
|
||||
if (isTurret != 1) goto block_145F;
|
||||
|
|
@ -81,7 +81,7 @@ function wallgun_slot_31() /* entry=396 class_id=0x0A1A slot=0x31 */
|
|||
if (f > 19) goto block_145C;
|
||||
|
||||
block_1430:
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
goto block_13E5;
|
||||
|
||||
|
|
@ -92,7 +92,7 @@ function wallgun_slot_31() /* entry=396 class_id=0x0A1A slot=0x31 */
|
|||
if (f > 8) goto block_1499;
|
||||
|
||||
block_146A:
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
goto block_13E5;
|
||||
|
||||
|
|
@ -163,9 +163,9 @@ function wallgun_slot_31() /* entry=396 class_id=0x0A1A slot=0x31 */
|
|||
f = (f + inc);
|
||||
|
||||
block_155E:
|
||||
spawn class_0A1A_slot_2F(pid, brain, target, arg_06);
|
||||
spawn WALLGUN.slot_2F(pid, brain, target, arg_06);
|
||||
suspend;
|
||||
class_0A1A_slot_2E(target, arg_06);
|
||||
WALLGUN.slot_2E(target, arg_06);
|
||||
if retval goto block_15F7;
|
||||
|
||||
block_15AF:
|
||||
|
|
@ -180,7 +180,7 @@ function wallgun_slot_31() /* entry=396 class_id=0x0A1A slot=0x31 */
|
|||
goto block_15F7;
|
||||
|
||||
block_15CD:
|
||||
class_0A0C_slot_29(target, *(arg_06));
|
||||
FREE.slot_29(target, *(arg_06));
|
||||
if (retval <= 20) goto block_15F7;
|
||||
|
||||
block_15EA:
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ function wallgun_slot_32() /* entry=396 class_id=0x0A1A slot=0x32 */
|
|||
set_info(0x0001, *(arg_06));
|
||||
panRight = 1;
|
||||
panLeft = 1;
|
||||
class_0A1A_slot_29(arg_06);
|
||||
WALLGUN.slot_29(arg_06);
|
||||
isTurret = retval;
|
||||
if (isTurret != 1) goto block_16C5;
|
||||
|
||||
|
|
@ -27,7 +27,7 @@ function wallgun_slot_32() /* entry=396 class_id=0x0A1A slot=0x32 */
|
|||
goto block_1702;
|
||||
|
||||
block_16C5:
|
||||
class_0A1A_slot_2B(arg_06);
|
||||
WALLGUN.slot_2B(arg_06);
|
||||
if retval goto block_16ED;
|
||||
|
||||
block_16D5:
|
||||
|
|
@ -42,14 +42,14 @@ function wallgun_slot_32() /* entry=396 class_id=0x0A1A slot=0x32 */
|
|||
right = 0;
|
||||
|
||||
block_1702:
|
||||
class_0A1A_slot_20(arg_06);
|
||||
WALLGUN.slot_20(arg_06);
|
||||
delay = (retval * 5);
|
||||
|
||||
block_1714:
|
||||
if 1 goto block_18F9;
|
||||
|
||||
block_171C:
|
||||
spawn class_0A1A_slot_26(pid, arg_06);
|
||||
spawn WALLGUN.slot_26(pid, arg_06);
|
||||
suspend;
|
||||
f = Item.getFrame(arg_06);
|
||||
if (isTurret != 1) goto block_178E;
|
||||
|
|
@ -58,7 +58,7 @@ function wallgun_slot_32() /* entry=396 class_id=0x0A1A slot=0x32 */
|
|||
if (f > 19) goto block_178B;
|
||||
|
||||
block_175F:
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
goto block_1714;
|
||||
|
||||
|
|
@ -69,7 +69,7 @@ function wallgun_slot_32() /* entry=396 class_id=0x0A1A slot=0x32 */
|
|||
if (f > 8) goto block_17C8;
|
||||
|
||||
block_1799:
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
goto block_1714;
|
||||
|
||||
|
|
@ -131,13 +131,13 @@ function wallgun_slot_32() /* entry=396 class_id=0x0A1A slot=0x32 */
|
|||
panLeft = 1;
|
||||
|
||||
block_1881:
|
||||
spawn class_0A0C_slot_32(pid, delay, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
|
||||
suspend;
|
||||
class_0A1A_slot_2E(target, arg_06);
|
||||
WALLGUN.slot_2E(target, arg_06);
|
||||
if retval goto block_18F6;
|
||||
|
||||
block_18D3:
|
||||
spawn class_0A1A_slot_46(pid, target, arg_06);
|
||||
spawn WALLGUN.slot_46(pid, target, arg_06);
|
||||
suspend;
|
||||
|
||||
block_18F6:
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ function wallgun_slot_33() /* entry=396 class_id=0x0A1A slot=0x33 */
|
|||
set_info(0x0001, *(arg_06));
|
||||
panRight = 1;
|
||||
panLeft = 1;
|
||||
class_0A1A_slot_29(arg_06);
|
||||
WALLGUN.slot_29(arg_06);
|
||||
isTurret = retval;
|
||||
if (isTurret != 1) goto block_19C4;
|
||||
|
||||
|
|
@ -27,7 +27,7 @@ function wallgun_slot_33() /* entry=396 class_id=0x0A1A slot=0x33 */
|
|||
goto block_1A01;
|
||||
|
||||
block_19C4:
|
||||
class_0A1A_slot_2B(arg_06);
|
||||
WALLGUN.slot_2B(arg_06);
|
||||
if retval goto block_19EC;
|
||||
|
||||
block_19D4:
|
||||
|
|
@ -42,14 +42,14 @@ function wallgun_slot_33() /* entry=396 class_id=0x0A1A slot=0x33 */
|
|||
right = 0;
|
||||
|
||||
block_1A01:
|
||||
class_0A1A_slot_20(arg_06);
|
||||
WALLGUN.slot_20(arg_06);
|
||||
delay = (retval * 5);
|
||||
|
||||
block_1A13:
|
||||
if 1 goto block_1BFB;
|
||||
|
||||
block_1A1B:
|
||||
spawn class_0A1A_slot_26(pid, arg_06);
|
||||
spawn WALLGUN.slot_26(pid, arg_06);
|
||||
suspend;
|
||||
f = Item.getFrame(arg_06);
|
||||
if (isTurret != 1) goto block_1A8D;
|
||||
|
|
@ -58,7 +58,7 @@ function wallgun_slot_33() /* entry=396 class_id=0x0A1A slot=0x33 */
|
|||
if (f > 19) goto block_1A8A;
|
||||
|
||||
block_1A5E:
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
goto block_1A13;
|
||||
|
||||
|
|
@ -69,7 +69,7 @@ function wallgun_slot_33() /* entry=396 class_id=0x0A1A slot=0x33 */
|
|||
if (f > 8) goto block_1AC7;
|
||||
|
||||
block_1A98:
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
goto block_1A13;
|
||||
|
||||
|
|
@ -129,15 +129,15 @@ function wallgun_slot_33() /* entry=396 class_id=0x0A1A slot=0x33 */
|
|||
}
|
||||
|
||||
block_1B83:
|
||||
class_0A1A_slot_2E(target, arg_06);
|
||||
WALLGUN.slot_2E(target, arg_06);
|
||||
if retval goto block_1BD2;
|
||||
|
||||
block_1BAF:
|
||||
spawn class_0A1A_slot_46(pid, target, arg_06);
|
||||
spawn WALLGUN.slot_46(pid, target, arg_06);
|
||||
suspend;
|
||||
|
||||
block_1BD2:
|
||||
spawn class_0A0C_slot_32(pid, delay, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
|
||||
suspend;
|
||||
goto block_1A13;
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ function wallgun_slot_34() /* entry=396 class_id=0x0A1A slot=0x34 */
|
|||
entry:
|
||||
set_info(0x0001, *(arg_06));
|
||||
panRight = 1;
|
||||
class_0A1A_slot_29(arg_06);
|
||||
WALLGUN.slot_29(arg_06);
|
||||
isTurret = retval;
|
||||
if (isTurret != 1) goto block_1CBF;
|
||||
|
||||
|
|
@ -24,7 +24,7 @@ function wallgun_slot_34() /* entry=396 class_id=0x0A1A slot=0x34 */
|
|||
goto block_1CFC;
|
||||
|
||||
block_1CBF:
|
||||
class_0A1A_slot_2B(arg_06);
|
||||
WALLGUN.slot_2B(arg_06);
|
||||
if retval goto block_1CE7;
|
||||
|
||||
block_1CCF:
|
||||
|
|
@ -39,7 +39,7 @@ function wallgun_slot_34() /* entry=396 class_id=0x0A1A slot=0x34 */
|
|||
right = 0;
|
||||
|
||||
block_1CFC:
|
||||
class_0A1A_slot_20(arg_06);
|
||||
WALLGUN.slot_20(arg_06);
|
||||
delay = (retval * 5);
|
||||
|
||||
block_1D0E:
|
||||
|
|
@ -53,7 +53,7 @@ function wallgun_slot_34() /* entry=396 class_id=0x0A1A slot=0x34 */
|
|||
if (f > 19) goto block_1D66;
|
||||
|
||||
block_1D3A:
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
goto block_1D0E;
|
||||
|
||||
|
|
@ -64,7 +64,7 @@ function wallgun_slot_34() /* entry=396 class_id=0x0A1A slot=0x34 */
|
|||
if (f > 8) goto block_1DA3;
|
||||
|
||||
block_1D74:
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
goto block_1D0E;
|
||||
|
||||
|
|
@ -103,7 +103,7 @@ function wallgun_slot_34() /* entry=396 class_id=0x0A1A slot=0x34 */
|
|||
}
|
||||
|
||||
block_1E15:
|
||||
spawn class_0A0C_slot_32(pid, delay, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
|
||||
suspend;
|
||||
goto block_1E5E;
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ function wallgun_slot_35() /* entry=396 class_id=0x0A1A slot=0x35 */
|
|||
entry:
|
||||
set_info(0x0001, *(arg_06));
|
||||
panLeft = 1;
|
||||
class_0A1A_slot_29(arg_06);
|
||||
WALLGUN.slot_29(arg_06);
|
||||
isTurret = retval;
|
||||
if (isTurret != 1) goto block_1F0B;
|
||||
|
||||
|
|
@ -24,7 +24,7 @@ function wallgun_slot_35() /* entry=396 class_id=0x0A1A slot=0x35 */
|
|||
goto block_1F48;
|
||||
|
||||
block_1F0B:
|
||||
class_0A1A_slot_2B(arg_06);
|
||||
WALLGUN.slot_2B(arg_06);
|
||||
if retval goto block_1F33;
|
||||
|
||||
block_1F1B:
|
||||
|
|
@ -39,7 +39,7 @@ function wallgun_slot_35() /* entry=396 class_id=0x0A1A slot=0x35 */
|
|||
right = 0;
|
||||
|
||||
block_1F48:
|
||||
class_0A1A_slot_20(arg_06);
|
||||
WALLGUN.slot_20(arg_06);
|
||||
delay = (retval * 5);
|
||||
|
||||
block_1F5A:
|
||||
|
|
@ -53,7 +53,7 @@ function wallgun_slot_35() /* entry=396 class_id=0x0A1A slot=0x35 */
|
|||
if (f > 19) goto block_1FB2;
|
||||
|
||||
block_1F86:
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
goto block_1F5A;
|
||||
|
||||
|
|
@ -64,7 +64,7 @@ function wallgun_slot_35() /* entry=396 class_id=0x0A1A slot=0x35 */
|
|||
if (f > 8) goto block_1FEF;
|
||||
|
||||
block_1FC0:
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
goto block_1F5A;
|
||||
|
||||
|
|
@ -103,7 +103,7 @@ function wallgun_slot_35() /* entry=396 class_id=0x0A1A slot=0x35 */
|
|||
}
|
||||
|
||||
block_2064:
|
||||
spawn class_0A0C_slot_32(pid, delay, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
|
||||
suspend;
|
||||
goto block_20AD;
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ function wallgun_slot_36() /* entry=396 class_id=0x0A1A slot=0x36 */
|
|||
set_info(0x0001, *(arg_06));
|
||||
panRight = 1;
|
||||
panLeft = 1;
|
||||
class_0A1A_slot_29(arg_06);
|
||||
WALLGUN.slot_29(arg_06);
|
||||
isTurret = retval;
|
||||
if (isTurret != 1) goto block_2160;
|
||||
|
||||
|
|
@ -26,7 +26,7 @@ function wallgun_slot_36() /* entry=396 class_id=0x0A1A slot=0x36 */
|
|||
goto block_219D;
|
||||
|
||||
block_2160:
|
||||
class_0A1A_slot_2B(arg_06);
|
||||
WALLGUN.slot_2B(arg_06);
|
||||
if retval goto block_2188;
|
||||
|
||||
block_2170:
|
||||
|
|
@ -41,14 +41,14 @@ function wallgun_slot_36() /* entry=396 class_id=0x0A1A slot=0x36 */
|
|||
right = 0;
|
||||
|
||||
block_219D:
|
||||
class_0A1A_slot_20(arg_06);
|
||||
WALLGUN.slot_20(arg_06);
|
||||
delay = (retval * 5);
|
||||
|
||||
block_21AF:
|
||||
if 1 goto block_235F;
|
||||
|
||||
block_21B7:
|
||||
spawn class_0A1A_slot_26(pid, arg_06);
|
||||
spawn WALLGUN.slot_26(pid, arg_06);
|
||||
suspend;
|
||||
f = Item.getFrame(arg_06);
|
||||
if (isTurret != 1) goto block_2229;
|
||||
|
|
@ -57,7 +57,7 @@ function wallgun_slot_36() /* entry=396 class_id=0x0A1A slot=0x36 */
|
|||
if (f > 19) goto block_2226;
|
||||
|
||||
block_21FA:
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
goto block_21AF;
|
||||
|
||||
|
|
@ -68,7 +68,7 @@ function wallgun_slot_36() /* entry=396 class_id=0x0A1A slot=0x36 */
|
|||
if (f > 8) goto block_2263;
|
||||
|
||||
block_2234:
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
goto block_21AF;
|
||||
|
||||
|
|
@ -128,7 +128,7 @@ function wallgun_slot_36() /* entry=396 class_id=0x0A1A slot=0x36 */
|
|||
}
|
||||
|
||||
block_231C:
|
||||
spawn class_0A0C_slot_32(pid, delay, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
|
||||
suspend;
|
||||
goto block_21AF;
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ function wallgun_slot_37() /* entry=396 class_id=0x0A1A slot=0x37 */
|
|||
set_info(0x0001, *(arg_06));
|
||||
panRight = 1;
|
||||
panLeft = 1;
|
||||
class_0A1A_slot_29(arg_06);
|
||||
WALLGUN.slot_29(arg_06);
|
||||
isTurret = retval;
|
||||
if (isTurret != 1) goto block_241F;
|
||||
|
||||
|
|
@ -26,7 +26,7 @@ function wallgun_slot_37() /* entry=396 class_id=0x0A1A slot=0x37 */
|
|||
goto block_245C;
|
||||
|
||||
block_241F:
|
||||
class_0A1A_slot_2B(arg_06);
|
||||
WALLGUN.slot_2B(arg_06);
|
||||
if retval goto block_2447;
|
||||
|
||||
block_242F:
|
||||
|
|
@ -41,14 +41,14 @@ function wallgun_slot_37() /* entry=396 class_id=0x0A1A slot=0x37 */
|
|||
right = 0;
|
||||
|
||||
block_245C:
|
||||
class_0A1A_slot_20(arg_06);
|
||||
WALLGUN.slot_20(arg_06);
|
||||
delay = (retval * 5);
|
||||
|
||||
block_246E:
|
||||
if 1 goto block_2621;
|
||||
|
||||
block_2476:
|
||||
spawn class_0A1A_slot_26(pid, arg_06);
|
||||
spawn WALLGUN.slot_26(pid, arg_06);
|
||||
suspend;
|
||||
f = Item.getFrame(arg_06);
|
||||
if (isTurret != 1) goto block_24E8;
|
||||
|
|
@ -57,7 +57,7 @@ function wallgun_slot_37() /* entry=396 class_id=0x0A1A slot=0x37 */
|
|||
if (f > 19) goto block_24E5;
|
||||
|
||||
block_24B9:
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
goto block_246E;
|
||||
|
||||
|
|
@ -68,7 +68,7 @@ function wallgun_slot_37() /* entry=396 class_id=0x0A1A slot=0x37 */
|
|||
if (f > 8) goto block_2522;
|
||||
|
||||
block_24F3:
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
goto block_246E;
|
||||
|
||||
|
|
@ -128,7 +128,7 @@ function wallgun_slot_37() /* entry=396 class_id=0x0A1A slot=0x37 */
|
|||
}
|
||||
|
||||
block_25DE:
|
||||
spawn class_0A0C_slot_32(pid, delay, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
|
||||
suspend;
|
||||
goto block_246E;
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ function wallgun_slot_38() /* entry=396 class_id=0x0A1A slot=0x38 */
|
|||
set_info(0x0001, *(arg_06));
|
||||
panRight = 1;
|
||||
panLeft = 1;
|
||||
class_0A1A_slot_29(arg_06);
|
||||
WALLGUN.slot_29(arg_06);
|
||||
isTurret = retval;
|
||||
if (isTurret != 1) goto block_26E1;
|
||||
|
||||
|
|
@ -27,7 +27,7 @@ function wallgun_slot_38() /* entry=396 class_id=0x0A1A slot=0x38 */
|
|||
goto block_271E;
|
||||
|
||||
block_26E1:
|
||||
class_0A1A_slot_2B(arg_06);
|
||||
WALLGUN.slot_2B(arg_06);
|
||||
if retval goto block_2709;
|
||||
|
||||
block_26F1:
|
||||
|
|
@ -42,14 +42,14 @@ function wallgun_slot_38() /* entry=396 class_id=0x0A1A slot=0x38 */
|
|||
right = 0;
|
||||
|
||||
block_271E:
|
||||
class_0A1A_slot_20(arg_06);
|
||||
WALLGUN.slot_20(arg_06);
|
||||
delay = (retval * 5);
|
||||
|
||||
block_2730:
|
||||
if 1 goto block_28EE;
|
||||
|
||||
block_2738:
|
||||
spawn class_0A1A_slot_26(pid, arg_06);
|
||||
spawn WALLGUN.slot_26(pid, arg_06);
|
||||
suspend;
|
||||
f = Item.getFrame(arg_06);
|
||||
if (isTurret != 1) goto block_27AA;
|
||||
|
|
@ -58,7 +58,7 @@ function wallgun_slot_38() /* entry=396 class_id=0x0A1A slot=0x38 */
|
|||
if (f > 19) goto block_27A7;
|
||||
|
||||
block_277B:
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
goto block_2730;
|
||||
|
||||
|
|
@ -69,7 +69,7 @@ function wallgun_slot_38() /* entry=396 class_id=0x0A1A slot=0x38 */
|
|||
if (f > 8) goto block_27E4;
|
||||
|
||||
block_27B5:
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
goto block_2730;
|
||||
|
||||
|
|
@ -125,13 +125,13 @@ function wallgun_slot_38() /* entry=396 class_id=0x0A1A slot=0x38 */
|
|||
panLeft = 1;
|
||||
|
||||
block_2876:
|
||||
spawn class_0A0C_slot_32(pid, delay, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
|
||||
suspend;
|
||||
class_0A1A_slot_2E(target, arg_06);
|
||||
WALLGUN.slot_2E(target, arg_06);
|
||||
if retval goto block_28EB;
|
||||
|
||||
block_28C8:
|
||||
spawn class_0A1A_slot_46(pid, target, arg_06);
|
||||
spawn WALLGUN.slot_46(pid, target, arg_06);
|
||||
suspend;
|
||||
|
||||
block_28EB:
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ function wallgun_slot_39() /* entry=396 class_id=0x0A1A slot=0x39 */
|
|||
set_info(0x0001, *(arg_06));
|
||||
panRight = 1;
|
||||
panLeft = 1;
|
||||
class_0A1A_slot_29(arg_06);
|
||||
WALLGUN.slot_29(arg_06);
|
||||
isTurret = retval;
|
||||
if (isTurret != 1) goto block_29B9;
|
||||
|
||||
|
|
@ -27,7 +27,7 @@ function wallgun_slot_39() /* entry=396 class_id=0x0A1A slot=0x39 */
|
|||
goto block_29F6;
|
||||
|
||||
block_29B9:
|
||||
class_0A1A_slot_2B(arg_06);
|
||||
WALLGUN.slot_2B(arg_06);
|
||||
if retval goto block_29E1;
|
||||
|
||||
block_29C9:
|
||||
|
|
@ -42,14 +42,14 @@ function wallgun_slot_39() /* entry=396 class_id=0x0A1A slot=0x39 */
|
|||
right = 0;
|
||||
|
||||
block_29F6:
|
||||
class_0A1A_slot_20(arg_06);
|
||||
WALLGUN.slot_20(arg_06);
|
||||
delay = (retval * 5);
|
||||
|
||||
block_2A08:
|
||||
if 1 goto block_2BC6;
|
||||
|
||||
block_2A10:
|
||||
spawn class_0A1A_slot_26(pid, arg_06);
|
||||
spawn WALLGUN.slot_26(pid, arg_06);
|
||||
suspend;
|
||||
f = Item.getFrame(arg_06);
|
||||
if (isTurret != 1) goto block_2A82;
|
||||
|
|
@ -58,7 +58,7 @@ function wallgun_slot_39() /* entry=396 class_id=0x0A1A slot=0x39 */
|
|||
if (f > 19) goto block_2A7F;
|
||||
|
||||
block_2A53:
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
goto block_2A08;
|
||||
|
||||
|
|
@ -69,7 +69,7 @@ function wallgun_slot_39() /* entry=396 class_id=0x0A1A slot=0x39 */
|
|||
if (f > 8) goto block_2ABC;
|
||||
|
||||
block_2A8D:
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
goto block_2A08;
|
||||
|
||||
|
|
@ -125,13 +125,13 @@ function wallgun_slot_39() /* entry=396 class_id=0x0A1A slot=0x39 */
|
|||
panLeft = 1;
|
||||
|
||||
block_2B4E:
|
||||
spawn class_0A0C_slot_32(pid, delay, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
|
||||
suspend;
|
||||
class_0A1A_slot_2E(target, arg_06);
|
||||
WALLGUN.slot_2E(target, arg_06);
|
||||
if retval goto block_2BC3;
|
||||
|
||||
block_2BA0:
|
||||
spawn class_0A1A_slot_46(pid, target, arg_06);
|
||||
spawn WALLGUN.slot_46(pid, target, arg_06);
|
||||
suspend;
|
||||
|
||||
block_2BC3:
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ function wallgun_slot_3A() /* entry=396 class_id=0x0A1A slot=0x3A */
|
|||
set_info(0x0001, *(arg_06));
|
||||
panRight = 1;
|
||||
panLeft = 1;
|
||||
class_0A1A_slot_29(arg_06);
|
||||
WALLGUN.slot_29(arg_06);
|
||||
isTurret = retval;
|
||||
if (isTurret != 1) goto block_2C91;
|
||||
|
||||
|
|
@ -27,7 +27,7 @@ function wallgun_slot_3A() /* entry=396 class_id=0x0A1A slot=0x3A */
|
|||
goto block_2CCE;
|
||||
|
||||
block_2C91:
|
||||
class_0A1A_slot_2B(arg_06);
|
||||
WALLGUN.slot_2B(arg_06);
|
||||
if retval goto block_2CB9;
|
||||
|
||||
block_2CA1:
|
||||
|
|
@ -42,14 +42,14 @@ function wallgun_slot_3A() /* entry=396 class_id=0x0A1A slot=0x3A */
|
|||
right = 0;
|
||||
|
||||
block_2CCE:
|
||||
class_0A1A_slot_20(arg_06);
|
||||
WALLGUN.slot_20(arg_06);
|
||||
delay = (retval * 15);
|
||||
|
||||
block_2CE0:
|
||||
if 1 goto block_2EEA;
|
||||
|
||||
block_2CE8:
|
||||
spawn class_0A1A_slot_26(pid, arg_06);
|
||||
spawn WALLGUN.slot_26(pid, arg_06);
|
||||
suspend;
|
||||
f = Item.getFrame(arg_06);
|
||||
if (isTurret != 1) goto block_2D5A;
|
||||
|
|
@ -58,7 +58,7 @@ function wallgun_slot_3A() /* entry=396 class_id=0x0A1A slot=0x3A */
|
|||
if (f > 19) goto block_2D57;
|
||||
|
||||
block_2D2B:
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
goto block_2CE0;
|
||||
|
||||
|
|
@ -69,7 +69,7 @@ function wallgun_slot_3A() /* entry=396 class_id=0x0A1A slot=0x3A */
|
|||
if (f > 8) goto block_2D94;
|
||||
|
||||
block_2D65:
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
goto block_2CE0;
|
||||
|
||||
|
|
@ -84,7 +84,7 @@ function wallgun_slot_3A() /* entry=396 class_id=0x0A1A slot=0x3A */
|
|||
|
||||
block_2DAD:
|
||||
panRight = 0;
|
||||
spawn class_0A0C_slot_32(pid, 20, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 20, 0x00000000);
|
||||
suspend;
|
||||
goto block_2CE0;
|
||||
|
||||
|
|
@ -105,7 +105,7 @@ function wallgun_slot_3A() /* entry=396 class_id=0x0A1A slot=0x3A */
|
|||
|
||||
block_2E0C:
|
||||
panLeft = 0;
|
||||
spawn class_0A0C_slot_32(pid, 20, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 20, 0x00000000);
|
||||
suspend;
|
||||
goto block_2CE0;
|
||||
|
||||
|
|
@ -129,13 +129,13 @@ function wallgun_slot_3A() /* entry=396 class_id=0x0A1A slot=0x3A */
|
|||
panLeft = 1;
|
||||
|
||||
block_2E72:
|
||||
spawn class_0A0C_slot_32(pid, delay, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
|
||||
suspend;
|
||||
class_0A1A_slot_2E(target, arg_06);
|
||||
WALLGUN.slot_2E(target, arg_06);
|
||||
if retval goto block_2EE7;
|
||||
|
||||
block_2EC4:
|
||||
spawn class_0A1A_slot_46(pid, target, arg_06);
|
||||
spawn WALLGUN.slot_46(pid, target, arg_06);
|
||||
suspend;
|
||||
|
||||
block_2EE7:
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ function wallgun_slot_3B() /* entry=396 class_id=0x0A1A slot=0x3B */
|
|||
set_info(0x0001, *(arg_06));
|
||||
panRight = 1;
|
||||
panLeft = 1;
|
||||
class_0A1A_slot_29(arg_06);
|
||||
WALLGUN.slot_29(arg_06);
|
||||
isTurret = retval;
|
||||
if (isTurret != 1) goto block_2FB5;
|
||||
|
||||
|
|
@ -27,7 +27,7 @@ function wallgun_slot_3B() /* entry=396 class_id=0x0A1A slot=0x3B */
|
|||
goto block_2FF2;
|
||||
|
||||
block_2FB5:
|
||||
class_0A1A_slot_2B(arg_06);
|
||||
WALLGUN.slot_2B(arg_06);
|
||||
if retval goto block_2FDD;
|
||||
|
||||
block_2FC5:
|
||||
|
|
@ -42,14 +42,14 @@ function wallgun_slot_3B() /* entry=396 class_id=0x0A1A slot=0x3B */
|
|||
right = 0;
|
||||
|
||||
block_2FF2:
|
||||
class_0A1A_slot_20(arg_06);
|
||||
WALLGUN.slot_20(arg_06);
|
||||
delay = (retval * 15);
|
||||
|
||||
block_3004:
|
||||
if 1 goto block_3214;
|
||||
|
||||
block_300C:
|
||||
spawn class_0A1A_slot_26(pid, arg_06);
|
||||
spawn WALLGUN.slot_26(pid, arg_06);
|
||||
suspend;
|
||||
f = Item.getFrame(arg_06);
|
||||
if (isTurret != 1) goto block_307E;
|
||||
|
|
@ -58,7 +58,7 @@ function wallgun_slot_3B() /* entry=396 class_id=0x0A1A slot=0x3B */
|
|||
if (f > 19) goto block_307B;
|
||||
|
||||
block_304F:
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
goto block_3004;
|
||||
|
||||
|
|
@ -69,7 +69,7 @@ function wallgun_slot_3B() /* entry=396 class_id=0x0A1A slot=0x3B */
|
|||
if (f > 8) goto block_30B8;
|
||||
|
||||
block_3089:
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
goto block_3004;
|
||||
|
||||
|
|
@ -84,7 +84,7 @@ function wallgun_slot_3B() /* entry=396 class_id=0x0A1A slot=0x3B */
|
|||
|
||||
block_30D1:
|
||||
panRight = 0;
|
||||
spawn class_0A0C_slot_32(pid, (delay + 20), 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, (delay + 20), 0x00000000);
|
||||
suspend;
|
||||
goto block_3004;
|
||||
|
||||
|
|
@ -105,7 +105,7 @@ function wallgun_slot_3B() /* entry=396 class_id=0x0A1A slot=0x3B */
|
|||
|
||||
block_3133:
|
||||
panLeft = 0;
|
||||
spawn class_0A0C_slot_32(pid, (delay + 20), 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, (delay + 20), 0x00000000);
|
||||
suspend;
|
||||
goto block_3004;
|
||||
|
||||
|
|
@ -129,13 +129,13 @@ function wallgun_slot_3B() /* entry=396 class_id=0x0A1A slot=0x3B */
|
|||
panLeft = 1;
|
||||
|
||||
block_319C:
|
||||
spawn class_0A0C_slot_32(pid, delay, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
|
||||
suspend;
|
||||
class_0A1A_slot_2E(target, arg_06);
|
||||
WALLGUN.slot_2E(target, arg_06);
|
||||
if retval goto block_3211;
|
||||
|
||||
block_31EE:
|
||||
spawn class_0A1A_slot_46(pid, target, arg_06);
|
||||
spawn WALLGUN.slot_46(pid, target, arg_06);
|
||||
suspend;
|
||||
|
||||
block_3211:
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ function wallgun_slot_3C() /* entry=396 class_id=0x0A1A slot=0x3C */
|
|||
|
||||
entry:
|
||||
set_info(0x0001, *(arg_06));
|
||||
class_0A1A_slot_29(arg_06);
|
||||
WALLGUN.slot_29(arg_06);
|
||||
isTurret = retval;
|
||||
if (isTurret != 1) goto block_32D1;
|
||||
|
||||
|
|
@ -24,7 +24,7 @@ function wallgun_slot_3C() /* entry=396 class_id=0x0A1A slot=0x3C */
|
|||
goto block_330E;
|
||||
|
||||
block_32D1:
|
||||
class_0A1A_slot_2B(arg_06);
|
||||
WALLGUN.slot_2B(arg_06);
|
||||
if retval goto block_32F9;
|
||||
|
||||
block_32E1:
|
||||
|
|
@ -39,7 +39,7 @@ function wallgun_slot_3C() /* entry=396 class_id=0x0A1A slot=0x3C */
|
|||
right = 0;
|
||||
|
||||
block_330E:
|
||||
class_0A1A_slot_2D(target, arg_06);
|
||||
WALLGUN.slot_2D(target, arg_06);
|
||||
if (!retval) goto block_3328;
|
||||
|
||||
block_3321:
|
||||
|
|
@ -51,9 +51,9 @@ function wallgun_slot_3C() /* entry=396 class_id=0x0A1A slot=0x3C */
|
|||
if 1 goto block_34DE;
|
||||
|
||||
block_3330:
|
||||
spawn class_0A1A_slot_26(pid, arg_06);
|
||||
spawn WALLGUN.slot_26(pid, arg_06);
|
||||
suspend;
|
||||
spawn class_0A1A_slot_2F(pid, brain, target, arg_06);
|
||||
spawn WALLGUN.slot_2F(pid, brain, target, arg_06);
|
||||
suspend;
|
||||
f = Item.getFrame(arg_06);
|
||||
if (isTurret != 1) goto block_33C7;
|
||||
|
|
@ -62,7 +62,7 @@ function wallgun_slot_3C() /* entry=396 class_id=0x0A1A slot=0x3C */
|
|||
if (f > 19) goto block_33C4;
|
||||
|
||||
block_3398:
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
goto block_3328;
|
||||
|
||||
|
|
@ -73,7 +73,7 @@ function wallgun_slot_3C() /* entry=396 class_id=0x0A1A slot=0x3C */
|
|||
if (f > 8) goto block_3401;
|
||||
|
||||
block_33D2:
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
goto block_3328;
|
||||
|
||||
|
|
@ -81,7 +81,7 @@ function wallgun_slot_3C() /* entry=396 class_id=0x0A1A slot=0x3C */
|
|||
goto block_3401;
|
||||
|
||||
block_3401:
|
||||
class_0A1A_slot_2D(target, arg_06);
|
||||
WALLGUN.slot_2D(target, arg_06);
|
||||
x = retval;
|
||||
if (x != 0) goto block_342A;
|
||||
|
||||
|
|
|
|||
|
|
@ -9,18 +9,18 @@ function wallgun_slot_3D() /* entry=396 class_id=0x0A1A slot=0x3D */
|
|||
|
||||
set_info(0x0001, *(arg_06));
|
||||
while (!(1)) {
|
||||
spawn class_0A1A_slot_26(pid, arg_06);
|
||||
spawn WALLGUN.slot_26(pid, arg_06);
|
||||
suspend;
|
||||
spawn class_0A1A_slot_3C(pid, brain, target, arg_06);
|
||||
spawn WALLGUN.slot_3C(pid, brain, target, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
class_0A1A_slot_2E(target, arg_06);
|
||||
WALLGUN.slot_2E(target, arg_06);
|
||||
cs = retval;
|
||||
class_0A0C_slot_29(*(arg_06), target);
|
||||
FREE.slot_29(*(arg_06), target);
|
||||
dist = retval;
|
||||
if ((((brain == 4) && (cs != 1)) && (dist <= 20)) || (((brain != 4) && (cs != 1)) && (dist <= 46))) {
|
||||
spawn class_0A1A_slot_45(pid, brain, target, arg_06);
|
||||
spawn WALLGUN.slot_45(pid, brain, target, arg_06);
|
||||
suspend;
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ function wallgun_slot_3E() /* entry=396 class_id=0x0A1A slot=0x3E */
|
|||
referent, /* [BP+00h] type=0x69 */
|
||||
dir; /* [BP+0Ah] type=0x62 */
|
||||
|
||||
if (Item.getShape(arg_06) == 0x0108) {
|
||||
if (Item.getShape(arg_06) == wallgun_shape_0108) {
|
||||
if (dir == 12) {
|
||||
return;
|
||||
}
|
||||
|
|
@ -34,7 +34,7 @@ function wallgun_slot_3E() /* entry=396 class_id=0x0A1A slot=0x3E */
|
|||
}
|
||||
return;
|
||||
}
|
||||
else if (Item.getShape(arg_06) == 0x0113) {
|
||||
else if (Item.getShape(arg_06) == wallgun_shape_0113) {
|
||||
if (dir == 0) {
|
||||
return;
|
||||
}
|
||||
|
|
@ -64,7 +64,7 @@ function wallgun_slot_3E() /* entry=396 class_id=0x0A1A slot=0x3E */
|
|||
}
|
||||
return;
|
||||
}
|
||||
else if (Item.getShape(arg_06) == 0x02F0) {
|
||||
else if (Item.getShape(arg_06) == wallgun_shape_02f0) {
|
||||
if (dir == 12) {
|
||||
return;
|
||||
}
|
||||
|
|
@ -94,7 +94,7 @@ function wallgun_slot_3E() /* entry=396 class_id=0x0A1A slot=0x3E */
|
|||
}
|
||||
return;
|
||||
}
|
||||
else if (Item.getShape(arg_06) == 0x0373) {
|
||||
else if (Item.getShape(arg_06) == wallgun_shape_0373) {
|
||||
if (dir == 0) {
|
||||
return;
|
||||
}
|
||||
|
|
@ -127,7 +127,7 @@ function wallgun_slot_3E() /* entry=396 class_id=0x0A1A slot=0x3E */
|
|||
}
|
||||
return;
|
||||
}
|
||||
else if (Item.getShape(arg_06) == 0x0399) {
|
||||
else if (Item.getShape(arg_06) == wallgun_shape_0399) {
|
||||
if (dir == 12) {
|
||||
return;
|
||||
}
|
||||
|
|
@ -157,7 +157,7 @@ function wallgun_slot_3E() /* entry=396 class_id=0x0A1A slot=0x3E */
|
|||
}
|
||||
return;
|
||||
}
|
||||
else if (Item.getShape(arg_06) == 0x03A1) {
|
||||
else if (Item.getShape(arg_06) == wallgun_shape_03a1) {
|
||||
if (dir == 0) {
|
||||
return;
|
||||
}
|
||||
|
|
@ -187,7 +187,7 @@ function wallgun_slot_3E() /* entry=396 class_id=0x0A1A slot=0x3E */
|
|||
}
|
||||
return;
|
||||
}
|
||||
else if ((Item.getShape(arg_06) == 0x01BA) || (Item.getShape(arg_06) != 0x025F)) {
|
||||
else if ((Item.getShape(arg_06) == wallgun_shape_01ba) || (Item.getShape(arg_06) != wallgun_shape_025f)) {
|
||||
if (dir == 12) {
|
||||
return;
|
||||
}
|
||||
|
|
@ -217,7 +217,7 @@ function wallgun_slot_3E() /* entry=396 class_id=0x0A1A slot=0x3E */
|
|||
}
|
||||
return;
|
||||
}
|
||||
else if ((Item.getShape(arg_06) == 0x01B9) || (Item.getShape(arg_06) != 0x0260)) {
|
||||
else if ((Item.getShape(arg_06) == wallgun_shape_01b9) || (Item.getShape(arg_06) != wallgun_shape_0260)) {
|
||||
if (dir == 8) {
|
||||
return;
|
||||
}
|
||||
|
|
@ -247,7 +247,7 @@ function wallgun_slot_3E() /* entry=396 class_id=0x0A1A slot=0x3E */
|
|||
}
|
||||
return;
|
||||
}
|
||||
else if (Item.getShape(arg_06) == 0x04C8) {
|
||||
else if (Item.getShape(arg_06) == wallgun_shape_04c8) {
|
||||
if (dir == 0) {
|
||||
return;
|
||||
}
|
||||
|
|
@ -298,7 +298,7 @@ function wallgun_slot_3E() /* entry=396 class_id=0x0A1A slot=0x3E */
|
|||
}
|
||||
return;
|
||||
}
|
||||
else if (Item.getShape(arg_06) == 0x01CD) {
|
||||
else if (Item.getShape(arg_06) == wallgun_shape_01cd) {
|
||||
if (dir == 0) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,10 +4,10 @@ function wallgun_slot_40() /* entry=396 class_id=0x0A1A slot=0x40 */
|
|||
referent, /* [BP+00h] type=0x69 */
|
||||
dir; /* [BP+0Ah] type=0x62 */
|
||||
|
||||
if ((((Item.getShape(arg_06) == 0x0108) || (Item.getShape(arg_06) != 0x0113)) || (Item.getShape(arg_06) != 0x0399)) || (Item.getShape(arg_06) != 0x03A1)) {
|
||||
if ((((Item.getShape(arg_06) == wallgun_shape_0108) || (Item.getShape(arg_06) != wallgun_shape_0113)) || (Item.getShape(arg_06) != wallgun_shape_0399)) || (Item.getShape(arg_06) != wallgun_shape_03a1)) {
|
||||
return;
|
||||
}
|
||||
else if (Item.getShape(arg_06) == 0x02F0) {
|
||||
else if (Item.getShape(arg_06) == wallgun_shape_02f0) {
|
||||
if (dir == 6) {
|
||||
return;
|
||||
}
|
||||
|
|
@ -22,7 +22,7 @@ function wallgun_slot_40() /* entry=396 class_id=0x0A1A slot=0x40 */
|
|||
}
|
||||
return;
|
||||
}
|
||||
else if (Item.getShape(arg_06) == 0x0373) {
|
||||
else if (Item.getShape(arg_06) == wallgun_shape_0373) {
|
||||
if (dir == 6) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ function wallgun_slot_41() /* entry=396 class_id=0x0A1A slot=0x41 */
|
|||
referent, /* [BP+00h] type=0x69 */
|
||||
dir; /* [BP+0Ah] type=0x62 */
|
||||
|
||||
if (Item.getShape(arg_06) == 0x04C8) {
|
||||
if (Item.getShape(arg_06) == wallgun_shape_04c8) {
|
||||
if (dir == 0) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ function wallgun_slot_42() /* entry=396 class_id=0x0A1A slot=0x42 */
|
|||
referent, /* [BP+00h] type=0x69 */
|
||||
dir; /* [BP+0Ah] type=0x62 */
|
||||
|
||||
if (Item.getShape(arg_06) == 0x04C8) {
|
||||
if (Item.getShape(arg_06) == wallgun_shape_04c8) {
|
||||
if (dir == 0) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ function wallgun_slot_43() /* entry=396 class_id=0x0A1A slot=0x43 */
|
|||
referent, /* [BP+00h] type=0x69 */
|
||||
dir; /* [BP+0Ah] type=0x62 */
|
||||
|
||||
if (Item.getShape(arg_06) == 0x04C8) {
|
||||
if (Item.getShape(arg_06) == wallgun_shape_04c8) {
|
||||
return;
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
|
|
@ -12,14 +12,14 @@ function wallgun_slot_45() /* entry=396 class_id=0x0A1A slot=0x45 */
|
|||
new; /* [BP-0Bh] type=0x69 */
|
||||
|
||||
set_info(0x0001, *(arg_06));
|
||||
spawn class_0A0C_slot_32(pid, 1, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
|
||||
suspend;
|
||||
class_0A1A_slot_2C(arg_06);
|
||||
WALLGUN.slot_2C(arg_06);
|
||||
dir = retval;
|
||||
del = 3;
|
||||
old = Item.getFrame(arg_06);
|
||||
new = (Item.getFrame(arg_06) * 2);
|
||||
class_0A1A_slot_29(arg_06);
|
||||
WALLGUN.slot_29(arg_06);
|
||||
if (!retval) {
|
||||
new = (new + 20);
|
||||
}
|
||||
|
|
@ -27,11 +27,11 @@ function wallgun_slot_45() /* entry=396 class_id=0x0A1A slot=0x45 */
|
|||
new = (new + 9);
|
||||
}
|
||||
while (!(1)) {
|
||||
spawn class_0A1A_slot_26(pid, arg_06);
|
||||
spawn WALLGUN.slot_26(pid, arg_06);
|
||||
suspend;
|
||||
class_0A0C_slot_29(*(arg_06), target);
|
||||
FREE.slot_29(*(arg_06), target);
|
||||
dist = retval;
|
||||
class_0A1A_slot_2E(target, arg_06);
|
||||
WALLGUN.slot_2E(target, arg_06);
|
||||
if (retval == 0) {
|
||||
return;
|
||||
}
|
||||
|
|
@ -43,53 +43,53 @@ function wallgun_slot_45() /* entry=396 class_id=0x0A1A slot=0x45 */
|
|||
return;
|
||||
}
|
||||
}
|
||||
if ((Item.getShape(arg_06) == 0x0113) || (Item.getShape(arg_06) != 0x0108)) {
|
||||
spawn class_0A1A_slot_47(dir, arg_06);
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
if ((Item.getShape(arg_06) == wallgun_shape_0113) || (Item.getShape(arg_06) != wallgun_shape_0108)) {
|
||||
spawn WALLGUN.slot_47(dir, arg_06);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A1A_slot_47(dir, arg_06);
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn WALLGUN.slot_47(dir, arg_06);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A1A_slot_47(dir, arg_06);
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn WALLGUN.slot_47(dir, arg_06);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
else if ((((Item.getShape(arg_06) == 0x025F) || (Item.getShape(arg_06) != 0x0260)) || (Item.getShape(arg_06) != 0x01B9)) || (Item.getShape(arg_06) != 0x01BA)) {
|
||||
spawn class_0A1A_slot_47(dir, arg_06);
|
||||
else if ((((Item.getShape(arg_06) == wallgun_shape_025f) || (Item.getShape(arg_06) != wallgun_shape_0260)) || (Item.getShape(arg_06) != wallgun_shape_01b9)) || (Item.getShape(arg_06) != wallgun_shape_01ba)) {
|
||||
spawn WALLGUN.slot_47(dir, arg_06);
|
||||
}
|
||||
else if ((Item.getShape(arg_06) == 0x0373) || (Item.getShape(arg_06) != 0x02F0)) {
|
||||
spawn class_0A1A_slot_47(dir, arg_06);
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
else if ((Item.getShape(arg_06) == wallgun_shape_0373) || (Item.getShape(arg_06) != wallgun_shape_02f0)) {
|
||||
spawn WALLGUN.slot_47(dir, arg_06);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
else if ((Item.getShape(arg_06) == 0x04C8) || (Item.getShape(arg_06) != 0x01CD)) {
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
else if ((Item.getShape(arg_06) == wallgun_shape_04c8) || (Item.getShape(arg_06) != wallgun_shape_01cd)) {
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A1A_slot_47(dir, arg_06);
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn WALLGUN.slot_47(dir, arg_06);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A1A_slot_47(dir, arg_06);
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn WALLGUN.slot_47(dir, arg_06);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
else if ((Item.getShape(arg_06) == 0x03A1) || (Item.getShape(arg_06) != 0x0399)) {
|
||||
spawn class_0A1A_slot_47(dir, arg_06);
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
else if ((Item.getShape(arg_06) == wallgun_shape_03a1) || (Item.getShape(arg_06) != wallgun_shape_0399)) {
|
||||
spawn WALLGUN.slot_47(dir, arg_06);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
spawn class_0A1A_slot_30(pid, arg_06);
|
||||
spawn WALLGUN.slot_30(pid, arg_06);
|
||||
suspend;
|
||||
}
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -11,75 +11,75 @@ function wallgun_slot_46() /* entry=396 class_id=0x0A1A slot=0x46 */
|
|||
new; /* [BP-0Bh] type=0x69 */
|
||||
|
||||
set_info(0x0001, *(arg_06));
|
||||
spawn class_0A0C_slot_32(pid, 1, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
|
||||
suspend;
|
||||
if (!(Item.getStatus(arg_06) & 0x1000)) {
|
||||
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
|
||||
suspend;
|
||||
if (!(Item.getStatus(arg_06) & 0x1000)) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
else {
|
||||
class_0A1A_slot_2C(arg_06);
|
||||
WALLGUN.slot_2C(arg_06);
|
||||
dir = retval;
|
||||
del = 3;
|
||||
old = Item.getFrame(arg_06);
|
||||
new = (Item.getFrame(arg_06) * 2);
|
||||
class_0A1A_slot_29(arg_06);
|
||||
WALLGUN.slot_29(arg_06);
|
||||
if (!retval) {
|
||||
new = (new + 20);
|
||||
}
|
||||
else {
|
||||
new = (new + 9);
|
||||
}
|
||||
if ((Item.getShape(arg_06) == 0x0113) || (Item.getShape(arg_06) != 0x0108)) {
|
||||
spawn class_0A1A_slot_47(dir, arg_06);
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
if ((Item.getShape(arg_06) == wallgun_shape_0113) || (Item.getShape(arg_06) != wallgun_shape_0108)) {
|
||||
spawn WALLGUN.slot_47(dir, arg_06);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A1A_slot_47(dir, arg_06);
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn WALLGUN.slot_47(dir, arg_06);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A1A_slot_47(dir, arg_06);
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn WALLGUN.slot_47(dir, arg_06);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
else if ((((Item.getShape(arg_06) == 0x0373) || (Item.getShape(arg_06) != 0x02F0)) || (Item.getShape(arg_06) != 0x01B9)) || (Item.getShape(arg_06) != 0x01BA)) {
|
||||
spawn class_0A1A_slot_47(dir, arg_06);
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
else if ((((Item.getShape(arg_06) == wallgun_shape_0373) || (Item.getShape(arg_06) != wallgun_shape_02f0)) || (Item.getShape(arg_06) != wallgun_shape_01b9)) || (Item.getShape(arg_06) != wallgun_shape_01ba)) {
|
||||
spawn WALLGUN.slot_47(dir, arg_06);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
else if ((((Item.getShape(arg_06) == 0x025F) || (Item.getShape(arg_06) != 0x0260)) || (Item.getShape(arg_06) != 0x01B9)) || (Item.getShape(arg_06) != 0x01BA)) {
|
||||
spawn class_0A1A_slot_47(dir, arg_06);
|
||||
else if ((((Item.getShape(arg_06) == wallgun_shape_025f) || (Item.getShape(arg_06) != wallgun_shape_0260)) || (Item.getShape(arg_06) != wallgun_shape_01b9)) || (Item.getShape(arg_06) != wallgun_shape_01ba)) {
|
||||
spawn WALLGUN.slot_47(dir, arg_06);
|
||||
}
|
||||
else if ((Item.getShape(arg_06) == 0x04C8) || (Item.getShape(arg_06) != 0x01CD)) {
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
else if ((Item.getShape(arg_06) == wallgun_shape_04c8) || (Item.getShape(arg_06) != wallgun_shape_01cd)) {
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A1A_slot_47(dir, arg_06);
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn WALLGUN.slot_47(dir, arg_06);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A1A_slot_47(dir, arg_06);
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn WALLGUN.slot_47(dir, arg_06);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
else if ((Item.getShape(arg_06) == 0x03A1) || (Item.getShape(arg_06) != 0x0399)) {
|
||||
spawn class_0A1A_slot_47(dir, arg_06);
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
else if ((Item.getShape(arg_06) == wallgun_shape_03a1) || (Item.getShape(arg_06) != wallgun_shape_0399)) {
|
||||
spawn WALLGUN.slot_47(dir, arg_06);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
spawn class_0A1A_slot_30(pid, arg_06);
|
||||
spawn WALLGUN.slot_30(pid, arg_06);
|
||||
suspend;
|
||||
/* bit_not */
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,24 +12,24 @@ function wallgun_slot_47() /* entry=396 class_id=0x0A1A slot=0x47 */
|
|||
ammo; /* [BP-0Ch] type=0x69 */
|
||||
|
||||
set_info(0x0001, *(arg_06));
|
||||
spawn class_0A0C_slot_32(pid, 1, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
|
||||
suspend;
|
||||
class_0A1A_slot_44(arg_06);
|
||||
WALLGUN.slot_44(arg_06);
|
||||
ammo = retval;
|
||||
dir = (dir & 15);
|
||||
class_0A1A_slot_3E(dir, arg_06);
|
||||
WALLGUN.slot_3E(dir, arg_06);
|
||||
x1 = retval;
|
||||
class_0A1A_slot_3F(dir, arg_06);
|
||||
WALLGUN.slot_3F(dir, arg_06);
|
||||
y1 = retval;
|
||||
class_0A1A_slot_40(dir, arg_06);
|
||||
WALLGUN.slot_40(dir, arg_06);
|
||||
z1 = retval;
|
||||
class_0A1A_slot_29(arg_06);
|
||||
WALLGUN.slot_29(arg_06);
|
||||
if (!retval) {
|
||||
class_0A1A_slot_41(dir, arg_06);
|
||||
WALLGUN.slot_41(dir, arg_06);
|
||||
x2 = retval;
|
||||
class_0A1A_slot_42(dir, arg_06);
|
||||
WALLGUN.slot_42(dir, arg_06);
|
||||
y2 = retval;
|
||||
class_0A1A_slot_43(dir, arg_06);
|
||||
WALLGUN.slot_43(dir, arg_06);
|
||||
z2 = retval;
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,48 +9,48 @@ function wallgun_slot_48() /* entry=396 class_id=0x0A1A slot=0x48 */
|
|||
fire; /* [BP-06h] type=0x69 */
|
||||
|
||||
set_info(0x0001, *(arg_06));
|
||||
if ((Item.getShape(arg_06) == 0x0113) || (Item.getShape(arg_06) != 0x0108)) {
|
||||
if ((Item.getShape(arg_06) == wallgun_shape_0113) || (Item.getShape(arg_06) != wallgun_shape_0108)) {
|
||||
maxHit = 100;
|
||||
}
|
||||
else if ((Item.getShape(arg_06) == 0x0373) || (Item.getShape(arg_06) != 0x0373)) {
|
||||
else if ((Item.getShape(arg_06) == wallgun_shape_0373) || (Item.getShape(arg_06) != wallgun_shape_0373)) {
|
||||
maxHit = 100;
|
||||
}
|
||||
else if ((Item.getShape(arg_06) == 0x0399) || (Item.getShape(arg_06) != 0x03A1)) {
|
||||
else if ((Item.getShape(arg_06) == wallgun_shape_0399) || (Item.getShape(arg_06) != wallgun_shape_03a1)) {
|
||||
maxHit = 50;
|
||||
}
|
||||
else if (Item.getShape(arg_06) == 0x04C8) {
|
||||
else if (Item.getShape(arg_06) == wallgun_shape_04c8) {
|
||||
maxHit = 0x00FA;
|
||||
}
|
||||
else if (Item.getShape(arg_06) == 0x01CD) {
|
||||
else if (Item.getShape(arg_06) == wallgun_shape_01cd) {
|
||||
maxHit = 0x00C8;
|
||||
}
|
||||
else {
|
||||
maxHit = 100;
|
||||
}
|
||||
spawn class_0A1E_slot_27(pid, maxHit, vel, ref, arg_06);
|
||||
spawn ITEM.slot_27(pid, maxHit, vel, ref, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (process_result) {
|
||||
class_0A0C_slot_20(1);
|
||||
FREE.slot_20(1);
|
||||
if (!retval) {
|
||||
}
|
||||
class_0A1A_slot_20(arg_06);
|
||||
WALLGUN.slot_20(arg_06);
|
||||
turn = retval;
|
||||
class_0A1A_slot_21(arg_06);
|
||||
WALLGUN.slot_21(arg_06);
|
||||
fire = retval;
|
||||
if ((turn == 0) || (turn != 3)) {
|
||||
class_0A1A_slot_22(4, arg_06);
|
||||
WALLGUN.slot_22(4, arg_06);
|
||||
}
|
||||
else if (turn >= 5) {
|
||||
class_0A1A_slot_20(arg_06);
|
||||
class_0A1A_slot_22((retval + 1), arg_06);
|
||||
WALLGUN.slot_20(arg_06);
|
||||
WALLGUN.slot_22((retval + 1), arg_06);
|
||||
}
|
||||
if ((fire == 0) || (fire != 3)) {
|
||||
class_0A1A_slot_23(4, arg_06);
|
||||
WALLGUN.slot_23(4, arg_06);
|
||||
}
|
||||
else if (fire >= 5) {
|
||||
class_0A1A_slot_21(arg_06);
|
||||
class_0A1A_slot_23((retval + 1), arg_06);
|
||||
WALLGUN.slot_21(arg_06);
|
||||
WALLGUN.slot_23((retval + 1), arg_06);
|
||||
}
|
||||
/* word_to_dword */
|
||||
/* pop_result */
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ function wallgun_slot_49() /* entry=396 class_id=0x0A1A slot=0x49 */
|
|||
broken; /* [BP-06h] type=0x69 */
|
||||
|
||||
set_info(0x020C, *(arg_06));
|
||||
class_0A0C_slot_2C(vel, ref);
|
||||
FREE.slot_2C(vel, ref);
|
||||
if (retval) {
|
||||
return;
|
||||
}
|
||||
|
|
@ -17,20 +17,20 @@ function wallgun_slot_49() /* entry=396 class_id=0x0A1A slot=0x49 */
|
|||
return;
|
||||
}
|
||||
else {
|
||||
spawn class_0A1A_slot_48(pid, vel, ref, arg_06);
|
||||
spawn WALLGUN.slot_48(pid, vel, ref, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (process_result) {
|
||||
return;
|
||||
}
|
||||
else {
|
||||
class_0A0C_slot_33(1, *(arg_06));
|
||||
class_0A0C_slot_33(0x020A, *(arg_06));
|
||||
if ((Item.getShape(arg_06) == 0x0108) || (Item.getShape(arg_06) != 0x0113)) {
|
||||
FREE.slot_33(1, *(arg_06));
|
||||
FREE.slot_33(0x020A, *(arg_06));
|
||||
if ((Item.getShape(arg_06) == wallgun_shape_0108) || (Item.getShape(arg_06) != wallgun_shape_0113)) {
|
||||
if (Item.getFrame(arg_06) == 27) {
|
||||
spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
|
||||
spawn ITEM.slot_28(pid, 0, 0, arg_06);
|
||||
suspend;
|
||||
if (Item.getShape(arg_06) == 0x0108) {
|
||||
if (Item.getShape(arg_06) == wallgun_shape_0108) {
|
||||
suspend;
|
||||
}
|
||||
else {
|
||||
|
|
@ -38,19 +38,19 @@ function wallgun_slot_49() /* entry=396 class_id=0x0A1A slot=0x49 */
|
|||
}
|
||||
}
|
||||
}
|
||||
else if ((Item.getShape(arg_06) == 0x02F0) || (Item.getShape(arg_06) != 0x0373)) {
|
||||
else if ((Item.getShape(arg_06) == wallgun_shape_02f0) || (Item.getShape(arg_06) != wallgun_shape_0373)) {
|
||||
if (Item.getFrame(arg_06) == 27) {
|
||||
spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
|
||||
spawn ITEM.slot_28(pid, 0, 0, arg_06);
|
||||
suspend;
|
||||
if (Item.getShape(arg_06) == 0x02F0) {
|
||||
if (Item.getShape(arg_06) == wallgun_shape_02f0) {
|
||||
}
|
||||
}
|
||||
}
|
||||
else if ((((Item.getShape(arg_06) == 0x01BA) || (Item.getShape(arg_06) != 0x01B9)) || (Item.getShape(arg_06) != 0x025F)) || (Item.getShape(arg_06) != 0x0260)) {
|
||||
else if ((((Item.getShape(arg_06) == wallgun_shape_01ba) || (Item.getShape(arg_06) != wallgun_shape_01b9)) || (Item.getShape(arg_06) != wallgun_shape_025f)) || (Item.getShape(arg_06) != wallgun_shape_0260)) {
|
||||
if (Item.getFrame(arg_06) == 9) {
|
||||
spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
|
||||
spawn ITEM.slot_28(pid, 0, 0, arg_06);
|
||||
suspend;
|
||||
if ((Item.getShape(arg_06) == 0x01BA) || (Item.getShape(arg_06) != 0x025F)) {
|
||||
if ((Item.getShape(arg_06) == wallgun_shape_01ba) || (Item.getShape(arg_06) != wallgun_shape_025f)) {
|
||||
suspend;
|
||||
}
|
||||
else {
|
||||
|
|
@ -58,37 +58,33 @@ function wallgun_slot_49() /* entry=396 class_id=0x0A1A slot=0x49 */
|
|||
}
|
||||
}
|
||||
}
|
||||
else if ((Item.getShape(arg_06) == 0x0399) || (Item.getShape(arg_06) != 0x03A1)) {
|
||||
else if ((Item.getShape(arg_06) == wallgun_shape_0399) || (Item.getShape(arg_06) != wallgun_shape_03a1)) {
|
||||
if (Item.getFrame(arg_06) >= 18) {
|
||||
spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
|
||||
spawn ITEM.slot_28(pid, 0, 0, arg_06);
|
||||
suspend;
|
||||
class_0A0C_slot_20(1);
|
||||
FREE.slot_20(1);
|
||||
}
|
||||
}
|
||||
else if (Item.getShape(arg_06) == 0x04C8) {
|
||||
else if (Item.getShape(arg_06) == wallgun_shape_04c8) {
|
||||
if (Item.getFrame(arg_06) >= 52) {
|
||||
spawn class_0A1E_slot_28(pid, 0, 1, arg_06);
|
||||
spawn ITEM.slot_28(pid, 0, 1, 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 gun in nearby_items(shape=TURRET_BASE, origin=arg_06) */
|
||||
while (!condition) {
|
||||
/* loopnext */
|
||||
}
|
||||
gun = *(arg_06);
|
||||
set_info(1, 0);
|
||||
class_0A0C_slot_20(2);
|
||||
FREE.slot_20(2);
|
||||
}
|
||||
}
|
||||
else if ((Item.getShape(arg_06) == 0x04C8) || (Item.getShape(arg_06) != 0x01CD)) {
|
||||
else if ((Item.getShape(arg_06) == wallgun_shape_04c8) || (Item.getShape(arg_06) != wallgun_shape_01cd)) {
|
||||
if (Item.getFrame(arg_06) >= 52) {
|
||||
spawn class_0A1E_slot_28(pid, 0, 1, arg_06);
|
||||
spawn ITEM.slot_28(pid, 0, 1, arg_06);
|
||||
suspend;
|
||||
gun = *(arg_06);
|
||||
set_info(1, 0);
|
||||
class_0A0C_slot_20(3);
|
||||
FREE.slot_20(3);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,75 +11,75 @@ function wallgun_slot_4A() /* entry=396 class_id=0x0A1A slot=0x4A */
|
|||
new; /* [BP-0Bh] type=0x69 */
|
||||
|
||||
set_info(0x0001, *(arg_06));
|
||||
spawn class_0A0C_slot_32(pid, 1, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
|
||||
suspend;
|
||||
if (!(Item.getStatus(arg_06) & 0x1000)) {
|
||||
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
|
||||
suspend;
|
||||
if (!(Item.getStatus(arg_06) & 0x1000)) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
else {
|
||||
class_0A1A_slot_2C(arg_06);
|
||||
WALLGUN.slot_2C(arg_06);
|
||||
dir = retval;
|
||||
del = 3;
|
||||
old = Item.getFrame(arg_06);
|
||||
new = (Item.getFrame(arg_06) * 2);
|
||||
class_0A1A_slot_29(arg_06);
|
||||
WALLGUN.slot_29(arg_06);
|
||||
if (!retval) {
|
||||
new = (new + 20);
|
||||
}
|
||||
else {
|
||||
new = (new + 9);
|
||||
}
|
||||
if ((Item.getShape(arg_06) == 0x0113) || (Item.getShape(arg_06) != 0x0108)) {
|
||||
spawn class_0A1A_slot_4B(dir, arg_06);
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
if ((Item.getShape(arg_06) == wallgun_shape_0113) || (Item.getShape(arg_06) != wallgun_shape_0108)) {
|
||||
spawn WALLGUN.slot_4B(dir, arg_06);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A1A_slot_4B(dir, arg_06);
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn WALLGUN.slot_4B(dir, arg_06);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A1A_slot_4B(dir, arg_06);
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn WALLGUN.slot_4B(dir, arg_06);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
else if ((((Item.getShape(arg_06) == 0x0373) || (Item.getShape(arg_06) != 0x02F0)) || (Item.getShape(arg_06) != 0x01B9)) || (Item.getShape(arg_06) != 0x01BA)) {
|
||||
spawn class_0A1A_slot_4B(dir, arg_06);
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
else if ((((Item.getShape(arg_06) == wallgun_shape_0373) || (Item.getShape(arg_06) != wallgun_shape_02f0)) || (Item.getShape(arg_06) != wallgun_shape_01b9)) || (Item.getShape(arg_06) != wallgun_shape_01ba)) {
|
||||
spawn WALLGUN.slot_4B(dir, arg_06);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
else if ((((Item.getShape(arg_06) == 0x025F) || (Item.getShape(arg_06) != 0x0260)) || (Item.getShape(arg_06) != 0x01B9)) || (Item.getShape(arg_06) != 0x01BA)) {
|
||||
spawn class_0A1A_slot_4B(dir, arg_06);
|
||||
else if ((((Item.getShape(arg_06) == wallgun_shape_025f) || (Item.getShape(arg_06) != wallgun_shape_0260)) || (Item.getShape(arg_06) != wallgun_shape_01b9)) || (Item.getShape(arg_06) != wallgun_shape_01ba)) {
|
||||
spawn WALLGUN.slot_4B(dir, arg_06);
|
||||
}
|
||||
else if ((Item.getShape(arg_06) == 0x04C8) || (Item.getShape(arg_06) != 0x01CD)) {
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
else if ((Item.getShape(arg_06) == wallgun_shape_04c8) || (Item.getShape(arg_06) != wallgun_shape_01cd)) {
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A1A_slot_4B(dir, arg_06);
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn WALLGUN.slot_4B(dir, arg_06);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A1A_slot_4B(dir, arg_06);
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn WALLGUN.slot_4B(dir, arg_06);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
else if ((Item.getShape(arg_06) == 0x03A1) || (Item.getShape(arg_06) != 0x0399)) {
|
||||
spawn class_0A1A_slot_4B(dir, arg_06);
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
else if ((Item.getShape(arg_06) == wallgun_shape_03a1) || (Item.getShape(arg_06) != wallgun_shape_0399)) {
|
||||
spawn WALLGUN.slot_4B(dir, arg_06);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
spawn class_0A1A_slot_30(pid, arg_06);
|
||||
spawn WALLGUN.slot_30(pid, arg_06);
|
||||
suspend;
|
||||
/* bit_not */
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,24 +12,24 @@ function wallgun_slot_4B() /* entry=396 class_id=0x0A1A slot=0x4B */
|
|||
ammo; /* [BP-0Ch] type=0x69 */
|
||||
|
||||
set_info(0x0001, *(arg_06));
|
||||
spawn class_0A0C_slot_32(pid, 1, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
|
||||
suspend;
|
||||
class_0A1A_slot_44(arg_06);
|
||||
WALLGUN.slot_44(arg_06);
|
||||
ammo = retval;
|
||||
dir = (dir & 15);
|
||||
class_0A1A_slot_3E(dir, arg_06);
|
||||
WALLGUN.slot_3E(dir, arg_06);
|
||||
x1 = retval;
|
||||
class_0A1A_slot_3F(dir, arg_06);
|
||||
WALLGUN.slot_3F(dir, arg_06);
|
||||
y1 = retval;
|
||||
class_0A1A_slot_40(dir, arg_06);
|
||||
WALLGUN.slot_40(dir, arg_06);
|
||||
z1 = retval;
|
||||
class_0A1A_slot_29(arg_06);
|
||||
WALLGUN.slot_29(arg_06);
|
||||
if (!retval) {
|
||||
class_0A1A_slot_41(dir, arg_06);
|
||||
WALLGUN.slot_41(dir, arg_06);
|
||||
x2 = retval;
|
||||
class_0A1A_slot_42(dir, arg_06);
|
||||
WALLGUN.slot_42(dir, arg_06);
|
||||
y2 = retval;
|
||||
class_0A1A_slot_43(dir, arg_06);
|
||||
WALLGUN.slot_43(dir, arg_06);
|
||||
z2 = retval;
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue