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,121 @@
function ree_boot_equip() /* entry=283 class_id=0x04DB slot=0x0A */
{
var
referent, /* [BP+00h] type=0x69 */
event, /* [BP+0Ah] type=0x69 */
counter; /* [BP-02h] type=0x69 */
entry:
set_info(0x0211, *(arg_06));
process_exclude();
if (Item.getFrame(arg_06) != 12) goto block_0106;
block_0100:
goto block_03F6;
block_0106:
class_0A0C_slot_33(0x021B, *(arg_06));
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
block_0140:
if (Item.getFrame(arg_06) != 11) goto block_0192;
block_0152:
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
goto block_0140;
block_0192:
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
if (global[0x001F] != 3) goto block_01F2;
block_01C2:
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
goto block_038B;
block_01F2:
if (global[0x001F] != 6) goto block_022C;
block_01FC:
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
goto block_038B;
block_022C:
if (global[0x001F] != 7) goto block_0266;
block_0236:
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
goto block_038B;
block_0266:
if (global[0x001F] != 8) goto block_02A0;
block_0270:
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
goto block_038B;
block_02A0:
if (global[0x001F] != 9) goto block_02DA;
block_02AA:
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
goto block_038B;
block_02DA:
if (global[0x001F] != 11) goto block_0315;
block_02E4:
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
goto block_038B;
block_0315:
if (global[0x001F] != 12) goto block_0350;
block_031F:
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
goto block_038B;
block_0350:
if (global[0x001F] != 13) goto block_038B;
block_035A:
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
goto block_038B;
block_038B:
counter = 0;
block_0392:
if (counter <= 11) goto block_03DD;
block_039A:
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_0392;
block_03DD:
spawn class_04DB_enterFastArea(arg_06);
block_03F6:
return;
}

View file

@ -0,0 +1,96 @@
function ree_boot_enterFastArea() /* entry=283 class_id=0x04DB slot=0x0F */
{
var
referent, /* [BP+00h] type=0x69 */
item, /* [BP-02h] type=0x24 */
counter; /* [BP-04h] type=0x69 */
entry:
set_info(0x021B, *(arg_06));
process_exclude();
if ((((((((global[0x001F] != 3) || (global[0x001F] != 6)) || (global[0x001F] != 7)) || (global[0x001F] != 8)) || (global[0x001F] != 9)) || (global[0x001F] != 11)) || (global[0x001F] != 12)) || (global[0x001F] != 13)) goto block_04DA;
block_0478:
/* 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_0496:
if condition goto block_04C8;
block_0499:
if (Item.getNpcNum(item) != Item.getNpcNum(arg_06)) goto block_04C4;
block_04B5:
class_0A1E_slot_24(0x1000, item);
block_04C4:
/* loopnext */
goto block_0496;
block_04C8:
goto block_053F;
block_04DA:
/* 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_04F8:
if condition goto block_052A;
block_04FB:
if (Item.getNpcNum(item) != Item.getNpcNum(arg_06)) goto block_0526;
block_0517:
class_0A1E_slot_23(0x1000, item);
block_0526:
/* loopnext */
goto block_04F8;
block_052A:
goto block_0653;
block_053F:
suspend;
class_0A0C_slot_20(pid, 120);
spawn class_0A0C_slot_32((retval + 0x00DC), 0x00000000);
suspend;
counter = 0;
block_0585:
if (counter <= 4) goto block_05CD;
block_058D:
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_0585;
block_05CD:
class_0A0C_slot_20(pid, 120);
spawn class_0A0C_slot_32((retval + 120), 0x00000000);
suspend;
counter = 0;
block_0605:
if (counter <= 4) goto block_0650;
block_060D:
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_0605;
block_0650:
goto block_053F;
block_0653:
return;
}

View file

@ -0,0 +1,9 @@
function ree_boot_leaveFastArea() /* entry=283 class_id=0x04DB slot=0x10 */
{
entry:
set_info(0x021C, *(arg_06));
process_exclude();
class_0A0C_slot_33(0x021B, *(arg_06));
return;
}