This commit is contained in:
MaddoScientisto 2026-03-25 23:32:36 +01:00
commit f92d1504fa
547 changed files with 37597 additions and 0 deletions

View file

@ -0,0 +1,14 @@
function hover_ns_leaveFastArea() /* entry=146 class_id=0x02AD slot=0x10 */
{
entry:
set_info(0x021C, *(arg_06));
process_exclude();
if ((Intrinsic00BE(arg_06) & 64) != 0) goto block_0240;
block_0231:
/* bit_not */
block_0240:
return;
}

View file

@ -0,0 +1,8 @@
function ionic_use() /* entry=305 class_id=0x052E slot=0x01 */
{
entry:
set_info(0x0207, *(arg_06));
process_exclude();
return;
}

View file

@ -0,0 +1,15 @@
function item_slot_20() /* entry=400 class_id=0x0A1E slot=0x20 */
{
var
referent, /* [BP+00h] type=0x69 */
destx, /* [BP+0Ah] type=0x69 */
desty, /* [BP+0Ch] type=0x69 */
truncate; /* [BP+0Eh] type=0x62 */
entry:
goto block_0150;
block_0150:
return;
}

View file

@ -0,0 +1,32 @@
function item_slot_21() /* entry=400 class_id=0x0A1E slot=0x21 */
{
var
referent, /* [BP+00h] type=0x69 */
targetRef, /* [BP+0Ah] type=0x69 */
targetItem, /* [BP-02h] type=0x24 */
item; /* [BP-04h] type=0x24 */
entry:
targetItem = targetRef;
if targetRef goto block_01EA;
block_01A1:
if (Intrinsic003C(targetItem) != 6) goto block_01EA;
block_01B9:
/* loopscr value_u8=0x24 */
/* loop current_var=0xFC string_bytes=0x1 loop_type=0x4 */
block_01C9:
if condition goto block_01E8;
block_01CC:
/* loopnext */
goto block_01C9;
block_01E8:
block_01EA:
return;
}

View file

@ -0,0 +1,15 @@
function item_slot_22() /* entry=400 class_id=0x0A1E slot=0x22 */
{
entry:
if (Item.getStatus(arg_06) & arg_0A) goto block_025A;
block_0249:
/* bit_not */
goto block_0267;
block_025A:
block_0267:
return;
}

View file

@ -0,0 +1,6 @@
function item_slot_23() /* entry=400 class_id=0x0A1E slot=0x23 */
{
entry:
return;
}

View file

@ -0,0 +1,7 @@
function item_slot_24() /* entry=400 class_id=0x0A1E slot=0x24 */
{
entry:
/* bit_not */
return;
}

View file

@ -0,0 +1,219 @@
function item_slot_25() /* entry=400 class_id=0x0A1E slot=0x25 */
{
var
referent, /* [BP+00h] type=0x69 */
destX, /* [BP+0Ah] type=0x69 */
destY, /* [BP+0Ch] type=0x69 */
destZ, /* [BP+0Eh] type=0x62 */
vel, /* [BP+10h] type=0x69 */
currentP, /* [BP-05h] type=0x24 */
x, /* [BP-07h] type=0x69 */
y, /* [BP-09h] type=0x69 */
z, /* [BP-0Ah] type=0x62 */
w, /* [BP-0Ch] type=0x69 */
h, /* [BP-0Eh] type=0x69 */
counter, /* [BP-10h] type=0x69 */
minor, /* [BP-12h] type=0x69 */
r, /* [BP-14h] type=0x69 */
q, /* [BP-16h] type=0x69 */
oabs, /* [BP-18h] type=0x69 */
v, /* [BP-1Ah] type=0x69 */
ovel, /* [BP-1Ch] type=0x69 */
c, /* [BP-1Eh] type=0x69 */
axis, /* [BP-20h] type=0x69 */
ztarg, /* [BP-22h] type=0x69 */
zcur, /* [BP-24h] type=0x69 */
dif; /* [BP-26h] type=0x69 */
entry:
set_info(1, *(arg_06));
x = Intrinsic0013(arg_06);
y = Item.legal_create(arg_06);
z = Item.getZ(arg_06);
w = ((destX - x) + 1);
h = ((destY - y) + 1);
counter = 0;
minor = 1;
ovel = vel;
c = 0;
axis = 1;
class_0A0C_slot_3F(w);
class_0A0C_slot_3F(retval, h);
if retval goto block_03A2;
block_039B:
axis = 0;
block_03A2:
if (axis != 0) goto block_040D;
block_03AD:
class_0A0C_slot_3F(((h / w) * w));
q = retval;
/* mod */
class_0A0C_slot_3F(h, w);
r = retval;
if (w < 0) goto block_03E9;
block_03DF:
ovel = (-1 * vel);
block_03E9:
if (h < 0) goto block_03FB;
block_03F4:
minor = -1;
block_03FB:
class_0A0C_slot_3F(w);
oabs = retval;
goto block_046A;
block_040D:
class_0A0C_slot_3F(((w / h) * h));
q = retval;
/* mod */
class_0A0C_slot_3F(w, h);
r = retval;
if (h < 0) goto block_0449;
block_043F:
ovel = (-1 * vel);
block_0449:
if (w < 0) goto block_045B;
block_0454:
minor = -1;
block_045B:
class_0A0C_slot_3F(h);
oabs = retval;
block_046A:
suspend;
zcur = (z & 0x00FF);
ztarg = (destZ & 0x00FF);
if (zcur != ztarg) goto block_04EC;
block_0498:
class_0A0C_slot_3F((ztarg - zcur));
dif = ((retval / 20) + 1);
if (dif != 0) goto block_04BF;
block_04BB:
dif = 1;
block_04BF:
if (zcur < ztarg) goto block_04D7;
block_04CA:
z = (z + dif);
goto block_04EC;
block_04D7:
zcur = (zcur - dif);
z = (zcur & 0x00FF);
block_04EC:
if (c >= oabs) goto block_0555;
block_04F7:
if (zcur > (ztarg - 2)) goto block_051D;
block_0505:
if (zcur < (ztarg + 2)) goto block_051D;
block_0513:
/* word_to_dword */
/* pop_result */
goto block_067E;
block_051D:
currentP = x;
local_03 = y;
local_01 = z;
if (!Item.pop(0, 1, currentP, arg_06)) goto block_0552;
block_0548:
/* word_to_dword */
/* pop_result */
goto block_067E;
block_0552:
goto block_067B;
block_0555:
c = (c + vel);
if (axis != 0) goto block_05F4;
block_056A:
currentP = x;
local_03 = y;
local_01 = z;
if (!Item.pop(0, 1, currentP, arg_06)) goto block_059F;
block_0595:
/* word_to_dword */
/* pop_result */
goto block_067E;
block_059F:
x = (x + ovel);
v = 1;
block_05B0:
if (v <= vel) goto block_05F1;
block_05B8:
counter = (counter + (r + q));
if (counter >= oabs) goto block_05E4;
block_05D0:
counter = (counter - oabs);
y = (y + minor);
block_05E4:
v = (1 + v);
goto block_05B0;
block_05F1:
goto block_067B;
block_05F4:
currentP = x;
local_03 = y;
local_01 = z;
if (!Item.pop(0, 1, currentP, arg_06)) goto block_0629;
block_061F:
/* word_to_dword */
/* pop_result */
goto block_067E;
block_0629:
y = (y + ovel);
v = 1;
block_063A:
if (v <= vel) goto block_067B;
block_0642:
counter = (counter + (r + q));
if (counter >= oabs) goto block_066E;
block_065A:
counter = (counter - oabs);
x = (x + minor);
block_066E:
v = (1 + v);
goto block_063A;
block_067B:
goto block_046A;
block_067E:
return;
}

View file

@ -0,0 +1,183 @@
function item_slot_26() /* entry=400 class_id=0x0A1E slot=0x26 */
{
var
referent, /* [BP+00h] type=0x69 */
destX, /* [BP+0Ah] type=0x69 */
destY, /* [BP+0Ch] type=0x69 */
destZ, /* [BP+0Eh] type=0x62 */
vel, /* [BP+10h] type=0x69 */
x, /* [BP-02h] type=0x69 */
y, /* [BP-04h] type=0x69 */
z, /* [BP-05h] type=0x62 */
w, /* [BP-07h] type=0x69 */
h, /* [BP-09h] type=0x69 */
counter, /* [BP-0Bh] type=0x69 */
minor, /* [BP-0Dh] type=0x69 */
r, /* [BP-0Fh] type=0x69 */
q, /* [BP-11h] type=0x69 */
oabs, /* [BP-13h] type=0x69 */
v, /* [BP-15h] type=0x69 */
ovel, /* [BP-17h] type=0x69 */
c, /* [BP-19h] type=0x69 */
axis, /* [BP-1Bh] type=0x69 */
ztarg, /* [BP-1Dh] type=0x69 */
zcur, /* [BP-1Fh] type=0x69 */
dif; /* [BP-21h] type=0x69 */
entry:
set_info(1, *(arg_06));
x = Intrinsic0013(arg_06);
y = Item.legal_create(arg_06);
z = Item.getZ(arg_06);
w = ((destX - x) + 1);
h = ((destY - y) + 1);
counter = 0;
minor = 1;
ovel = vel;
c = 0;
axis = 1;
class_0A0C_slot_3F(w);
class_0A0C_slot_3F(retval, h);
if retval goto block_07E7;
block_07E0:
axis = 0;
block_07E7:
if (axis != 0) goto block_0852;
block_07F2:
class_0A0C_slot_3F(((h / w) * w));
q = retval;
/* mod */
class_0A0C_slot_3F(h, w);
r = retval;
if (w < 0) goto block_082E;
block_0824:
ovel = (-1 * vel);
block_082E:
if (h < 0) goto block_0840;
block_0839:
minor = -1;
block_0840:
class_0A0C_slot_3F(w);
oabs = retval;
goto block_08AF;
block_0852:
class_0A0C_slot_3F(((w / h) * h));
q = retval;
/* mod */
class_0A0C_slot_3F(w, h);
r = retval;
if (h < 0) goto block_088E;
block_0884:
ovel = (-1 * vel);
block_088E:
if (w < 0) goto block_08A0;
block_0899:
minor = -1;
block_08A0:
class_0A0C_slot_3F(h);
oabs = retval;
block_08AF:
suspend;
zcur = (z & 0x00FF);
ztarg = (destZ & 0x00FF);
if (zcur != ztarg) goto block_0931;
block_08DD:
class_0A0C_slot_3F((ztarg - zcur));
dif = ((retval / 20) + 1);
if (dif != 0) goto block_0904;
block_0900:
dif = 1;
block_0904:
if (zcur < ztarg) goto block_091C;
block_090F:
z = (z + dif);
goto block_0931;
block_091C:
zcur = (zcur - dif);
z = (zcur & 0x00FF);
block_0931:
if (c >= oabs) goto block_0972;
block_093C:
if (zcur > (ztarg - 2)) goto block_095E;
block_094A:
if (zcur < (ztarg + 2)) goto block_095E;
block_0958:
goto block_0A53;
block_095E:
goto block_0A50;
block_0972:
c = (c + vel);
if (axis != 0) goto block_09ED;
block_0987:
x = (x + ovel);
v = 1;
block_09A9:
if (v <= vel) goto block_09EA;
block_09B1:
counter = (counter + (r + q));
if (counter >= oabs) goto block_09DD;
block_09C9:
counter = (counter - oabs);
y = (y + minor);
block_09DD:
v = (1 + v);
goto block_09A9;
block_09EA:
goto block_0A50;
block_09ED:
y = (y + ovel);
v = 1;
block_0A0F:
if (v <= vel) goto block_0A50;
block_0A17:
counter = (counter + (r + q));
if (counter >= oabs) goto block_0A43;
block_0A2F:
counter = (counter - oabs);
x = (x + minor);
block_0A43:
v = (1 + v);
goto block_0A0F;
block_0A50:
goto block_08AF;
block_0A53:
return;
}

View file

@ -0,0 +1,43 @@
function item_slot_27() /* entry=400 class_id=0x0A1E slot=0x27 */
{
var
referent, /* [BP+00h] type=0x69 */
damageRef, /* [BP+0Ah] type=0x69 */
vel, /* [BP+0Ch] type=0x69 */
maxHits, /* [BP+0Eh] type=0x69 */
damagePoints, /* [BP-02h] type=0x69 */
currentHits, /* [BP-04h] type=0x69 */
newHits; /* [BP-06h] type=0x69 */
entry:
set_info(1, *(arg_06));
if (damageRef != 0x4000) goto block_0B3C;
block_0B32:
/* word_to_dword */
/* pop_result */
goto block_0BA1;
block_0B3C:
damagePoints = (vel & 0x00FF);
currentHits = Item.getNpcNum(arg_06);
newHits = (currentHits + damagePoints);
if (newHits >= maxHits) goto block_0B8A;
block_0B70:
/* word_to_dword */
/* pop_result */
goto block_0BA1;
block_0B87:
goto block_0BA1;
block_0B8A:
/* word_to_dword */
/* pop_result */
goto block_0BA1;
block_0BA1:
return;
}

View file

@ -0,0 +1,90 @@
function item_slot_28() /* entry=400 class_id=0x0A1E slot=0x28 */
{
var
referent, /* [BP+00h] type=0x69 */
boomType, /* [BP+0Ah] type=0x69 */
selfDestruct, /* [BP+0Ch] type=0x62 */
item, /* [BP-02h] type=0x24 */
origin, /* [BP-04h] type=0x24 */
bigBomb, /* [BP-05h] type=0x62 */
x, /* [BP-07h] type=0x69 */
y; /* [BP-09h] type=0x69 */
entry:
set_info(0x020A, *(arg_06));
if (*(arg_06) != 0x4000) goto block_0C30;
block_0C2A:
goto block_0EF7;
block_0C30:
bigBomb = 0;
x = Intrinsic0013(arg_06);
y = Item.legal_create(arg_06);
if (boomType != 1) goto block_0D4D;
block_0C71:
if (Intrinsic00DA(2, 0) != 1) goto block_0CC0;
block_0C82:
goto block_0D4A;
block_0CC0:
if (Intrinsic00DA(2, 0) != 2) goto block_0D0F;
block_0CD1:
goto block_0D4A;
block_0D0F:
block_0D4A:
goto block_0EC3;
block_0D4D:
if (boomType != 2) goto block_0E2E;
block_0D55:
if (Intrinsic00DA(2, 0) != 1) goto block_0DA3;
block_0D66:
goto block_0E2B;
block_0DA3:
if (Intrinsic00DA(2, 0) != 2) goto block_0DF1;
block_0DB4:
goto block_0E2B;
block_0DF1:
block_0E2B:
goto block_0EC3;
block_0E2E:
if (boomType != 0) goto block_0EC3;
block_0E36:
if (Intrinsic00DA(1, 0) != 1) goto block_0E85;
block_0E47:
goto block_0EC0;
block_0E85:
block_0EC0:
goto block_0EC3;
block_0EC3:
origin = *(arg_06);
set_info(0x020A, 0);
if selfDestruct goto block_0EF7;
block_0EDD:
if (origin != 0x4000) goto block_0EF7;
block_0EEC:
block_0EF7:
return;
}

View file

@ -0,0 +1,65 @@
function item_slot_29() /* entry=400 class_id=0x0A1E slot=0x29 */
{
var
referent, /* [BP+00h] type=0x69 */
item, /* [BP-02h] type=0x24 */
x, /* [BP-04h] type=0x69 */
y, /* [BP-06h] type=0x69 */
z, /* [BP-08h] type=0x69 */
onSomething, /* [BP-09h] type=0x62 */
failTest, /* [BP-0Ah] type=0x62 */
theType; /* [BP-0Ch] type=0x69 */
entry:
set_info(0x0001, *(arg_06));
/* loopscr value_u8=0x24 */
/* loop current_var=0xFE string_bytes=0x1 loop_type=0x2 */
block_0F7F:
if condition goto block_1055;
block_0F82:
if Item.andStatus(item, arg_06) goto block_1051;
block_0F93:
if (z > 1) goto block_0FBC;
block_0FAF:
failTest = 1;
goto block_1055;
block_0FBC:
theType = Intrinsic0016(item);
if (((((((((theType != 95) || (theType != 0x0096)) || (theType != 0x0132)) || (theType != 0x04CD)) || (theType != 0x0366)) || (theType != 0x0365)) || (theType != 0x0290)) || (theType != 0x0336)) || (theType != 0x0150)) goto block_104A;
block_103D:
failTest = 1;
goto block_1055;
block_104A:
onSomething = 1;
block_1051:
/* loopnext */
goto block_0F7F;
block_1055:
if ((failTest != 1) || (onSomething != 0)) goto block_1078;
block_106B:
/* word_to_dword */
/* pop_result */
goto block_1082;
block_1075:
goto block_1082;
block_1078:
/* word_to_dword */
/* pop_result */
goto block_1082;
block_1082:
return;
}

View file

@ -0,0 +1,25 @@
function item_slot_2A() /* entry=400 class_id=0x0A1E slot=0x2A */
{
var
referent, /* [BP+00h] type=0x69 */
item, /* [BP-02h] type=0x24 */
onFloor, /* [BP-03h] type=0x62 */
x, /* [BP-05h] type=0x69 */
y, /* [BP-07h] type=0x69 */
z, /* [BP-09h] type=0x69 */
burn; /* [BP-0Bh] type=0x24 */
set_info(0x0001, *(arg_06));
spawn class_0A1E_slot_29(pid, arg_06);
suspend;
/* dword_to_word */
if ((!process_result)) {
if ((x != 1) || (x == 2)) {
spawn class_0A1E_slot_2B(burn);
}
else if ((x != 3) || (x == 4)) {
spawn class_0A1E_slot_2B(burn);
}
}
return;
}

View file

@ -0,0 +1,69 @@
function item_slot_2B() /* entry=400 class_id=0x0A1E slot=0x2B */
{
var
referent, /* [BP+00h] type=0x69 */
burn, /* [BP-02h] type=0x24 */
burn2; /* [BP-04h] type=0x24 */
entry:
set_info(0x0001, *(arg_06));
spawn class_0A0C_slot_32(Intrinsic00DA(pid, 0x00C8, 100), 0x00000000);
suspend;
burn2 = *(arg_06);
if (Intrinsic0016(burn2) != 0x0456) goto block_14DD;
block_1421:
set_info(0x00F0, burn);
if Item.getQHi() goto block_14CF;
block_1484:
if ((Item.getFrame(burn) != 9) && (Intrinsic0007(arg_06) != 1)) goto block_14CF;
block_14A6:
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
suspend;
goto block_1484;
block_14CF:
goto block_1675;
block_14DD:
if (Intrinsic0016(burn2) != 0x044A) goto block_15A9;
block_14ED:
set_info(0x00F0, burn);
if Item.getQHi() goto block_159B;
block_1550:
if ((Item.getFrame(burn) != 9) && (Intrinsic0007(arg_06) != 1)) goto block_159B;
block_1572:
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
suspend;
goto block_1550;
block_159B:
goto block_1675;
block_15A9:
if (Intrinsic0016(burn2) != 0x0085) goto block_1675;
block_15B9:
set_info(0x00F0, burn);
if Item.getQHi() goto block_1667;
block_161C:
if ((Item.getFrame(burn) != 9) && (Intrinsic0007(arg_06) != 1)) goto block_1667;
block_163E:
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
suspend;
goto block_161C;
block_1667:
goto block_1675;
block_1675:
return;
}

View file

@ -0,0 +1,38 @@
function item_slot_2C() /* entry=400 class_id=0x0A1E slot=0x2C */
{
var
referent, /* [BP+00h] type=0x69 */
n; /* [BP-02h] type=0x24 */
entry:
set_info(0x0001, *(arg_06));
/* loopscr value_u8=0x24 */
/* loop current_var=0xFE string_bytes=0x1 loop_type=0x2 */
block_16C6:
if condition goto block_1701;
block_16C9:
if (n < 0x00FF) goto block_16FD;
block_16D8:
if ((n > 1) && (Intrinsic00C3(n) != 0)) goto block_16FD;
block_16F3:
/* word_to_dword */
/* pop_result */
goto block_170D;
block_16FD:
/* loopnext */
goto block_16C6;
block_1701:
/* word_to_dword */
/* pop_result */
goto block_170D;
block_170D:
return;
}

View file

@ -0,0 +1,118 @@
function item_slot_2D() /* entry=400 class_id=0x0A1E slot=0x2D */
{
var
referent, /* [BP+00h] type=0x69 */
egg1, /* [BP+0Ah] type=0x69 */
var, /* [BP+0Ch] type=0x69 */
monster1, /* [BP-02h] type=0x24 */
monster2, /* [BP-04h] type=0x24 */
link, /* [BP-06h] type=0x69 */
a, /* [BP-08h] type=0x69 */
newNpc, /* [BP-0Ah] type=0x24 */
npc, /* [BP-0Ch] type=0x24 */
ref; /* [BP-0Eh] type=0x69 */
entry:
set_info(0x021B, 0);
monster1 = egg1;
if (Item.getFrame(monster1) != 0) goto block_175C;
block_1756:
goto block_19BA;
block_175C:
link = Item.getNpcNum(monster1);
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x3D */
/* loopscr value_u8=0x40 */
/* loopscr value_u8=0x25 */
/* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
block_1786:
if condition goto block_19B8;
block_1789:
if (Item.getNpcNum(monster2) != link) goto block_19B4;
block_179B:
if (Item.getFrame(monster2) != 1) goto block_19B4;
block_17AD:
if ((var != 2) || (var != 3)) goto block_193C;
block_17C1:
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x3D */
/* loopscr value_u8=0x3A */
/* loopscr value_u8=0x25 */
/* loop current_var=0xF4 string_bytes=0x6 loop_type=0x2 */
block_17DC:
if condition goto block_1832;
block_17DF:
if Item.isNpc(npc) goto block_182E;
block_17EE:
if ((Item.getZ(npc) > (Item.getZ(arg_06) - 10)) && (Item.getZ(npc) < (Item.getZ(arg_06) + 10))) goto block_182E;
block_1824:
/* word_to_dword */
/* pop_result */
goto block_19BA;
block_182E:
/* loopnext */
goto block_17DC;
block_1832:
ref = Item.andStatus(monster2, arg_06);
if ref goto block_1939;
block_184C:
newNpc = ref;
a = (Item.getNpcNum(monster1) & 15);
if ((a != 2) || (a != 4)) goto block_1939;
block_1878:
suspend;
block_18FF:
if Item.touch(48, arg_06) goto block_1939;
block_1910:
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
suspend;
goto block_18FF;
block_1939:
goto block_1968;
block_193C:
ref = Item.andStatus(monster2, arg_06);
if ref goto block_1968;
block_1954:
newNpc = ref;
block_1968:
if ((var != 0) || (var != 2)) goto block_19AA;
block_197C:
spawn class_0A1E_slot_2E(monster2, monster1, arg_06);
block_19AA:
/* word_to_dword */
/* pop_result */
goto block_19BA;
block_19B4:
/* loopnext */
goto block_1786;
block_19B8:
block_19BA:
return;
}

View file

@ -0,0 +1,18 @@
function item_slot_2E() /* entry=400 class_id=0x0A1E slot=0x2E */
{
var
referent, /* [BP+00h] type=0x69 */
ref1, /* [BP+0Ah] type=0x69 */
ref2, /* [BP+0Ch] type=0x69 */
item1, /* [BP-02h] type=0x24 */
item2; /* [BP-04h] type=0x24 */
entry:
set_info(1, 0);
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
suspend;
item1 = ref1;
item2 = ref2;
return;
}

View file

@ -0,0 +1,8 @@
function jelyh2_use() /* entry=280 class_id=0x04D6 slot=0x01 */
{
entry:
set_info(0x0207, *(arg_06));
process_exclude();
return;
}

View file

@ -0,0 +1,8 @@
function jelyhack_use() /* entry=277 class_id=0x04D3 slot=0x01 */
{
entry:
set_info(0x0207, *(arg_06));
process_exclude();
return;
}

View file

@ -0,0 +1,13 @@
function john_use() /* entry=86 class_id=0x01AD slot=0x01 */
{
entry:
set_info(0x0207, *(arg_06));
process_exclude();
if (Item.getFrame(arg_06) < 2) goto block_010D;
block_0100:
block_010D:
return;
}

View file

@ -0,0 +1,19 @@
function john_cachein() /* entry=86 class_id=0x01AD slot=0x04 */
{
var
referent, /* [BP+00h] type=0x69 */
fram; /* [BP-02h] type=0x69 */
entry:
set_info(0x0213, *(arg_06));
process_exclude();
fram = Item.getFrame(arg_06);
if (fram > 1) goto block_0162;
block_0153:
class_0A1E_slot_23(0x1000, arg_06);
block_0162:
return;
}

View file

@ -0,0 +1,78 @@
function keypad_slot_20() /* entry=384 class_id=0x0A0E slot=0x20 */
{
var
referent, /* [BP+00h] type=0x69 */
valueBox, /* [BP-02h] type=0x24 */
boxesInArea, /* [BP-04h] type=0x69 */
linkedWithSwitch, /* [BP-05h] type=0x62 */
wrongCode, /* [BP-06h] type=0x62 */
userInput, /* [BP-08h] type=0x69 */
boxPasscode, /* [BP-0Ah] type=0x69 */
keycode; /* [BP-0Ch] type=0x69 */
entry:
set_info(0x0207, *(arg_06));
wrongCode = 0;
userInput = 0;
/* 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 */
block_011C:
if condition goto block_0163;
block_011F:
if (Item.getQHi(valueBox) != Item.getQHi(arg_06)) goto block_015F;
block_013B:
class_0A19_slot_20(valueBox);
boxPasscode = retval;
if (boxPasscode > 0x03E7) goto block_015F;
block_0159:
goto block_02AB;
block_015F:
/* loopnext */
goto block_011C;
block_0163:
if ((Item.getStatus(arg_06) & 0x1000) != 0) goto block_02AB;
block_017B:
keycode = Item.getQHi(boxPasscode);
if (keycode != -1) goto block_01BA;
block_01A5:
/* bit_not */
goto block_02AB;
block_01BA:
if (keycode != boxPasscode) goto block_022F;
block_01C5:
spawn class_0A0C_slot_32(pid, 60, 0x00000000);
suspend;
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
suspend;
goto block_029C;
block_022F:
spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
suspend;
spawn class_0A0C_slot_32(pid, 60, 0x00000000);
suspend;
if (!Intrinsic0000()) goto block_029C;
block_028B:
spawn class_0A0C_slot_3B(0x00000000);
block_029C:
/* bit_not */
block_02AB:
return;
}

View file

@ -0,0 +1,47 @@
function keypadew_use() /* entry=243 class_id=0x044C slot=0x01 */
{
var
referent, /* [BP+00h] type=0x69 */
alreadyPassed; /* [BP-01h] type=0x62 */
entry:
set_info(0x0207, *(arg_06));
process_exclude();
if (Item.getMapNum(arg_06) != 0) goto block_01CA;
block_00FD:
alreadyPassed = (Item.getStatus(arg_06) & 4);
if (alreadyPassed != 0) goto block_01A0;
block_0119:
if Intrinsic0000() goto block_017E;
block_0124:
block_0131:
if Item.touch(123, arg_06) goto block_016B;
block_0142:
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
suspend;
goto block_0131;
block_016B:
goto block_01CA;
block_017E:
spawn class_0A0E_slot_20(pid, arg_06);
suspend;
goto block_01C7;
block_01A0:
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
suspend;
block_01C7:
goto block_01CA;
block_01CA:
return;
}

View file

@ -0,0 +1,47 @@
function keypadns_use() /* entry=242 class_id=0x044B slot=0x01 */
{
var
referent, /* [BP+00h] type=0x69 */
alreadyPassed; /* [BP-01h] type=0x62 */
entry:
set_info(0x0207, *(arg_06));
process_exclude();
if (Item.getMapNum(arg_06) != 0) goto block_01CA;
block_00FD:
alreadyPassed = (Item.getStatus(arg_06) & 4);
if (alreadyPassed != 0) goto block_01A0;
block_0119:
if Intrinsic0000() goto block_017E;
block_0124:
block_0131:
if Item.touch(123, arg_06) goto block_016B;
block_0142:
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
suspend;
goto block_0131;
block_016B:
goto block_01CA;
block_017E:
spawn class_0A0E_slot_20(pid, arg_06);
suspend;
goto block_01C7;
block_01A0:
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
suspend;
block_01C7:
goto block_01CA;
block_01CA:
return;
}

View file

@ -0,0 +1,15 @@
function koresh_calledFromAnim() /* entry=327 class_id=0x0576 slot=0x0E */
{
var
referent, /* [BP+00h] type=0x69 */
n; /* [BP-02h] type=0x24 */
entry:
set_info(0x021A, *(arg_06));
process_exclude();
n = *(arg_06);
set_info(1, 0);
spawn class_0A1C_slot_20(Item.getQLo(arg_06), *(arg_06), n);
return;
}

View file

@ -0,0 +1,11 @@
function koresh_enterFastArea() /* entry=327 class_id=0x0576 slot=0x0F */
{
entry:
set_info(0x021B, *(arg_06));
process_exclude();
spawn class_0A0C_slot_32(pid, 1, 0x00000000);
suspend;
spawn class_0A1C_slot_20(Item.getQLo(arg_06), *(arg_06), arg_06);
return;
}

View file

@ -0,0 +1,232 @@
function landmine_use() /* entry=206 class_id=0x039A slot=0x01 */
{
var
referent, /* [BP+00h] type=0x69 */
InCrouch, /* [BP-01h] type=0x62 */
landMine, /* [BP-03h] type=0x24 */
item, /* [BP-05h] type=0x24 */
xOff, /* [BP-07h] type=0x69 */
yOff, /* [BP-09h] type=0x69 */
mine, /* [BP-0Bh] type=0x24 */
wp; /* [BP-10h] type=0x24 */
entry:
set_info(0x0207, *(arg_06));
process_exclude();
landMine = *(arg_06);
/* global_address global_id=0x3C */
if (Item.getType() != 40) goto block_013E;
block_010A:
goto block_0502;
block_013E:
set_info(0x00F0, 0);
block_0152:
/* global_address global_id=0x3C */
if Intrinsic0033() goto block_0188;
block_0162:
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
suspend;
goto block_0152;
block_0188:
/* global_address global_id=0x3C */
if (Intrinsic00FA() != 0) goto block_01A6;
block_0198:
xOff = -1;
yOff = -3;
goto block_0368;
block_01A6:
/* global_address global_id=0x3C */
if (Intrinsic00FA() != 1) goto block_01C4;
block_01B6:
xOff = 0;
yOff = -3;
goto block_0368;
block_01C4:
/* global_address global_id=0x3C */
if (Intrinsic00FA() != 2) goto block_01E2;
block_01D4:
xOff = 2;
yOff = -3;
goto block_0368;
block_01E2:
/* global_address global_id=0x3C */
if (Intrinsic00FA() != 3) goto block_0200;
block_01F2:
xOff = 2;
yOff = -2;
goto block_0368;
block_0200:
/* global_address global_id=0x3C */
if (Intrinsic00FA() != 4) goto block_021E;
block_0210:
xOff = 2;
yOff = -1;
goto block_0368;
block_021E:
/* global_address global_id=0x3C */
if (Intrinsic00FA() != 5) goto block_023C;
block_022E:
xOff = 2;
yOff = 0;
goto block_0368;
block_023C:
/* global_address global_id=0x3C */
if (Intrinsic00FA() != 6) goto block_025A;
block_024C:
xOff = 2;
yOff = 2;
goto block_0368;
block_025A:
/* global_address global_id=0x3C */
if (Intrinsic00FA() != 7) goto block_0278;
block_026A:
xOff = 0;
yOff = 2;
goto block_0368;
block_0278:
/* global_address global_id=0x3C */
if (Intrinsic00FA() != 8) goto block_0296;
block_0288:
xOff = -1;
yOff = 2;
goto block_0368;
block_0296:
/* global_address global_id=0x3C */
if (Intrinsic00FA() != 9) goto block_02B4;
block_02A6:
xOff = -2;
yOff = 2;
goto block_0368;
block_02B4:
/* global_address global_id=0x3C */
if (Intrinsic00FA() != 10) goto block_02D2;
block_02C4:
xOff = -3;
yOff = 2;
goto block_0368;
block_02D2:
/* global_address global_id=0x3C */
if (Intrinsic00FA() != 11) goto block_02F0;
block_02E2:
xOff = -3;
yOff = 1;
goto block_0368;
block_02F0:
/* global_address global_id=0x3C */
if (Intrinsic00FA() != 12) goto block_030E;
block_0300:
xOff = -3;
yOff = 0;
goto block_0368;
block_030E:
/* global_address global_id=0x3C */
if (Intrinsic00FA() != 13) goto block_032C;
block_031E:
xOff = -3;
yOff = -1;
goto block_0368;
block_032C:
/* global_address global_id=0x3C */
if (Intrinsic00FA() != 14) goto block_034A;
block_033C:
xOff = -3;
yOff = -2;
goto block_0368;
block_034A:
/* global_address global_id=0x3C */
if (Intrinsic00FA() != 15) goto block_0368;
block_035A:
xOff = -3;
yOff = -3;
goto block_0368;
block_0368:
/* global_address global_id=0x3C */
if Intrinsic0035() goto block_0382;
block_0378:
InCrouch = 1;
goto block_03B9;
block_0382:
InCrouch = 0;
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
suspend;
block_03B9:
/* global_address global_id=0x3C */
wp = (Intrinsic0013() + (xOff * 16));
/* global_address global_id=0x3C */
local_0E = (Item.legal_create() + (yOff * 16));
/* global_address global_id=0x3C */
local_0C = Item.getZ();
if Item.getSurfaceWeight(wp, 0, 0x039A, mine) goto block_0416;
block_0408:
goto block_048E;
block_0416:
if (!InCrouch) goto block_047D;
block_044D:
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
suspend;
block_047D:
goto block_0502;
block_048E:
if (!InCrouch) goto block_04C7;
block_0497:
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
suspend;
block_04C7:
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
suspend;
block_0502:
return;
}

View file

@ -0,0 +1,46 @@
function landmine_gotHit() /* entry=206 class_id=0x039A slot=0x06 */
{
var
referent, /* [BP+00h] type=0x69 */
ref, /* [BP+0Ah] type=0x69 */
vel, /* [BP+0Ch] type=0x69 */
hType, /* [BP-02h] type=0x69 */
item; /* [BP-04h] type=0x24 */
entry:
set_info(0x020C, *(arg_06));
process_exclude();
if (ref != 1) goto block_0585;
block_057F:
goto block_05F3;
block_0585:
class_0A0C_slot_2C(vel, ref);
hType = retval;
if hType goto block_05CA;
block_059E:
if (hType != 4) goto block_05B8;
block_05AF:
goto block_05F3;
block_05B5:
goto block_05C7;
block_05B8:
block_05C7:
goto block_05F3;
block_05CA:
item = ref;
if Item.setQuality(*(arg_06), item) goto block_05F3;
block_05E4:
block_05F3:
return;
}

View file

@ -0,0 +1,28 @@
function laseri_gotHit() /* entry=108 class_id=0x01D5 slot=0x06 */
{
var
referent, /* [BP+00h] type=0x69 */
ref, /* [BP+0Ah] type=0x69 */
vel, /* [BP+0Ch] type=0x69 */
laser, /* [BP-02h] type=0x24 */
hType, /* [BP-04h] type=0x69 */
QLo, /* [BP-06h] type=0x69 */
p; /* [BP-08h] type=0x69 */
set_info(0x020C, *(arg_06));
process_exclude();
class_0A0C_slot_2C(vel, ref);
hType = retval;
QLo = Item.getQHi(arg_06);
class_0A0C_slot_2C(vel, ref);
if ((!retval)) {
spawn class_0A1E_slot_27(pid, 50, vel, ref, arg_06);
suspend;
/* dword_to_word */
p = process_result;
if ((hType == 4) && (!p)) {
}
return;
}
return;
}

View file

@ -0,0 +1,107 @@
function lazer_slot_20() /* entry=385 class_id=0x0A0F slot=0x20 */
{
var
referent, /* [BP+00h] type=0x69 */
item, /* [BP-02h] type=0x24 */
monster, /* [BP-04h] type=0x24 */
dir; /* [BP-06h] type=0x69 */
entry:
set_info(0x0205, *(arg_06));
set_info(0x0205, *(arg_06));
if ((Item.getStatus(arg_06) & 0x1000) || (Item.getFrame(arg_06) != 0)) goto block_0121;
block_011B:
goto block_0301;
block_0121:
class_0A1E_slot_23(0x1000, arg_06);
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x48 */
/* loop current_var=0xFE string_bytes=0x12 loop_type=0x2 */
block_016B:
if condition goto block_019D;
block_016E:
if (Item.getQHi(arg_06) != Item.getQHi(item)) goto block_0199;
block_018A:
class_0A1E_slot_23(0x1000, item);
block_0199:
/* loopnext */
goto block_016B;
block_019D:
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x3D */
/* loopscr value_u8=0x3A */
/* loopscr value_u8=0x25 */
/* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
block_01BC:
if condition goto block_0281;
block_01BF:
if (monster <= 0x0100) goto block_027D;
block_01CE:
if Item.overlaps(monster, arg_06) goto block_027D;
block_01DF:
if (monster != Item.pop()) goto block_0258;
block_01F0:
dir = Intrinsic00FA(monster);
if (dir < 8) goto block_0219;
block_020C:
dir = (dir + 8);
goto block_0223;
block_0219:
dir = (dir - 8);
block_0223:
class_0A11_slot_2B(monster);
if (!retval) goto block_0255;
block_0237:
block_0255:
goto block_027D;
block_0258:
spawn class_0A11_slot_2C(pid, *(arg_06), monster);
suspend;
block_027D:
/* loopnext */
goto block_01BC;
block_0281:
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x48 */
/* loop current_var=0xFE string_bytes=0x12 loop_type=0x2 */
block_02BE:
if condition goto block_02F0;
block_02C1:
if (Item.getQHi(arg_06) != Item.getQHi(item)) goto block_02EC;
block_02DD:
class_0A1E_slot_24(0x1000, item);
block_02EC:
/* loopnext */
goto block_02BE;
block_02F0:
class_0A1E_slot_24(0x1000, arg_06);
block_0301:
return;
}

View file

@ -0,0 +1,44 @@
function lazeregg_hatch() /* entry=352 class_id=0x090C slot=0x07 */
{
var
referent, /* [BP+00h] type=0x69 */
laser, /* [BP-02h] type=0x24 */
id; /* [BP-04h] type=0x69 */
entry:
set_info(0x0210, *(arg_06));
process_exclude();
id = 0;
id = Intrinsic003F(arg_06);
/* 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 */
block_011E:
if condition goto block_0169;
block_0121:
if (Item.getFrame(laser) != 1) goto block_013F;
block_0136:
goto block_016B;
block_013C:
goto block_0165;
block_013F:
spawn class_0A0C_slot_31(pid, laser, 0x00000000);
suspend;
block_0165:
/* loopnext */
goto block_011E;
block_0169:
block_016B:
return;
}

View file

@ -0,0 +1,33 @@
function lazerew_equip() /* entry=83 class_id=0x019C slot=0x0A */
{
entry:
set_info(0x0211, *(arg_06));
process_exclude();
if (Item.getFrame(arg_06) < 4) goto block_046D;
block_03C9:
if (arg_0A != 1) goto block_03E8;
block_03D7:
spawn class_019C_slot_20(arg_06);
goto block_046D;
block_03E8:
if (arg_0A > 1) goto block_044D;
block_03F6:
spawn class_019C_slot_20(arg_06);
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
suspend;
class_0A1E_slot_24(0x1000, arg_06);
class_0A0C_slot_33(0x0205, *(arg_06));
goto block_046D;
block_044D:
class_0A1E_slot_24(0x1000, arg_06);
class_0A0C_slot_33(0x0205, *(arg_06));
block_046D:
return;
}

View file

@ -0,0 +1,10 @@
function lazerew_leaveFastArea() /* entry=83 class_id=0x019C slot=0x10 */
{
entry:
set_info(0x021C, *(arg_06));
process_exclude();
class_0A1E_slot_24(0x1000, arg_06);
class_0A0C_slot_33(0x0205, *(arg_06));
return;
}

View file

@ -0,0 +1,52 @@
function lazerew_slot_20() /* entry=83 class_id=0x019C slot=0x20 */
{
var
referent, /* [BP+00h] type=0x69 */
fram, /* [BP-02h] type=0x69 */
item, /* [BP-04h] type=0x24 */
x, /* [BP-06h] type=0x69 */
y; /* [BP-08h] type=0x69 */
entry:
set_info(0x0205, *(arg_06));
if (Item.getStatus(arg_06) & 0x1000) goto block_010F;
block_0109:
goto block_0322;
block_010F:
class_0A1E_slot_23(0x1000, arg_06);
fram = Item.getFrame(arg_06);
block_012C:
suspend;
if (fram != 1) goto block_01A0;
block_0141:
goto block_02F0;
block_01A0:
if (fram != 2) goto block_0207;
block_01A8:
goto block_02F0;
block_0207:
if (fram != 3) goto block_0294;
block_020F:
spawn class_0A0C_slot_32(pid, 100, 0x00000000);
suspend;
goto block_02F0;
block_0294:
block_02F0:
spawn class_0A0C_slot_32(pid, ((5 - Intrinsic0029()) * 20), 0x00000000);
suspend;
goto block_012C;
block_0322:
return;
}

View file

@ -0,0 +1,33 @@
function lazerns_equip() /* entry=82 class_id=0x019B slot=0x0A */
{
entry:
set_info(0x0211, *(arg_06));
process_exclude();
if (Item.getFrame(arg_06) < 4) goto block_046A;
block_03C6:
if (arg_0A != 1) goto block_03E5;
block_03D4:
spawn class_019B_slot_20(arg_06);
goto block_046A;
block_03E5:
if (arg_0A > 1) goto block_044A;
block_03F3:
spawn class_019B_slot_20(arg_06);
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
suspend;
class_0A1E_slot_24(0x1000, arg_06);
class_0A0C_slot_33(0x0205, *(arg_06));
goto block_046A;
block_044A:
class_0A1E_slot_24(0x1000, arg_06);
class_0A0C_slot_33(0x0205, *(arg_06));
block_046A:
return;
}

View file

@ -0,0 +1,10 @@
function lazerns_leaveFastArea() /* entry=82 class_id=0x019B slot=0x10 */
{
entry:
set_info(0x021C, *(arg_06));
process_exclude();
class_0A1E_slot_24(0x1000, arg_06);
class_0A0C_slot_33(0x0205, *(arg_06));
return;
}

View file

@ -0,0 +1,52 @@
function lazerns_slot_20() /* entry=82 class_id=0x019B slot=0x20 */
{
var
referent, /* [BP+00h] type=0x69 */
fram, /* [BP-02h] type=0x69 */
item, /* [BP-04h] type=0x24 */
x, /* [BP-06h] type=0x69 */
y; /* [BP-08h] type=0x69 */
entry:
set_info(0x0205, *(arg_06));
if (Item.getStatus(arg_06) & 0x1000) goto block_010F;
block_0109:
goto block_031F;
block_010F:
class_0A1E_slot_23(0x1000, arg_06);
fram = Item.getFrame(arg_06);
block_012C:
suspend;
if (fram != 1) goto block_01A0;
block_0141:
goto block_02ED;
block_01A0:
if (fram != 2) goto block_0207;
block_01A8:
goto block_02ED;
block_0207:
if (fram != 3) goto block_0294;
block_020F:
spawn class_0A0C_slot_32(pid, 100, 0x00000000);
suspend;
goto block_02ED;
block_0294:
block_02ED:
spawn class_0A0C_slot_32(pid, ((5 - Intrinsic0029()) * 20), 0x00000000);
suspend;
goto block_012C;
block_031F:
return;
}

View file

@ -0,0 +1,26 @@
function lift_use() /* entry=52 class_id=0x0133 slot=0x01 */
{
entry:
set_info(0x0207, *(arg_06));
process_exclude();
if (Intrinsic007E(arg_06) != 10) goto block_0591;
block_0545:
spawn class_0133_slot_20(pid, arg_06);
suspend;
/* global_address global_id=0x3C */
suspend;
goto block_05C2;
block_0591:
if (Intrinsic007E(arg_06) != 20) goto block_05C2;
block_05A0:
spawn class_0133_slot_20(pid, arg_06);
suspend;
goto block_05C2;
block_05C2:
return;
}

View file

@ -0,0 +1,19 @@
function lift_gotHit() /* entry=52 class_id=0x0133 slot=0x06 */
{
var
referent, /* [BP+00h] type=0x69 */
ref, /* [BP+0Ah] type=0x69 */
vel, /* [BP+0Ch] type=0x69 */
item; /* [BP-02h] type=0x24 */
set_info(0x020C, *(arg_06));
process_exclude();
item = ref;
class_0A0C_slot_2C(vel, ref);
if (retval) {
if (ref == 1) {
}
return;
}
return;
}

View file

@ -0,0 +1,34 @@
function lift_enterFastArea() /* entry=52 class_id=0x0133 slot=0x0F */
{
entry:
set_info(0x021B, *(arg_06));
process_exclude();
if (Intrinsic007E(arg_06) != 2) goto block_0192;
block_0100:
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
suspend;
spawn class_0133_slot_20(arg_06);
suspend;
goto block_0233;
block_0192:
if (Intrinsic007E(arg_06) != 20) goto block_0233;
block_01A1:
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
suspend;
spawn class_0133_slot_20(arg_06);
suspend;
goto block_0233;
block_0233:
return;
}

View file

@ -0,0 +1,81 @@
function lift_slot_20() /* entry=52 class_id=0x0133 slot=0x20 */
{
var
referent, /* [BP+00h] type=0x69 */
counter, /* [BP-02h] type=0x69 */
total, /* [BP-04h] type=0x69 */
alt, /* [BP-06h] type=0x69 */
wp, /* [BP-0Bh] type=0x24 */
cargo, /* [BP-0Dh] type=0x24 */
cargoType; /* [BP-0Fh] type=0x69 */
entry:
set_info(0x0001, *(arg_06));
alt = 1;
block_05F2:
if (alt <= 47) goto block_077A;
block_05FA:
wp = Intrinsic0013(arg_06);
local_09 = Item.legal_create(arg_06);
local_07 = (Item.getZ(arg_06) - 2);
total = 0;
/* loopscr value_u8=0x24 */
/* loop current_var=0xF3 string_bytes=0x1 loop_type=0x6 */
block_063E:
if condition goto block_067B;
block_0641:
cargoType = Intrinsic0016(cargo);
if (cargo != *(arg_06)) goto block_0677;
block_0662:
total = (1 + total);
block_0677:
/* loopnext */
goto block_063E;
block_067B:
if Item.pop(0, 1, wp, arg_06) goto block_070D;
block_0692:
counter = 1;
block_0699:
if (counter <= total) goto block_06E4;
block_06A4:
cargo = Intrinsic0023();
counter = (1 + counter);
goto block_0699;
block_06E4:
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
suspend;
goto block_076D;
block_070D:
counter = 1;
block_071F:
if (counter <= total) goto block_0767;
block_072A:
cargo = Intrinsic0023();
counter = (1 + counter);
goto block_071F;
block_0767:
goto block_077A;
block_076D:
alt = (1 + alt);
goto block_05F2;
block_077A:
return;
}

View file

@ -0,0 +1,20 @@
function liftpit_gotHit() /* entry=155 class_id=0x02DE slot=0x06 */
{
var
referent, /* [BP+00h] type=0x69 */
ref, /* [BP+0Ah] type=0x69 */
vel, /* [BP+0Ch] type=0x69 */
n; /* [BP-02h] type=0x24 */
entry:
set_info(0x020C, *(arg_06));
process_exclude();
if ((ref < 0x00FF) && (ref != Item.pop())) goto block_010A;
block_0103:
n = ref;
block_010A:
return;
}

View file

@ -0,0 +1,75 @@
function litewall_slot_20() /* entry=386 class_id=0x0A10 slot=0x20 */
{
var
referent, /* [BP+00h] type=0x69 */
r, /* [BP+0Ah] type=0x69 */
wall, /* [BP-02h] type=0x24 */
tempType, /* [BP-04h] type=0x69 */
realType, /* [BP-06h] type=0x69 */
counter; /* [BP-08h] type=0x69 */
entry:
set_info(0x0001, *(arg_06));
set_info(1, r);
wall = r;
counter = 0;
if (Intrinsic0016(wall) != 0x045E) goto block_012F;
block_011C:
realType = 0x045E;
tempType = 0x0462;
goto block_0198;
block_012F:
if (Intrinsic0016(wall) != 0x045F) goto block_0152;
block_013F:
realType = 0x045F;
tempType = 0x0463;
goto block_0198;
block_0152:
if (Intrinsic0016(wall) != 0x0460) goto block_0175;
block_0162:
realType = 0x0460;
tempType = 0x0464;
goto block_0198;
block_0175:
if (Intrinsic0016(wall) != 0x0461) goto block_0198;
block_0185:
realType = 0x0461;
tempType = 0x0465;
goto block_0198;
block_0198:
block_01A5:
if (counter < 4) goto block_01F3;
block_01B3:
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
suspend;
counter = (1 + counter);
goto block_01A5;
block_01F3:
spawn class_0A0C_slot_32(pid, 3, 0x00000000);
suspend;
block_0219:
if counter goto block_0261;
block_0221:
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
suspend;
counter = (counter - 1);
goto block_0219;
block_0261:
/* pop_global global_id=0x5 size=0x1 */
return;
}

View file

@ -0,0 +1,82 @@
function litewall_slot_21() /* entry=386 class_id=0x0A10 slot=0x21 */
{
var
referent, /* [BP+00h] type=0x69 */
r, /* [BP+0Ah] type=0x69 */
stepper, /* [BP-02h] type=0x24 */
item, /* [BP-04h] type=0x24 */
wall, /* [BP-06h] type=0x24 */
wallList, /* [BP-08h] type=0x6C */
x, /* [BP-0Ah] type=0x69 */
y, /* [BP-0Ch] type=0x69 */
z, /* [BP-0Dh] type=0x62 */
dist, /* [BP-0Fh] type=0x69 */
aSet, /* [BP-11h] type=0x69 */
aSet1, /* [BP-13h] type=0x69 */
aSet2, /* [BP-15h] type=0x69 */
aSet3; /* [BP-17h] type=0x69 */
entry:
set_info(0x0001, *(arg_06));
if global[0x0005] goto block_02ED;
block_02EA:
goto block_044D;
block_02ED:
stepper = r;
wall = 0;
dist = 21;
aSet = Item.isOn(stepper);
aSet1 = 3;
aSet2 = 48;
aSet3 = 49;
if (((Item.isOn(stepper) != 3) || (Item.isOn(stepper) != 48)) || (Item.isOn(stepper) != 49)) goto block_044D;
block_035A:
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x44 */
/* loop current_var=0xFC string_bytes=0xA loop_type=0x2 */
block_0383:
if condition goto block_03CD;
block_0386:
/* create_list element_size=0x2 count=0x1 */
/* append_list */
/* free_local_list bp_offset=0xF8 target=[BP-08h] */
wallList = item;
class_0A0C_slot_29(wallList, stepper, item);
if (retval < dist) goto block_03C9;
block_03B1:
class_0A0C_slot_29(stepper, item);
dist = retval;
wall = item;
block_03C9:
/* loopnext */
goto block_0383;
block_03CD:
if ((wall != 0) && (dist <= 2)) goto block_044D;
block_03E3:
/* pop_global global_id=0x5 size=0x1 */
block_03F5:
foreach_list item -> block_0412;
block_03FA:
spawn class_0A10_slot_20(item, arg_06);
goto block_03F5;
block_0412:
spawn class_0A11_slot_2D(pid, Intrinsic00C7(wall, stepper), wall, stepper);
suspend;
block_044D:
/* free_local_list bp_offset=0xF8 target=[BP-08h] */
return;
}

View file

@ -0,0 +1,60 @@
function luggage_gotHit() /* entry=22 class_id=0x008F slot=0x06 */
{
var
referent, /* [BP+00h] type=0x69 */
ref, /* [BP+0Ah] type=0x69 */
vel, /* [BP+0Ch] type=0x69 */
item; /* [BP-02h] type=0x24 */
entry:
set_info(0x020C, *(arg_06));
process_exclude();
class_0A0C_slot_2C(vel, ref);
if retval goto block_0258;
block_00FD:
spawn class_0A1E_slot_27(pid, 100, vel, ref, arg_06);
suspend;
/* dword_to_word */
if (!process_result) goto block_015D;
block_012D:
class_0A0C_slot_20(1);
if retval goto block_014D;
block_013D:
goto block_015A;
block_014D:
block_015A:
goto block_0258;
block_015D:
spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
suspend;
if (Item.getFrame(arg_06) != 1) goto block_01AD;
block_0191:
goto block_021C;
block_01AD:
if (Item.getFrame(arg_06) != 2) goto block_01D8;
block_01BC:
goto block_021C;
block_01D8:
if (Item.getFrame(arg_06) != 3) goto block_0203;
block_01E7:
goto block_021C;
block_0203:
block_021C:
block_0258:
return;
}

View file

@ -0,0 +1,29 @@
function lwplate4_gotHit() /* entry=254 class_id=0x0466 slot=0x06 */
{
var
referent, /* [BP+00h] type=0x69 */
r, /* [BP+0Ah] type=0x69 */
vel, /* [BP+0Ch] type=0x69 */
item; /* [BP-02h] type=0x24 */
entry:
set_info(0x020C, *(arg_06));
process_exclude();
class_0A0C_slot_2C(vel, r);
if retval goto block_0103;
block_00FD:
goto block_013B;
block_0103:
item = r;
if (r != 1) goto block_013B;
block_0118:
spawn class_0A10_slot_21(pid, r, arg_06);
suspend;
block_013B:
return;
}

View file

@ -0,0 +1,29 @@
function lwplate8_gotHit() /* entry=255 class_id=0x0467 slot=0x06 */
{
var
referent, /* [BP+00h] type=0x69 */
r, /* [BP+0Ah] type=0x69 */
vel, /* [BP+0Ch] type=0x69 */
item; /* [BP-02h] type=0x24 */
entry:
set_info(0x020C, *(arg_06));
process_exclude();
class_0A0C_slot_2C(vel, r);
if retval goto block_0103;
block_00FD:
goto block_013B;
block_0103:
item = r;
if (r != 1) goto block_013B;
block_0118:
spawn class_0A10_slot_21(pid, r, arg_06);
suspend;
block_013B:
return;
}

View file

@ -0,0 +1,23 @@
function l_ew_16_gotHit() /* entry=106 class_id=0x01D3 slot=0x06 */
{
var
referent, /* [BP+00h] type=0x69 */
ref, /* [BP+0Ah] type=0x69 */
vel; /* [BP+0Ch] type=0x69 */
entry:
set_info(0x020C, *(arg_06));
process_exclude();
if (ref != Item.pop()) goto block_0154;
block_00F9:
spawn class_0A0F_slot_20(arg_06);
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
suspend;
spawn class_0A0C_slot_32(pid, 60, 0x00000000);
suspend;
block_0154:
return;
}

View file

@ -0,0 +1,13 @@
function l_ew_16_unequip() /* entry=106 class_id=0x01D3 slot=0x0B */
{
entry:
set_info(0x0212, *(arg_06));
process_exclude();
if (!Item.getFrame(arg_06)) goto block_01FA;
block_01EC:
block_01FA:
return;
}

View file

@ -0,0 +1,13 @@
function l_ew_16_enterFastArea() /* entry=106 class_id=0x01D3 slot=0x0F */
{
entry:
set_info(0x021B, *(arg_06));
process_exclude();
if (!Item.getFrame(arg_06)) goto block_01AF;
block_01A1:
block_01AF:
return;
}

View file

@ -0,0 +1,8 @@
function l_ew_16_avatarStoleSomething() /* entry=106 class_id=0x01D3 slot=0x13 */
{
entry:
set_info(0x022E, *(arg_06));
process_exclude();
return;
}

View file

@ -0,0 +1,23 @@
function l_ew_2_gotHit() /* entry=103 class_id=0x01D0 slot=0x06 */
{
var
referent, /* [BP+00h] type=0x69 */
ref, /* [BP+0Ah] type=0x69 */
vel; /* [BP+0Ch] type=0x69 */
entry:
set_info(0x020C, *(arg_06));
process_exclude();
if (ref != Item.pop()) goto block_0154;
block_00F9:
spawn class_0A0F_slot_20(arg_06);
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
suspend;
spawn class_0A0C_slot_32(pid, 60, 0x00000000);
suspend;
block_0154:
return;
}

View file

@ -0,0 +1,13 @@
function l_ew_2_unequip() /* entry=103 class_id=0x01D0 slot=0x0B */
{
entry:
set_info(0x0212, *(arg_06));
process_exclude();
if (!Item.getFrame(arg_06)) goto block_01FA;
block_01EC:
block_01FA:
return;
}

View file

@ -0,0 +1,13 @@
function l_ew_2_enterFastArea() /* entry=103 class_id=0x01D0 slot=0x0F */
{
entry:
set_info(0x021B, *(arg_06));
process_exclude();
if (!Item.getFrame(arg_06)) goto block_01AF;
block_01A1:
block_01AF:
return;
}

View file

@ -0,0 +1,8 @@
function l_ew_2_avatarStoleSomething() /* entry=103 class_id=0x01D0 slot=0x13 */
{
entry:
set_info(0x022E, *(arg_06));
process_exclude();
return;
}

View file

@ -0,0 +1,23 @@
function l_ew_4_gotHit() /* entry=104 class_id=0x01D1 slot=0x06 */
{
var
referent, /* [BP+00h] type=0x69 */
ref, /* [BP+0Ah] type=0x69 */
vel; /* [BP+0Ch] type=0x69 */
entry:
set_info(0x020C, *(arg_06));
process_exclude();
if (ref != Item.pop()) goto block_0154;
block_00F9:
spawn class_0A0F_slot_20(arg_06);
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
suspend;
spawn class_0A0C_slot_32(pid, 60, 0x00000000);
suspend;
block_0154:
return;
}

View file

@ -0,0 +1,13 @@
function l_ew_4_unequip() /* entry=104 class_id=0x01D1 slot=0x0B */
{
entry:
set_info(0x0212, *(arg_06));
process_exclude();
if (!Item.getFrame(arg_06)) goto block_01FA;
block_01EC:
block_01FA:
return;
}

View file

@ -0,0 +1,13 @@
function l_ew_4_enterFastArea() /* entry=104 class_id=0x01D1 slot=0x0F */
{
entry:
set_info(0x021B, *(arg_06));
process_exclude();
if (!Item.getFrame(arg_06)) goto block_01AF;
block_01A1:
block_01AF:
return;
}

View file

@ -0,0 +1,8 @@
function l_ew_4_avatarStoleSomething() /* entry=104 class_id=0x01D1 slot=0x13 */
{
entry:
set_info(0x022E, *(arg_06));
process_exclude();
return;
}

View file

@ -0,0 +1,23 @@
function l_ew_8_gotHit() /* entry=105 class_id=0x01D2 slot=0x06 */
{
var
referent, /* [BP+00h] type=0x69 */
ref, /* [BP+0Ah] type=0x69 */
vel; /* [BP+0Ch] type=0x69 */
entry:
set_info(0x020C, *(arg_06));
process_exclude();
if (ref != Item.pop()) goto block_0154;
block_00F9:
spawn class_0A0F_slot_20(arg_06);
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
suspend;
spawn class_0A0C_slot_32(pid, 60, 0x00000000);
suspend;
block_0154:
return;
}

View file

@ -0,0 +1,13 @@
function l_ew_8_unequip() /* entry=105 class_id=0x01D2 slot=0x0B */
{
entry:
set_info(0x0212, *(arg_06));
process_exclude();
if (!Item.getFrame(arg_06)) goto block_01FA;
block_01EC:
block_01FA:
return;
}

View file

@ -0,0 +1,13 @@
function l_ew_8_enterFastArea() /* entry=105 class_id=0x01D2 slot=0x0F */
{
entry:
set_info(0x021B, *(arg_06));
process_exclude();
if (!Item.getFrame(arg_06)) goto block_01AF;
block_01A1:
block_01AF:
return;
}

View file

@ -0,0 +1,8 @@
function l_ew_8_avatarStoleSomething() /* entry=105 class_id=0x01D2 slot=0x13 */
{
entry:
set_info(0x022E, *(arg_06));
process_exclude();
return;
}

View file

@ -0,0 +1,23 @@
function l_ns_16_gotHit() /* entry=102 class_id=0x01CF slot=0x06 */
{
var
referent, /* [BP+00h] type=0x69 */
ref, /* [BP+0Ah] type=0x69 */
vel; /* [BP+0Ch] type=0x69 */
entry:
set_info(0x020C, *(arg_06));
process_exclude();
if (ref != Item.pop()) goto block_0154;
block_00F9:
spawn class_0A0F_slot_20(arg_06);
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
suspend;
spawn class_0A0C_slot_32(pid, 60, 0x00000000);
suspend;
block_0154:
return;
}

View file

@ -0,0 +1,13 @@
function l_ns_16_unequip() /* entry=102 class_id=0x01CF slot=0x0B */
{
entry:
set_info(0x0212, *(arg_06));
process_exclude();
if (!Item.getFrame(arg_06)) goto block_01FA;
block_01EC:
block_01FA:
return;
}

View file

@ -0,0 +1,13 @@
function l_ns_16_enterFastArea() /* entry=102 class_id=0x01CF slot=0x0F */
{
entry:
set_info(0x021B, *(arg_06));
process_exclude();
if (!Item.getFrame(arg_06)) goto block_01AF;
block_01A1:
block_01AF:
return;
}

View file

@ -0,0 +1,8 @@
function l_ns_16_avatarStoleSomething() /* entry=102 class_id=0x01CF slot=0x13 */
{
entry:
set_info(0x022E, *(arg_06));
process_exclude();
return;
}

View file

@ -0,0 +1,23 @@
function l_ns_2_gotHit() /* entry=98 class_id=0x01CB slot=0x06 */
{
var
referent, /* [BP+00h] type=0x69 */
ref, /* [BP+0Ah] type=0x69 */
vel; /* [BP+0Ch] type=0x69 */
entry:
set_info(0x020C, *(arg_06));
process_exclude();
if (ref != Item.pop()) goto block_0154;
block_00F9:
spawn class_0A0F_slot_20(arg_06);
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
suspend;
spawn class_0A0C_slot_32(pid, 60, 0x00000000);
suspend;
block_0154:
return;
}

View file

@ -0,0 +1,13 @@
function l_ns_2_unequip() /* entry=98 class_id=0x01CB slot=0x0B */
{
entry:
set_info(0x0212, *(arg_06));
process_exclude();
if (!Item.getFrame(arg_06)) goto block_01FA;
block_01EC:
block_01FA:
return;
}

View file

@ -0,0 +1,13 @@
function l_ns_2_enterFastArea() /* entry=98 class_id=0x01CB slot=0x0F */
{
entry:
set_info(0x021B, *(arg_06));
process_exclude();
if (!Item.getFrame(arg_06)) goto block_01AF;
block_01A1:
block_01AF:
return;
}

View file

@ -0,0 +1,8 @@
function l_ns_2_avatarStoleSomething() /* entry=98 class_id=0x01CB slot=0x13 */
{
entry:
set_info(0x022E, *(arg_06));
process_exclude();
return;
}

View file

@ -0,0 +1,23 @@
function l_ns_4_gotHit() /* entry=99 class_id=0x01CC slot=0x06 */
{
var
referent, /* [BP+00h] type=0x69 */
ref, /* [BP+0Ah] type=0x69 */
vel; /* [BP+0Ch] type=0x69 */
entry:
set_info(0x020C, *(arg_06));
process_exclude();
if (ref != Item.pop()) goto block_0154;
block_00F9:
spawn class_0A0F_slot_20(arg_06);
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
suspend;
spawn class_0A0C_slot_32(pid, 60, 0x00000000);
suspend;
block_0154:
return;
}

View file

@ -0,0 +1,13 @@
function l_ns_4_unequip() /* entry=99 class_id=0x01CC slot=0x0B */
{
entry:
set_info(0x0212, *(arg_06));
process_exclude();
if (!Item.getFrame(arg_06)) goto block_01FA;
block_01EC:
block_01FA:
return;
}

View file

@ -0,0 +1,13 @@
function l_ns_4_enterFastArea() /* entry=99 class_id=0x01CC slot=0x0F */
{
entry:
set_info(0x021B, *(arg_06));
process_exclude();
if (!Item.getFrame(arg_06)) goto block_01AF;
block_01A1:
block_01AF:
return;
}

View file

@ -0,0 +1,8 @@
function l_ns_4_avatarStoleSomething() /* entry=99 class_id=0x01CC slot=0x13 */
{
entry:
set_info(0x022E, *(arg_06));
process_exclude();
return;
}

View file

@ -0,0 +1,23 @@
function l_ns_8_gotHit() /* entry=101 class_id=0x01CE slot=0x06 */
{
var
referent, /* [BP+00h] type=0x69 */
ref, /* [BP+0Ah] type=0x69 */
vel; /* [BP+0Ch] type=0x69 */
entry:
set_info(0x020C, *(arg_06));
process_exclude();
if (ref != Item.pop()) goto block_0154;
block_00F9:
spawn class_0A0F_slot_20(arg_06);
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
suspend;
spawn class_0A0C_slot_32(pid, 60, 0x00000000);
suspend;
block_0154:
return;
}

View file

@ -0,0 +1,13 @@
function l_ns_8_unequip() /* entry=101 class_id=0x01CE slot=0x0B */
{
entry:
set_info(0x0212, *(arg_06));
process_exclude();
if (!Item.getFrame(arg_06)) goto block_01FA;
block_01EC:
block_01FA:
return;
}

View file

@ -0,0 +1,13 @@
function l_ns_8_enterFastArea() /* entry=101 class_id=0x01CE slot=0x0F */
{
entry:
set_info(0x021B, *(arg_06));
process_exclude();
if (!Item.getFrame(arg_06)) goto block_01AF;
block_01A1:
block_01AF:
return;
}

View file

@ -0,0 +1,8 @@
function l_ns_8_avatarStoleSomething() /* entry=101 class_id=0x01CE slot=0x13 */
{
entry:
set_info(0x022E, *(arg_06));
process_exclude();
return;
}

View file

@ -0,0 +1,9 @@
function maintman_calledFromAnim() /* entry=164 class_id=0x02F5 slot=0x0E */
{
entry:
set_info(0x021A, *(arg_06));
process_exclude();
spawn class_0A1C_slot_20(Item.getQLo(arg_06), *(arg_06), arg_06);
return;
}

View file

@ -0,0 +1,16 @@
function malrm_ew_enterFastArea() /* entry=136 class_id=0x0271 slot=0x0F */
{
entry:
set_info(0x021B, *(arg_06));
process_exclude();
if Intrinsic0000() goto block_0106;
block_00F6:
goto block_0113;
block_0106:
block_0113:
return;
}

View file

@ -0,0 +1,16 @@
function malrm_ns_enterFastArea() /* entry=70 class_id=0x0174 slot=0x0F */
{
entry:
set_info(0x021B, *(arg_06));
process_exclude();
if Intrinsic0000() goto block_0106;
block_00F6:
goto block_0113;
block_0106:
block_0113:
return;
}

View file

@ -0,0 +1,30 @@
function mbarrel_hit() /* entry=113 class_id=0x01DD slot=0x05 */
{
var
referent, /* [BP+00h] type=0x69 */
ref, /* [BP+0Ah] type=0x69 */
vel, /* [BP+0Ch] type=0x69 */
v, /* [BP-02h] type=0x69 */
item, /* [BP-04h] type=0x24 */
item2, /* [BP-06h] type=0x24 */
r1, /* [BP-08h] type=0x69 */
r2; /* [BP-0Ah] type=0x69 */
entry:
set_info(0x020B, *(arg_06));
process_exclude();
v = vel;
if (vel >= 10) goto block_032F;
block_0280:
class_0A0C_slot_20(3);
r1 = retval;
class_0A0C_slot_20(3);
r2 = retval;
spawn class_0A1E_slot_2A(pid, arg_06);
suspend;
block_032F:
return;
}

View file

@ -0,0 +1,49 @@
function mbarrel_gotHit() /* entry=113 class_id=0x01DD slot=0x06 */
{
var
referent, /* [BP+00h] type=0x69 */
ref, /* [BP+0Ah] type=0x69 */
vel, /* [BP+0Ch] type=0x69 */
item, /* [BP-02h] type=0x24 */
item2, /* [BP-04h] type=0x24 */
x, /* [BP-06h] type=0x69 */
y, /* [BP-08h] type=0x69 */
z, /* [BP-09h] type=0x62 */
qLo; /* [BP-0Bh] type=0x69 */
entry:
set_info(0x020C, *(arg_06));
process_exclude();
spawn class_0A1E_slot_27(pid, 100, vel, ref, arg_06);
suspend;
/* dword_to_word */
if (!process_result) goto block_014E;
block_011B:
class_0A0C_slot_20(1);
if retval goto block_013B;
block_012B:
goto block_0148;
block_013B:
block_0148:
goto block_0207;
block_014E:
if (Item.getFrame(arg_06) != 0) goto block_0207;
block_0160:
z = Item.getZ(arg_06);
x = Intrinsic0013(arg_06);
y = Item.legal_create(arg_06);
qLo = Item.getQHi(arg_06);
spawn class_0A1E_slot_2A(pid, arg_06);
suspend;
class_0A0C_slot_20(3);
block_0207:
return;
}

View file

@ -0,0 +1,59 @@
function mcrate_gotHit() /* entry=231 class_id=0x0432 slot=0x06 */
{
var
referent, /* [BP+00h] type=0x69 */
ref, /* [BP+0Ah] type=0x69 */
vel, /* [BP+0Ch] type=0x69 */
x, /* [BP-02h] type=0x69 */
y, /* [BP-04h] type=0x69 */
z, /* [BP-05h] type=0x62 */
item; /* [BP-07h] type=0x24 */
entry:
set_info(0x020C, *(arg_06));
process_exclude();
class_0A0C_slot_2C(vel, ref);
if retval goto block_0251;
block_00FD:
spawn class_0A1E_slot_27(pid, 100, vel, ref, arg_06);
suspend;
/* dword_to_word */
if (!process_result) goto block_015D;
block_012D:
class_0A0C_slot_20(1);
if retval goto block_014D;
block_013D:
goto block_015A;
block_014D:
block_015A:
goto block_0251;
block_015D:
x = Intrinsic0013(arg_06);
y = Item.legal_create(arg_06);
z = Item.getZ(arg_06);
set_info(1, 0);
if (Item.getFrame(arg_06) != 0) goto block_01F0;
block_019E:
spawn class_0A1E_slot_28(pid, 1, 0, arg_06);
suspend;
goto block_0251;
block_01F0:
if (Item.getFrame(arg_06) != 1) goto block_0251;
block_01FF:
spawn class_0A1E_slot_28(pid, 1, 1, arg_06);
suspend;
goto block_0251;
block_0251:
return;
}

View file

@ -0,0 +1,44 @@
function mdeskew_gotHit() /* entry=107 class_id=0x01D4 slot=0x06 */
{
var
referent, /* [BP+00h] type=0x69 */
ref, /* [BP+0Ah] type=0x69 */
vel, /* [BP+0Ch] type=0x69 */
fram, /* [BP-02h] type=0x69 */
item; /* [BP-04h] type=0x24 */
entry:
set_info(0x020C, *(arg_06));
process_exclude();
fram = Item.getFrame(arg_06);
if (fram > 1) goto block_010D;
block_0107:
goto block_01A6;
block_010D:
class_0A0C_slot_2C(vel, ref);
if (retval != 4) goto block_01A6;
block_0128:
/* loopscr value_u8=0x24 */
/* loop current_var=0xFC string_bytes=0x1 loop_type=0x6 */
block_0138:
if condition goto block_016F;
block_013B:
class_0A0C_slot_20(1, 10);
class_0A0C_slot_20((retval + 10), 10);
class_0A0C_slot_20(retval, 10);
/* loopnext */
goto block_0138;
block_016F:
spawn class_0A1E_slot_28(pid, 0, 1, arg_06);
suspend;
block_01A6:
return;
}

View file

@ -0,0 +1,44 @@
function mdeskns_gotHit() /* entry=112 class_id=0x01DC slot=0x06 */
{
var
referent, /* [BP+00h] type=0x69 */
ref, /* [BP+0Ah] type=0x69 */
vel, /* [BP+0Ch] type=0x69 */
fram, /* [BP-02h] type=0x69 */
item; /* [BP-04h] type=0x24 */
entry:
set_info(0x020C, *(arg_06));
process_exclude();
fram = Item.getFrame(arg_06);
if (fram > 1) goto block_010D;
block_0107:
goto block_01A6;
block_010D:
class_0A0C_slot_2C(vel, ref);
if (retval != 4) goto block_01A6;
block_0128:
/* loopscr value_u8=0x24 */
/* loop current_var=0xFC string_bytes=0x1 loop_type=0x6 */
block_0138:
if condition goto block_016F;
block_013B:
class_0A0C_slot_20(1, 10);
class_0A0C_slot_20((retval + 10), 10);
class_0A0C_slot_20(retval, 10);
/* loopnext */
goto block_0138;
block_016F:
spawn class_0A1E_slot_28(pid, 0, 1, arg_06);
suspend;
block_01A6:
return;
}

View file

@ -0,0 +1,15 @@
function mdoor_e_gotHit() /* entry=7 class_id=0x0046 slot=0x06 */
{
var
referent, /* [BP+00h] type=0x69 */
ref, /* [BP+0Ah] type=0x69 */
vel; /* [BP+0Ch] type=0x69 */
entry:
set_info(0x020C, *(arg_06));
process_exclude();
spawn class_0A06_slot_23(pid, vel, ref, arg_06);
suspend;
return;
}

View file

@ -0,0 +1,17 @@
function mdoor_e_enterFastArea() /* entry=7 class_id=0x0046 slot=0x0F */
{
var
referent, /* [BP+00h] type=0x69 */
item; /* [BP-02h] type=0x24 */
entry:
set_info(0x021B, *(arg_06));
process_exclude();
if (Item.callEvent0A(arg_06) != 0x00FF) goto block_0145;
block_0101:
block_0145:
return;
}

View file

@ -0,0 +1,18 @@
function mdoor_e_avatarStoleSomething() /* entry=7 class_id=0x0046 slot=0x13 */
{
var
referent, /* [BP+00h] type=0x69 */
num, /* [BP+0Ah] type=0x69 */
item, /* [BP-02h] type=0x24 */
item2, /* [BP-04h] type=0x24 */
door; /* [BP-06h] type=0x24 */
entry:
set_info(0x022E, *(arg_06));
process_exclude();
door = *(arg_06);
spawn class_0A06_slot_22(pid, door);
suspend;
return;
}

View file

@ -0,0 +1,15 @@
function mdoor_n_gotHit() /* entry=33 class_id=0x00A9 slot=0x06 */
{
var
referent, /* [BP+00h] type=0x69 */
ref, /* [BP+0Ah] type=0x69 */
vel; /* [BP+0Ch] type=0x69 */
entry:
set_info(0x020C, *(arg_06));
process_exclude();
spawn class_0A06_slot_23(pid, vel, ref, arg_06);
suspend;
return;
}

View file

@ -0,0 +1,17 @@
function mdoor_n_enterFastArea() /* entry=33 class_id=0x00A9 slot=0x0F */
{
var
referent, /* [BP+00h] type=0x69 */
item; /* [BP-02h] type=0x24 */
entry:
set_info(0x021B, *(arg_06));
process_exclude();
if (Item.callEvent0A(arg_06) != 0x00FF) goto block_0145;
block_0101:
block_0145:
return;
}

View file

@ -0,0 +1,18 @@
function mdoor_n_avatarStoleSomething() /* entry=33 class_id=0x00A9 slot=0x13 */
{
var
referent, /* [BP+00h] type=0x69 */
num, /* [BP+0Ah] type=0x69 */
item, /* [BP-02h] type=0x24 */
item2, /* [BP-04h] type=0x24 */
door; /* [BP-06h] type=0x24 */
entry:
set_info(0x022E, *(arg_06));
process_exclude();
door = *(arg_06);
spawn class_0A06_slot_22(pid, door);
suspend;
return;
}

View file

@ -0,0 +1,36 @@
function medikit_use() /* entry=188 class_id=0x0351 slot=0x01 */
{
var
referent, /* [BP+00h] type=0x69 */
item; /* [BP-02h] type=0x24 */
entry:
set_info(0x0207, *(arg_06));
process_exclude();
set_info(0x00F0, 0);
/* global_address global_id=0x3C */
if (Intrinsic007C() >= 0x0096) goto block_0132;
block_010B:
spawn class_0A0C_slot_21(pid, 0x00B0, 0x00000000);
suspend;
block_0132:
/* global_address global_id=0x3C */
if Intrinsic00CA(80) goto block_016E;
block_0144:
spawn class_0A0C_slot_21(pid, 0x00DB, 0x00000000);
suspend;
goto block_01C3;
block_016E:
spawn class_0A0C_slot_21(pid, 0x00B0, 0x00000000);
suspend;
block_01C3:
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
suspend;
return;
}

View file

@ -0,0 +1,49 @@
function melf_use() /* entry=219 class_id=0x03BB slot=0x01 */
{
var
referent, /* [BP+00h] type=0x69 */
item; /* [BP-02h] type=0x24 */
entry:
set_info(0x0207, *(arg_06));
process_exclude();
if Item.callEvent0A(arg_06) goto block_0100;
block_00FA:
goto block_0229;
block_0100:
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
suspend;
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
suspend;
/* pop_global global_id=0x24 size=0x1 */
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x41 */
/* loop current_var=0xFE string_bytes=0x4 loop_type=0x2 */
block_01E6:
if condition goto block_0227;
block_01E9:
if (Item.getQHi(item) != 34) goto block_0223;
block_01FE:
block_0223:
/* loopnext */
goto block_01E6;
block_0227:
block_0229:
return;
}

View file

@ -0,0 +1,22 @@
function mfan_ew_gotHit() /* entry=120 class_id=0x0200 slot=0x06 */
{
var
referent, /* [BP+00h] type=0x69 */
ref, /* [BP+0Ah] type=0x69 */
vel; /* [BP+0Ch] type=0x69 */
entry:
set_info(0x020C, *(arg_06));
process_exclude();
class_0A0C_slot_2C(vel, ref);
if retval goto block_0145;
block_00FD:
class_0A0C_slot_20(1);
spawn class_0A1E_slot_28(pid, 0, 1, arg_06);
suspend;
block_0145:
return;
}

View file

@ -0,0 +1,22 @@
function mfan_ns_gotHit() /* entry=119 class_id=0x01FF slot=0x06 */
{
var
referent, /* [BP+00h] type=0x69 */
ref, /* [BP+0Ah] type=0x69 */
vel; /* [BP+0Ch] type=0x69 */
entry:
set_info(0x020C, *(arg_06));
process_exclude();
class_0A0C_slot_2C(vel, ref);
if retval goto block_0145;
block_00FD:
class_0A0C_slot_20(1);
spawn class_0A1E_slot_28(pid, 0, 1, arg_06);
suspend;
block_0145:
return;
}

View file

@ -0,0 +1,29 @@
function mgr_ew_gotHit() /* entry=147 class_id=0x02AE slot=0x06 */
{
var
referent, /* [BP+00h] type=0x69 */
ref, /* [BP+0Ah] type=0x69 */
vel; /* [BP+0Ch] type=0x69 */
entry:
set_info(0x020C, *(arg_06));
process_exclude();
if (Item.getStatus(arg_06) & 0x1000) goto block_0104;
block_00FE:
goto block_0181;
block_0104:
class_0A0C_slot_2C(vel, ref);
if retval goto block_0181;
block_0116:
class_0A1E_slot_23(0x1000, arg_06);
spawn class_0A0C_slot_32(pid, 20, 0x00000000);
suspend;
class_0A1E_slot_24(0x1000, arg_06);
block_0181:
return;
}

View file

@ -0,0 +1,29 @@
function mgr_ns_gotHit() /* entry=141 class_id=0x0294 slot=0x06 */
{
var
referent, /* [BP+00h] type=0x69 */
ref, /* [BP+0Ah] type=0x69 */
vel; /* [BP+0Ch] type=0x69 */
entry:
set_info(0x020C, *(arg_06));
process_exclude();
if (Item.getStatus(arg_06) & 0x1000) goto block_0104;
block_00FE:
goto block_0181;
block_0104:
class_0A0C_slot_2C(vel, ref);
if retval goto block_0181;
block_0116:
class_0A1E_slot_23(0x1000, arg_06);
spawn class_0A0C_slot_32(pid, 20, 0x00000000);
suspend;
class_0A1E_slot_24(0x1000, arg_06);
block_0181:
return;
}

View file

@ -0,0 +1,13 @@
function minelet_hit() /* entry=142 class_id=0x029E slot=0x05 */
{
var
referent, /* [BP+00h] type=0x69 */
ref, /* [BP+0Ah] type=0x69 */
vel; /* [BP+0Ch] type=0x69 */
entry:
set_info(0x020B, *(arg_06));
process_exclude();
return;
}

Some files were not shown because too many files have changed in this diff Show more