Stuff
This commit is contained in:
parent
ee33f94b4b
commit
f92d1504fa
547 changed files with 37597 additions and 0 deletions
|
|
@ -0,0 +1,17 @@
|
|||
function surcamns_use() /* entry=269 class_id=0x04C6 slot=0x01 */
|
||||
{
|
||||
entry:
|
||||
set_info(0x0207, *(arg_06));
|
||||
process_exclude();
|
||||
if (Item.getStatus(arg_06) & 0x1000) goto block_01E7;
|
||||
|
||||
block_01E1:
|
||||
goto block_01F5;
|
||||
|
||||
block_01E7:
|
||||
spawn class_04C6_slot_20(arg_06);
|
||||
|
||||
block_01F5:
|
||||
return;
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
function surcamns_equip() /* entry=269 class_id=0x04C6 slot=0x0A */
|
||||
{
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
if ((Item.getStatus(arg_06) & 0x1000)) {
|
||||
if (arg_0A == 0) {
|
||||
/* global_address global_id=0x3C */
|
||||
spawn class_04C6_slot_21(arg_06);
|
||||
}
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
@ -0,0 +1,109 @@
|
|||
function surcamns_slot_20() /* entry=269 class_id=0x04C6 slot=0x20 */
|
||||
{
|
||||
var
|
||||
referent, /* [BP+00h] type=0x69 */
|
||||
textFile, /* [BP-02h] type=0x73 */
|
||||
monit, /* [BP-04h] type=0x24 */
|
||||
valueBox, /* [BP-06h] type=0x24 */
|
||||
passcode, /* [BP-08h] type=0x69 */
|
||||
link, /* [BP-0Ah] type=0x69 */
|
||||
code; /* [BP-0Bh] type=0x62 */
|
||||
|
||||
entry:
|
||||
set_info(0x021B, 0);
|
||||
link = Item.getNpcNum(arg_06);
|
||||
if (Item.getMapNum(arg_06) != 0) goto block_0356;
|
||||
|
||||
block_024D:
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
/* loopscr value_u8=0x40 */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
|
||||
|
||||
block_026B:
|
||||
if condition goto block_02E4;
|
||||
|
||||
block_026E:
|
||||
if ((Item.getNpcNum(monit) != link) || (link != 0)) goto block_02E0;
|
||||
|
||||
block_0289:
|
||||
if Intrinsic00FB(monit) goto block_02E0;
|
||||
|
||||
block_0298:
|
||||
class_0A17_slot_21(Intrinsic00FB(monit), Item.getNpcNum(monit), arg_06);
|
||||
/* free_local_string bp_offset=0xFE target=[BP-02h] */
|
||||
textFile = retval;
|
||||
spawn class_0A17_slot_20(pid, textFile, arg_06);
|
||||
/* free_stack_string value_u8=0x0 target=[SP+00h] */
|
||||
suspend;
|
||||
|
||||
block_02E0:
|
||||
/* loopnext */
|
||||
goto block_026B;
|
||||
|
||||
block_02E4:
|
||||
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
|
||||
suspend;
|
||||
spawn class_04C6_slot_21(pid, arg_06);
|
||||
suspend;
|
||||
spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
|
||||
suspend;
|
||||
goto block_045B;
|
||||
|
||||
block_0356:
|
||||
code = 0;
|
||||
if Intrinsic00FB(arg_06) goto block_043C;
|
||||
|
||||
block_036C:
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
/* loopscr value_u8=0x40 */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
|
||||
|
||||
block_038A:
|
||||
if condition goto block_03C2;
|
||||
|
||||
block_038D:
|
||||
if (Item.getNpcNum(valueBox) != link) goto block_03BE;
|
||||
|
||||
block_039F:
|
||||
class_0A19_slot_20(valueBox);
|
||||
passcode = retval;
|
||||
code = (1 + code);
|
||||
goto block_03C2;
|
||||
|
||||
block_03BE:
|
||||
/* loopnext */
|
||||
goto block_038A;
|
||||
|
||||
block_03C2:
|
||||
if code goto block_03F4;
|
||||
|
||||
block_03CC:
|
||||
class_0A17_slot_23(passcode, Intrinsic00FB(arg_06), Item.getNpcNum(arg_06), arg_06);
|
||||
/* free_local_string bp_offset=0xFE target=[BP-02h] */
|
||||
textFile = retval;
|
||||
goto block_0417;
|
||||
|
||||
block_03F4:
|
||||
class_0A17_slot_21(Intrinsic00FB(arg_06), Item.getNpcNum(arg_06), arg_06);
|
||||
/* free_local_string bp_offset=0xFE target=[BP-02h] */
|
||||
textFile = retval;
|
||||
|
||||
block_0417:
|
||||
spawn class_0A17_slot_20(pid, textFile, arg_06);
|
||||
/* free_stack_string value_u8=0x0 target=[SP+00h] */
|
||||
suspend;
|
||||
|
||||
block_043C:
|
||||
spawn class_04C6_slot_21(pid, arg_06);
|
||||
suspend;
|
||||
|
||||
block_045B:
|
||||
/* bit_not */
|
||||
/* free_local_string bp_offset=0xFE target=[BP-02h] */
|
||||
return;
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,200 @@
|
|||
function surcamns_slot_21() /* entry=269 class_id=0x04C6 slot=0x21 */
|
||||
{
|
||||
var
|
||||
referent, /* [BP+00h] type=0x69 */
|
||||
screen, /* [BP-02h] type=0x24 */
|
||||
cameraEgg, /* [BP-04h] type=0x24 */
|
||||
trueRef, /* [BP-06h] type=0x69 */
|
||||
x1, /* [BP-08h] type=0x69 */
|
||||
y1, /* [BP-0Ah] type=0x69 */
|
||||
z1, /* [BP-0Bh] type=0x62 */
|
||||
npc, /* [BP-0Dh] type=0x24 */
|
||||
therma, /* [BP-0Fh] type=0x24 */
|
||||
x, /* [BP-11h] type=0x69 */
|
||||
y, /* [BP-13h] type=0x69 */
|
||||
z; /* [BP-14h] type=0x62 */
|
||||
|
||||
entry:
|
||||
set_info(0x021B, 0);
|
||||
trueRef = *(arg_06);
|
||||
if Item.getQLo(0, 0x0471, screen) goto block_0534;
|
||||
|
||||
block_0508:
|
||||
|
||||
block_0534:
|
||||
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
|
||||
suspend;
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
/* loopscr value_u8=0x40 */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
|
||||
|
||||
block_0579:
|
||||
if condition goto block_0B05;
|
||||
|
||||
block_057C:
|
||||
if (Item.getNpcNum(cameraEgg) != Item.getNpcNum(arg_06)) goto block_0B01;
|
||||
|
||||
block_0598:
|
||||
if (Item.getNpcNum(arg_06) != 0x00FE) goto block_085D;
|
||||
|
||||
block_05AB:
|
||||
/* global_address global_id=0x3C */
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
/* loopscr value_u8=0x40 */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xF3 string_bytes=0x6 loop_type=0x2 */
|
||||
|
||||
block_0656:
|
||||
if condition goto block_0695;
|
||||
|
||||
block_0659:
|
||||
if Item.isNpc(npc) goto block_0691;
|
||||
|
||||
block_0668:
|
||||
if (Item.getQLo(npc) != Item.getNpcNum(arg_06)) goto block_0691;
|
||||
|
||||
block_0684:
|
||||
therma = npc;
|
||||
goto block_0695;
|
||||
|
||||
block_0691:
|
||||
/* loopnext */
|
||||
goto block_0656;
|
||||
|
||||
block_0695:
|
||||
if therma goto block_079B;
|
||||
|
||||
block_069F:
|
||||
/* global_address global_id=0x3C */
|
||||
x1 = Intrinsic0013();
|
||||
/* global_address global_id=0x3C */
|
||||
y1 = Item.legal_create();
|
||||
/* global_address global_id=0x3C */
|
||||
z1 = Item.getZ();
|
||||
spawn class_0A11_slot_28(pid, therma);
|
||||
suspend;
|
||||
|
||||
block_06FD:
|
||||
if (Item.pop() != 1) goto block_0737;
|
||||
|
||||
block_070E:
|
||||
spawn class_0A0C_slot_32(pid, 3, 0x00000000);
|
||||
suspend;
|
||||
goto block_06FD;
|
||||
|
||||
block_0737:
|
||||
/* global_address global_id=0x3C */
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
goto block_0B05;
|
||||
|
||||
block_0798:
|
||||
goto block_085A;
|
||||
|
||||
block_079B:
|
||||
/* global_address global_id=0x3C */
|
||||
x1 = Intrinsic0013();
|
||||
/* global_address global_id=0x3C */
|
||||
y1 = Item.legal_create();
|
||||
/* global_address global_id=0x3C */
|
||||
z1 = Item.getZ();
|
||||
|
||||
block_07C8:
|
||||
if (!Item.enterFastArea()) goto block_0800;
|
||||
|
||||
block_07D7:
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
goto block_07C8;
|
||||
|
||||
block_0800:
|
||||
/* global_address global_id=0x3C */
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
goto block_0B05;
|
||||
|
||||
block_085A:
|
||||
goto block_0B01;
|
||||
|
||||
block_085D:
|
||||
if (Item.getNpcNum(arg_06) != 0x00FD) goto block_08C6;
|
||||
|
||||
block_0870:
|
||||
spawn class_0A0C_slot_32(pid, 60, 0x00000000);
|
||||
suspend;
|
||||
/* str_to_ptr */
|
||||
/* free_stack_string value_u8=0x4 target=[SP+04h] */
|
||||
suspend;
|
||||
goto block_0B01;
|
||||
|
||||
block_08C6:
|
||||
if (Item.getNpcNum(arg_06) > 0x00F9) goto block_0956;
|
||||
|
||||
block_08D9:
|
||||
/* global_address global_id=0x3C */
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
spawn class_04C6_slot_22(cameraEgg, arg_06);
|
||||
goto block_0B05;
|
||||
|
||||
block_0953:
|
||||
goto block_0B01;
|
||||
|
||||
block_0956:
|
||||
x = Intrinsic0013(cameraEgg);
|
||||
y = Item.legal_create(cameraEgg);
|
||||
z = Item.getZ(cameraEgg);
|
||||
/* global_address global_id=0x3C */
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(pid, 60, 0x00000000);
|
||||
suspend;
|
||||
if (Item.getMapNum(cameraEgg) != 0) goto block_0A31;
|
||||
|
||||
block_0A0C:
|
||||
spawn class_0A18_slot_20(pid, 0, cameraEgg, arg_06);
|
||||
suspend;
|
||||
|
||||
block_0A31:
|
||||
spawn class_0A0C_slot_32(pid, 120, 0x00000000);
|
||||
suspend;
|
||||
|
||||
block_0A57:
|
||||
if (!Item.enterFastArea()) goto block_0A8F;
|
||||
|
||||
block_0A66:
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
goto block_0A57;
|
||||
|
||||
block_0A8F:
|
||||
/* global_address global_id=0x3C */
|
||||
/* global_address global_id=0x3C */
|
||||
/* global_address global_id=0x3C */
|
||||
/* global_address global_id=0x3C */
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
goto block_0B05;
|
||||
|
||||
block_0B01:
|
||||
/* loopnext */
|
||||
goto block_0579;
|
||||
|
||||
block_0B05:
|
||||
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
|
||||
suspend;
|
||||
if screen goto block_0B40;
|
||||
|
||||
block_0B35:
|
||||
|
||||
block_0B40:
|
||||
return;
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,56 @@
|
|||
function surcamns_slot_22() /* entry=269 class_id=0x04C6 slot=0x22 */
|
||||
{
|
||||
var
|
||||
referent, /* [BP+00h] type=0x69 */
|
||||
eventTrigger, /* [BP+0Ah] type=0x24 */
|
||||
n, /* [BP-02h] type=0x24 */
|
||||
foundGun; /* [BP-03h] type=0x62 */
|
||||
|
||||
entry:
|
||||
set_info(0x00F0, 0);
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x42 */
|
||||
/* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
|
||||
|
||||
block_0C00:
|
||||
if condition goto block_0C28;
|
||||
|
||||
block_0C03:
|
||||
if Item.isNpc(n) goto block_0C24;
|
||||
|
||||
block_0C12:
|
||||
foundGun = 1;
|
||||
|
||||
block_0C24:
|
||||
/* loopnext */
|
||||
goto block_0C00;
|
||||
|
||||
block_0C28:
|
||||
/* global_address global_id=0x3C */
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
if foundGun goto block_0CCA;
|
||||
|
||||
block_0C8D:
|
||||
if (Item.pop() != 1) goto block_0CC7;
|
||||
|
||||
block_0C9E:
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
goto block_0C8D;
|
||||
|
||||
block_0CC7:
|
||||
goto block_0CF1;
|
||||
|
||||
block_0CCA:
|
||||
spawn class_0A0C_slot_32(pid, 0x00C8, 0x00000000);
|
||||
suspend;
|
||||
|
||||
block_0CF1:
|
||||
/* global_address global_id=0x3C */
|
||||
/* global_address global_id=0x3C */
|
||||
/* global_address global_id=0x3C */
|
||||
/* global_address global_id=0x3C */
|
||||
return;
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue