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,8 @@
function wea_boot_use() /* entry=251 class_id=0x045B slot=0x01 */
{
entry:
set_info(0x0207, *(arg_06));
process_exclude();
return;
}

View file

@ -0,0 +1,49 @@
function wea_boot_equip() /* entry=251 class_id=0x045B slot=0x0A */
{
var
referent, /* [BP+00h] type=0x69 */
var, /* [BP+0Ah] type=0x69 */
counter; /* [BP-02h] type=0x69 */
entry:
set_info(0x0211, *(arg_06));
process_exclude();
class_0A0C_slot_33(0x021B, *(arg_06));
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
block_0125:
if (Item.getFrame(arg_06) != 5) goto block_0177;
block_0137:
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
goto block_0125;
block_0177:
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
if ((global[0x001F] != 0) && (global[0x001F] < 15)) goto block_01C5;
block_01B5:
goto block_01D0;
block_01C5:
block_01D0:
counter = 0;
block_01D7:
if (counter <= 4) goto block_0222;
block_01DF:
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_01D7;
block_0222:
spawn class_045B_enterFastArea(arg_06);
return;
}

View file

@ -0,0 +1,73 @@
function wea_boot_enterFastArea() /* entry=251 class_id=0x045B slot=0x0F */
{
var
referent, /* [BP+00h] type=0x69 */
counter, /* [BP-02h] type=0x69 */
ran; /* [BP-04h] type=0x69 */
entry:
set_info(0x021B, *(arg_06));
process_exclude();
spawn class_0A0C_slot_32(pid, 0x07D0, 0x00000000);
suspend;
block_02CA:
suspend;
class_0A0C_slot_20(pid, 100);
spawn class_0A0C_slot_32((retval + 60), 0x00000000);
suspend;
if (!Item.getFrame(arg_06)) goto block_036A;
block_031B:
counter = 0;
block_0322:
if (counter <= 4) goto block_036A;
block_032A:
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_0322;
block_036A:
class_0A0C_slot_20(100);
if (retval > 50) goto block_03FF;
block_0380:
class_0A0C_slot_20(2);
ran = (retval + 1);
counter = 0;
block_0399:
if (counter <= ran) goto block_03FC;
block_03A4:
class_0A0C_slot_20(pid, 10);
spawn class_0A0C_slot_32((retval + 30), 0x00000000);
suspend;
counter = (1 + counter);
goto block_0399;
block_03FC:
goto block_0451;
block_03FF:
counter = 0;
block_0406:
if (counter <= 4) goto block_0451;
block_040E:
spawn class_0A0C_slot_32(pid, 15, 0x00000000);
suspend;
counter = (1 + counter);
goto block_0406;
block_0451:
goto block_02CA;
block_0454:
return;
}

View file

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