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,60 @@
function pepsins_use() /* entry=30 class_id=0x009A slot=0x01 */
{
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 */
wp; /* [BP-0Dh] type=0x24 */
entry:
set_info(0x0207, *(arg_06));
process_exclude();
x = 0;
y = 1;
wp = Intrinsic0013(arg_06);
local_0B = (Item.legal_create(arg_06) + 32);
local_09 = (Item.getZ(arg_06) + 32);
if (Intrinsic00DA(100, 0) > 50) goto block_01E4;
block_0140:
if Item.getSurfaceWeight(wp, 0, 0x0343, item) goto block_01E1;
block_0156:
suspend;
/* 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_01A0:
if condition goto block_01DF;
block_01A3:
if (Item.getStatus(item) & 0x0080) goto block_01DB;
block_01B6:
spawn class_0A1E_slot_28(pid, 1, 0, item);
suspend;
block_01DB:
/* loopnext */
goto block_01A0;
block_01DF:
block_01E1:
goto block_0240;
block_01E4:
if Item.getSurfaceWeight(wp, 0, 0x0579, item) goto block_0240;
block_01FA:
suspend;
block_0240:
return;
}

View file

@ -0,0 +1,21 @@
function pepsins_gotHit() /* entry=30 class_id=0x009A 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_02DE;
block_029E:
spawn class_0A1E_slot_28(pid, 0, 1, arg_06);
suspend;
block_02DE:
return;
}