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 sentry_gotHit() /* entry=100 class_id=0x01CD 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_0A1A_slot_49(vel, ref, arg_06);
return;
}

View file

@ -0,0 +1,20 @@
function sentry_equip() /* entry=100 class_id=0x01CD slot=0x0A */
{
entry:
set_info(0x0211, *(arg_06));
process_exclude();
if (Item.pop() != 0) goto block_0290;
block_0265:
spawn class_0A1A_slot_24(pid, arg_0A, Item.pop(), arg_06);
suspend;
goto block_02B7;
block_0290:
spawn class_0A1A_slot_24(pid, arg_0A, global[0x003C], arg_06);
suspend;
block_02B7:
return;
}

View file

@ -0,0 +1,17 @@
function sentry_unequip() /* entry=100 class_id=0x01CD slot=0x0B */
{
entry:
set_info(0x0212, *(arg_06));
process_exclude();
if (Item.getStatus(arg_06) & 4) goto block_0160;
block_015A:
goto block_017B;
block_0160:
spawn class_0A1A_slot_27(arg_06);
block_017B:
return;
}

View file

@ -0,0 +1,15 @@
function sentry_calledFromAnim() /* entry=100 class_id=0x01CD slot=0x0E */
{
var
referent, /* [BP+00h] type=0x69 */
n, /* [BP-02h] type=0x24 */
dir; /* [BP-04h] type=0x69 */
entry:
set_info(0x021A, *(arg_06));
process_exclude();
n = *(arg_06);
dir = Intrinsic00FA(n);
return;
}

View file

@ -0,0 +1,17 @@
function sentry_enterFastArea() /* entry=100 class_id=0x01CD slot=0x0F */
{
entry:
set_info(0x021B, *(arg_06));
process_exclude();
if (Item.getStatus(arg_06) & 4) goto block_0103;
block_00FD:
goto block_011E;
block_0103:
spawn class_0A1A_slot_27(arg_06);
block_011E:
return;
}

View file

@ -0,0 +1,11 @@
function sentry_leaveFastArea() /* entry=100 class_id=0x01CD slot=0x10 */
{
entry:
set_info(0x021C, *(arg_06));
process_exclude();
/* bit_not */
class_0A0C_slot_33(1, *(arg_06));
class_0A0C_slot_33(0x020A, *(arg_06));
return;
}