Stuff
This commit is contained in:
parent
ee33f94b4b
commit
f92d1504fa
547 changed files with 37597 additions and 0 deletions
|
|
@ -0,0 +1,82 @@
|
|||
function pplate2_gotHit() /* entry=80 class_id=0x0199 slot=0x06 */
|
||||
{
|
||||
var
|
||||
referent, /* [BP+00h] type=0x69 */
|
||||
ref, /* [BP+0Ah] type=0x69 */
|
||||
vel, /* [BP+0Ch] type=0x69 */
|
||||
f, /* [BP-02h] type=0x69 */
|
||||
item; /* [BP-04h] type=0x24 */
|
||||
|
||||
entry:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_2C(vel, ref);
|
||||
if retval goto block_0212;
|
||||
|
||||
block_020C:
|
||||
goto block_03B3;
|
||||
|
||||
block_0212:
|
||||
f = Item.getFrame(arg_06);
|
||||
if (f & 1) goto block_0231;
|
||||
|
||||
block_022B:
|
||||
goto block_03B3;
|
||||
|
||||
block_0231:
|
||||
item = ref;
|
||||
if ((Intrinsic0057(arg_06) != 0) || (Item.use(*(arg_06), item) != 0)) goto block_0264;
|
||||
|
||||
block_025E:
|
||||
goto block_03B3;
|
||||
|
||||
block_0264:
|
||||
if (Item.getMapNum(arg_06) != 0) goto block_034C;
|
||||
|
||||
block_0286:
|
||||
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
|
||||
suspend;
|
||||
|
||||
block_02BB:
|
||||
if 1 goto block_0349;
|
||||
|
||||
block_02C3:
|
||||
if (Intrinsic0057(arg_06) != 0) goto block_02FE;
|
||||
|
||||
block_02D5:
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
goto block_0346;
|
||||
|
||||
block_02FE:
|
||||
spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
|
||||
suspend;
|
||||
goto block_03B3;
|
||||
|
||||
block_0346:
|
||||
goto block_02BB;
|
||||
|
||||
block_0349:
|
||||
goto block_03B3;
|
||||
|
||||
block_034C:
|
||||
if 1 goto block_03B3;
|
||||
|
||||
block_0354:
|
||||
if (Intrinsic0057(arg_06) != 0) goto block_038F;
|
||||
|
||||
block_0366:
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
goto block_03B0;
|
||||
|
||||
block_038F:
|
||||
goto block_03B3;
|
||||
|
||||
block_03B0:
|
||||
goto block_034C;
|
||||
|
||||
block_03B3:
|
||||
return;
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
function pplate2_equip() /* entry=80 class_id=0x0199 slot=0x0A */
|
||||
{
|
||||
var
|
||||
referent, /* [BP+00h] type=0x69 */
|
||||
var, /* [BP+0Ah] type=0x69 */
|
||||
ff; /* [BP-02h] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
ff = Item.getFrame(arg_06);
|
||||
if (ff & 1) goto block_0164;
|
||||
|
||||
block_0104:
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
|
||||
suspend;
|
||||
goto block_01C1;
|
||||
|
||||
block_0164:
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
|
||||
suspend;
|
||||
|
||||
block_01C1:
|
||||
return;
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue