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,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;
}