Stuff
This commit is contained in:
parent
ee33f94b4b
commit
f92d1504fa
547 changed files with 37597 additions and 0 deletions
|
|
@ -0,0 +1,84 @@
|
|||
function wshockns_gotHit() /* entry=244 class_id=0x044D slot=0x06 */
|
||||
{
|
||||
var
|
||||
referent, /* [BP+00h] type=0x69 */
|
||||
ref, /* [BP+0Ah] type=0x69 */
|
||||
vel, /* [BP+0Ch] type=0x69 */
|
||||
item, /* [BP-02h] type=0x24 */
|
||||
n, /* [BP-04h] type=0x24 */
|
||||
x, /* [BP-06h] type=0x69 */
|
||||
x1, /* [BP-08h] type=0x69 */
|
||||
y, /* [BP-0Ah] type=0x69 */
|
||||
z, /* [BP-0Ch] type=0x69 */
|
||||
z1, /* [BP-0Eh] type=0x69 */
|
||||
shocker, /* [BP-10h] type=0x24 */
|
||||
a, /* [BP-12h] type=0x69 */
|
||||
b, /* [BP-14h] type=0x69 */
|
||||
c, /* [BP-16h] type=0x69 */
|
||||
d, /* [BP-18h] type=0x69 */
|
||||
e, /* [BP-1Ah] type=0x69 */
|
||||
shockCount; /* [BP-1Ch] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
item = ref;
|
||||
if Item.isNpc(item) goto block_036A;
|
||||
|
||||
block_01B2:
|
||||
n = item;
|
||||
|
||||
block_01B9:
|
||||
if (Item.overlaps(ref, arg_06) != 1) goto block_0344;
|
||||
|
||||
block_01CD:
|
||||
x = Item.andStatus(arg_06);
|
||||
x1 = Intrinsic0013(arg_06);
|
||||
y = Item.legal_create(arg_06);
|
||||
z = Item.AvatarStoleSomehting(item);
|
||||
z1 = Item.getZ(item);
|
||||
a = (x1 - x);
|
||||
a = (a * 2);
|
||||
b = (z - z1);
|
||||
b = ((b / 2) * 3);
|
||||
class_0A0C_slot_20(2);
|
||||
c = (retval + 1);
|
||||
|
||||
block_0250:
|
||||
if (c != 0) goto block_031B;
|
||||
|
||||
block_025B:
|
||||
class_0A0C_slot_20(a);
|
||||
d = retval;
|
||||
d = (x1 - d);
|
||||
x = d;
|
||||
class_0A0C_slot_20(b);
|
||||
e = retval;
|
||||
e = (e + z1);
|
||||
z = e;
|
||||
if Item.getQLo(0, 0x0459, shocker) goto block_02E0;
|
||||
|
||||
block_02AF:
|
||||
c = 1;
|
||||
shockCount = (1 + shockCount);
|
||||
|
||||
block_02E0:
|
||||
class_0A0C_slot_20(pid, 30);
|
||||
spawn class_0A0C_slot_32(retval, 0x00000000);
|
||||
suspend;
|
||||
c = (c - 1);
|
||||
goto block_0250;
|
||||
|
||||
block_031B:
|
||||
spawn class_0A0C_slot_32(pid, 60, 0x00000000);
|
||||
suspend;
|
||||
goto block_01B9;
|
||||
|
||||
block_0344:
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
|
||||
block_036A:
|
||||
return;
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,39 @@
|
|||
function wshockns_unequip() /* entry=244 class_id=0x044D slot=0x0B */
|
||||
{
|
||||
var
|
||||
referent, /* [BP+00h] type=0x69 */
|
||||
var, /* [BP+0Ah] type=0x69 */
|
||||
item; /* [BP-02h] type=0x24 */
|
||||
|
||||
entry:
|
||||
set_info(0x0212, *(arg_06));
|
||||
process_exclude();
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
/* loopscr value_u8=0x3A */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
|
||||
|
||||
block_0115:
|
||||
if condition goto block_015F;
|
||||
|
||||
block_0118:
|
||||
if Item.isNpc(item) goto block_015B;
|
||||
|
||||
block_0127:
|
||||
if (Item.overlaps(item, arg_06) != 1) goto block_015B;
|
||||
|
||||
block_0141:
|
||||
spawn class_044D_gotHit(0, item, arg_06);
|
||||
goto block_0161;
|
||||
|
||||
block_015B:
|
||||
/* loopnext */
|
||||
goto block_0115;
|
||||
|
||||
block_015F:
|
||||
|
||||
block_0161:
|
||||
return;
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
function wshockns_avatarStoleSomething() /* entry=244 class_id=0x044D slot=0x13 */
|
||||
{
|
||||
entry:
|
||||
set_info(0x022E, *(arg_06));
|
||||
process_exclude();
|
||||
return;
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue