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,49 @@
function rfanbade_gotHit() /* entry=222 class_id=0x03CE slot=0x06 */
{
var
referent, /* [BP+00h] type=0x69 */
ref, /* [BP+0Ah] type=0x69 */
vel, /* [BP+0Ch] type=0x69 */
item, /* [BP-02h] type=0x24 */
fart, /* [BP-04h] type=0x69 */
fart2; /* [BP-06h] type=0x69 */
entry:
set_info(0x020C, *(arg_06));
process_exclude();
if (!Item.getFrame(arg_06)) goto block_0104;
block_00FE:
goto block_01AE;
block_0104:
class_0A0C_slot_2B(vel, ref);
if (retval && (Item.getFrame(arg_06) > 0)) goto block_01AE;
block_0126:
fart2 = Item.getNpcNum(arg_06);
/* 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_017B:
if condition goto block_01AC;
block_017E:
fart = Item.getNpcNum(item);
if (fart != fart2) goto block_01A8;
block_019D:
block_01A8:
/* loopnext */
goto block_017B;
block_01AC:
block_01AE:
return;
}

View file

@ -0,0 +1,82 @@
function rfanbade_equip() /* entry=222 class_id=0x03CE slot=0x0A */
{
var
referent, /* [BP+00h] type=0x69 */
var, /* [BP+0Ah] type=0x69 */
fram, /* [BP-02h] type=0x69 */
counter, /* [BP-04h] type=0x69 */
counter2, /* [BP-06h] type=0x69 */
item, /* [BP-08h] type=0x24 */
wind; /* [BP-0Ah] type=0x24 */
entry:
set_info(0x0211, *(arg_06));
process_exclude();
if ((Item.getFrame(arg_06) != 0) || (Item.getStatus(arg_06) & 0x1000)) goto block_022D;
block_0227:
goto block_03B2;
block_022D:
if var goto block_03B2;
block_0235:
class_0A1E_slot_23(0x1000, arg_06);
fram = Item.getFrame(arg_06);
counter2 = 0;
counter = 1;
block_0260:
if (counter <= 15) goto block_0334;
block_0268:
fram = (1 + fram);
if (fram > 5) goto block_0287;
block_0280:
fram = 1;
block_0287:
counter2 = (counter2 + 2);
spawn class_0A0C_slot_32(pid, (30 - counter2), 0x00000000);
suspend;
if (counter2 != 4) goto block_0327;
block_02D5:
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x3D */
/* loopscr value_u8=0x40 */
/* loopscr value_u8=0x25 */
/* loop current_var=0xF6 string_bytes=0x6 loop_type=0x2 */
block_02F3:
if condition goto block_0325;
block_02F6:
if (Item.getNpcNum(wind) != Item.getNpcNum(arg_06)) goto block_0321;
block_0312:
class_0A0C_slot_2F(0x0337, wind);
block_0321:
/* loopnext */
goto block_02F3;
block_0325:
block_0327:
counter = (1 + counter);
goto block_0260;
block_0334:
if (fram > 4) goto block_034F;
block_0342:
block_034F:
class_0A1E_slot_24(0x1000, arg_06);
block_03B2:
return;
}