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,26 @@
function lift_use() /* entry=52 class_id=0x0133 slot=0x01 */
{
entry:
set_info(0x0207, *(arg_06));
process_exclude();
if (Intrinsic007E(arg_06) != 10) goto block_0591;
block_0545:
spawn class_0133_slot_20(pid, arg_06);
suspend;
/* global_address global_id=0x3C */
suspend;
goto block_05C2;
block_0591:
if (Intrinsic007E(arg_06) != 20) goto block_05C2;
block_05A0:
spawn class_0133_slot_20(pid, arg_06);
suspend;
goto block_05C2;
block_05C2:
return;
}

View file

@ -0,0 +1,19 @@
function lift_gotHit() /* entry=52 class_id=0x0133 slot=0x06 */
{
var
referent, /* [BP+00h] type=0x69 */
ref, /* [BP+0Ah] type=0x69 */
vel, /* [BP+0Ch] type=0x69 */
item; /* [BP-02h] type=0x24 */
set_info(0x020C, *(arg_06));
process_exclude();
item = ref;
class_0A0C_slot_2C(vel, ref);
if (retval) {
if (ref == 1) {
}
return;
}
return;
}

View file

@ -0,0 +1,34 @@
function lift_enterFastArea() /* entry=52 class_id=0x0133 slot=0x0F */
{
entry:
set_info(0x021B, *(arg_06));
process_exclude();
if (Intrinsic007E(arg_06) != 2) goto block_0192;
block_0100:
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
suspend;
spawn class_0133_slot_20(arg_06);
suspend;
goto block_0233;
block_0192:
if (Intrinsic007E(arg_06) != 20) goto block_0233;
block_01A1:
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
suspend;
spawn class_0133_slot_20(arg_06);
suspend;
goto block_0233;
block_0233:
return;
}

View file

@ -0,0 +1,81 @@
function lift_slot_20() /* entry=52 class_id=0x0133 slot=0x20 */
{
var
referent, /* [BP+00h] type=0x69 */
counter, /* [BP-02h] type=0x69 */
total, /* [BP-04h] type=0x69 */
alt, /* [BP-06h] type=0x69 */
wp, /* [BP-0Bh] type=0x24 */
cargo, /* [BP-0Dh] type=0x24 */
cargoType; /* [BP-0Fh] type=0x69 */
entry:
set_info(0x0001, *(arg_06));
alt = 1;
block_05F2:
if (alt <= 47) goto block_077A;
block_05FA:
wp = Intrinsic0013(arg_06);
local_09 = Item.legal_create(arg_06);
local_07 = (Item.getZ(arg_06) - 2);
total = 0;
/* loopscr value_u8=0x24 */
/* loop current_var=0xF3 string_bytes=0x1 loop_type=0x6 */
block_063E:
if condition goto block_067B;
block_0641:
cargoType = Intrinsic0016(cargo);
if (cargo != *(arg_06)) goto block_0677;
block_0662:
total = (1 + total);
block_0677:
/* loopnext */
goto block_063E;
block_067B:
if Item.pop(0, 1, wp, arg_06) goto block_070D;
block_0692:
counter = 1;
block_0699:
if (counter <= total) goto block_06E4;
block_06A4:
cargo = Intrinsic0023();
counter = (1 + counter);
goto block_0699;
block_06E4:
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
suspend;
goto block_076D;
block_070D:
counter = 1;
block_071F:
if (counter <= total) goto block_0767;
block_072A:
cargo = Intrinsic0023();
counter = (1 + counter);
goto block_071F;
block_0767:
goto block_077A;
block_076D:
alt = (1 + alt);
goto block_05F2;
block_077A:
return;
}