Usecode pseudocode
This commit is contained in:
parent
f92d1504fa
commit
c12bb39437
1362 changed files with 71072 additions and 38056 deletions
1
USECODE/EUSECODE_extracted/export_remorse_pseudocode.log
Normal file
1
USECODE/EUSECODE_extracted/export_remorse_pseudocode.log
Normal file
|
|
@ -0,0 +1 @@
|
|||
Exported 977 pseudocode files to USECODE\EUSECODE_extracted\pseudocode
|
||||
|
|
@ -4,32 +4,14 @@ function alarmbox_use() /* entry=256 class_id=0x0477 slot=0x01 */
|
|||
referent, /* [BP+00h] type=0x69 */
|
||||
item; /* [BP-02h] type=0x24 */
|
||||
|
||||
entry:
|
||||
set_info(0x0207, *(arg_06));
|
||||
process_exclude();
|
||||
if Intrinsic0000() goto block_0232;
|
||||
|
||||
block_01AA:
|
||||
if (Item.getFrame(arg_06) != 2) goto block_01C9;
|
||||
|
||||
block_01B9:
|
||||
goto block_01E8;
|
||||
|
||||
block_01C9:
|
||||
if (Item.getFrame(arg_06) != 3) goto block_01E8;
|
||||
|
||||
block_01D8:
|
||||
goto block_01E8;
|
||||
|
||||
block_01E8:
|
||||
set_info(0x0207, *(arg_06));
|
||||
process_exclude();
|
||||
if (!World.getAlertActive()) {
|
||||
spawn class_0A0C_slot_3C(0x00000000);
|
||||
if (Item.getMapNum(arg_06) != 0) goto block_0232;
|
||||
|
||||
block_020B:
|
||||
spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
|
||||
suspend;
|
||||
|
||||
block_0232:
|
||||
return;
|
||||
|
||||
if (Item.getMapArray(arg_06) == 0) {
|
||||
spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
|
||||
suspend;
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,25 +8,24 @@ function alarmbox_equip() /* entry=256 class_id=0x0477 slot=0x0A */
|
|||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
if (!var) {
|
||||
if (Intrinsic0000()) {
|
||||
if (World.getAlertActive()) {
|
||||
spawn class_0A0C_slot_3B(0x00000000);
|
||||
}
|
||||
a = Item.getStatus(arg_06);
|
||||
if ((a & 4) == 0) {
|
||||
if (Item.getMapNum(arg_06) == 0) {
|
||||
if (Item.getMapArray(arg_06) == 0) {
|
||||
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
|
||||
suspend;
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (!Intrinsic0000()) {
|
||||
else if (!World.getAlertActive()) {
|
||||
spawn class_0A0C_slot_3C(0x00000000);
|
||||
if (Item.getMapNum(arg_06) == 0) {
|
||||
if (Item.getMapArray(arg_06) == 0) {
|
||||
spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
|
||||
suspend;
|
||||
}
|
||||
}
|
||||
return;
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,38 +1,15 @@
|
|||
function alarmbox_enterFastArea() /* entry=256 class_id=0x0477 slot=0x0F */
|
||||
{
|
||||
entry:
|
||||
set_info(0x021B, *(arg_06));
|
||||
process_exclude();
|
||||
if Intrinsic0000() goto block_0137;
|
||||
|
||||
block_00F6:
|
||||
if (Item.getFrame(arg_06) != 0) goto block_0115;
|
||||
|
||||
block_0105:
|
||||
goto block_0134;
|
||||
|
||||
block_0115:
|
||||
if (Item.getFrame(arg_06) != 1) goto block_0134;
|
||||
|
||||
block_0124:
|
||||
goto block_0134;
|
||||
|
||||
block_0134:
|
||||
goto block_0175;
|
||||
|
||||
block_0137:
|
||||
if (Item.getFrame(arg_06) != 2) goto block_0156;
|
||||
|
||||
block_0146:
|
||||
goto block_0175;
|
||||
|
||||
block_0156:
|
||||
if (Item.getFrame(arg_06) != 3) goto block_0175;
|
||||
|
||||
block_0165:
|
||||
goto block_0175;
|
||||
|
||||
block_0175:
|
||||
set_info(0x021B, *(arg_06));
|
||||
process_exclude();
|
||||
if (!World.getAlertActive()) {
|
||||
return;
|
||||
|
||||
}
|
||||
else if (Item.getFrame(arg_06) == 2) {
|
||||
return;
|
||||
}
|
||||
else if (Item.getFrame(arg_06) == 3) {
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,83 +6,47 @@ function alarmhat_equip() /* entry=321 class_id=0x0561 slot=0x0A */
|
|||
item, /* [BP-02h] type=0x24 */
|
||||
npc; /* [BP-04h] type=0x24 */
|
||||
|
||||
entry:
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
if Item.getFrame(arg_06) goto block_0156;
|
||||
|
||||
block_00FA:
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
if (!Item.getFrame(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_0118:
|
||||
if condition goto block_0151;
|
||||
|
||||
block_011B:
|
||||
if (Item.getFrame(item) != 0) goto block_014D;
|
||||
|
||||
block_012D:
|
||||
suspend;
|
||||
|
||||
block_014D:
|
||||
/* loopnext */
|
||||
goto block_0118;
|
||||
|
||||
block_0151:
|
||||
goto block_0233;
|
||||
|
||||
block_0156:
|
||||
if (!Intrinsic0007(arg_06)) goto block_0233;
|
||||
|
||||
block_0169:
|
||||
while (!condition) {
|
||||
if (Item.getFrame(item) == 0) {
|
||||
suspend;
|
||||
}
|
||||
/* loopnext */
|
||||
}
|
||||
return;
|
||||
}
|
||||
else if (Item.isOnScreen(arg_06)) {
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
/* loopscr value_u8=0x3A */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
|
||||
|
||||
block_0186:
|
||||
if condition goto block_01D8;
|
||||
|
||||
block_0189:
|
||||
if Item.isNpc(npc) goto block_01D4;
|
||||
|
||||
block_0198:
|
||||
if ((Item.getZ(npc) > (Item.getZ(arg_06) - 10)) && (Item.getZ(npc) < (Item.getZ(arg_06) + 10))) goto block_01D4;
|
||||
|
||||
block_01CE:
|
||||
goto block_0233;
|
||||
|
||||
block_01D4:
|
||||
/* loopnext */
|
||||
goto block_0186;
|
||||
|
||||
block_01D8:
|
||||
while (!condition) {
|
||||
if (!Actor.isNPC(npc)) {
|
||||
if ((Item.getZ(npc) > (Item.getZ(arg_06) - 10)) && (Item.getZ(npc) >= (Item.getZ(arg_06) + 10))) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
/* loopnext */
|
||||
}
|
||||
/* 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_01F8:
|
||||
if condition goto block_0231;
|
||||
|
||||
block_01FB:
|
||||
if (Item.getFrame(item) != 0) goto block_022D;
|
||||
|
||||
block_020D:
|
||||
suspend;
|
||||
|
||||
block_022D:
|
||||
/* loopnext */
|
||||
goto block_01F8;
|
||||
|
||||
block_0231:
|
||||
|
||||
block_0233:
|
||||
return;
|
||||
|
||||
while (!condition) {
|
||||
if (Item.getFrame(item) == 0) {
|
||||
suspend;
|
||||
}
|
||||
/* loopnext */
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,16 +1,9 @@
|
|||
function alarm_ew_enterFastArea() /* entry=4 class_id=0x0021 slot=0x0F */
|
||||
{
|
||||
entry:
|
||||
set_info(0x021B, *(arg_06));
|
||||
process_exclude();
|
||||
if Intrinsic0000() goto block_0106;
|
||||
|
||||
block_00F6:
|
||||
goto block_0113;
|
||||
|
||||
block_0106:
|
||||
|
||||
block_0113:
|
||||
set_info(0x021B, *(arg_06));
|
||||
process_exclude();
|
||||
if (!World.getAlertActive()) {
|
||||
return;
|
||||
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,16 +1,9 @@
|
|||
function alarm_ns_enterFastArea() /* entry=8 class_id=0x0049 slot=0x0F */
|
||||
{
|
||||
entry:
|
||||
set_info(0x021B, *(arg_06));
|
||||
process_exclude();
|
||||
if Intrinsic0000() goto block_0106;
|
||||
|
||||
block_00F6:
|
||||
goto block_0113;
|
||||
|
||||
block_0106:
|
||||
|
||||
block_0113:
|
||||
set_info(0x021B, *(arg_06));
|
||||
process_exclude();
|
||||
if (!World.getAlertActive()) {
|
||||
return;
|
||||
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,43 +1,24 @@
|
|||
function alrmtrig_equip() /* entry=328 class_id=0x0581 slot=0x0A */
|
||||
{
|
||||
entry:
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
if (Item.getMapNum(arg_06) != 0) goto block_015C;
|
||||
|
||||
block_00FD:
|
||||
if Intrinsic0000() goto block_0132;
|
||||
|
||||
block_0108:
|
||||
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
|
||||
suspend;
|
||||
goto block_0159;
|
||||
|
||||
block_0132:
|
||||
spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
|
||||
suspend;
|
||||
|
||||
block_0159:
|
||||
goto block_01C0;
|
||||
|
||||
block_015C:
|
||||
if Intrinsic0000() goto block_0195;
|
||||
|
||||
block_0167:
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
if (Item.getMapArray(arg_06) == 0) {
|
||||
if (!World.getAlertActive()) {
|
||||
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
|
||||
suspend;
|
||||
}
|
||||
else {
|
||||
spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
|
||||
suspend;
|
||||
}
|
||||
}
|
||||
else if (!World.getAlertActive()) {
|
||||
spawn class_0A18_slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
|
||||
suspend;
|
||||
goto block_01C0;
|
||||
|
||||
block_0195:
|
||||
}
|
||||
else {
|
||||
spawn class_0A18_slot_20(pid, (1 + 0x0080), *(arg_06), arg_06);
|
||||
suspend;
|
||||
|
||||
block_01C0:
|
||||
if (arg_0A != 1) goto block_01D9;
|
||||
|
||||
block_01CE:
|
||||
|
||||
block_01D9:
|
||||
return;
|
||||
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,7 @@
|
|||
function android_calledFromAnim() /* entry=200 class_id=0x0383 slot=0x0E */
|
||||
{
|
||||
entry:
|
||||
set_info(0x021A, *(arg_06));
|
||||
process_exclude();
|
||||
spawn class_0A1C_slot_20(Item.getQLo(arg_06), *(arg_06), arg_06);
|
||||
return;
|
||||
|
||||
set_info(0x021A, *(arg_06));
|
||||
process_exclude();
|
||||
spawn class_0A1C_slot_20(Actor.GetNPCDataField0x63_00B(arg_06), *(arg_06), arg_06);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,77 +5,48 @@ function and_boot_equip() /* entry=171 class_id=0x0314 slot=0x0A */
|
|||
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_02FE;
|
||||
|
||||
block_0106:
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
if (Item.getFrame(arg_06) == 12) {
|
||||
return;
|
||||
}
|
||||
else {
|
||||
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:
|
||||
while (Item.getFrame(arg_06) == 11) {
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
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] != 2) goto block_01F2;
|
||||
|
||||
block_01C2:
|
||||
/* str_to_ptr */
|
||||
/* free_stack_string value_u8=0x4 target=[SP+04h] */
|
||||
suspend;
|
||||
goto block_0293;
|
||||
|
||||
block_01F2:
|
||||
if (global[0x001F] != 3) goto block_022C;
|
||||
|
||||
block_01FC:
|
||||
/* str_to_ptr */
|
||||
/* free_stack_string value_u8=0x4 target=[SP+04h] */
|
||||
suspend;
|
||||
goto block_0293;
|
||||
|
||||
block_022C:
|
||||
if (global[0x001F] != 4) goto block_0266;
|
||||
|
||||
block_0236:
|
||||
/* str_to_ptr */
|
||||
/* free_stack_string value_u8=0x4 target=[SP+04h] */
|
||||
suspend;
|
||||
goto block_0293;
|
||||
|
||||
block_0266:
|
||||
/* str_to_ptr */
|
||||
/* free_stack_string value_u8=0x4 target=[SP+04h] */
|
||||
suspend;
|
||||
|
||||
block_0293:
|
||||
if (global[0x001F] == 2) {
|
||||
/* str_to_ptr */
|
||||
/* free_stack_string value_u8=0x4 target=[SP+04h] */
|
||||
suspend;
|
||||
}
|
||||
else if (global[0x001F] == 3) {
|
||||
/* str_to_ptr */
|
||||
/* free_stack_string value_u8=0x4 target=[SP+04h] */
|
||||
suspend;
|
||||
}
|
||||
else if (global[0x001F] == 4) {
|
||||
/* str_to_ptr */
|
||||
/* free_stack_string value_u8=0x4 target=[SP+04h] */
|
||||
suspend;
|
||||
}
|
||||
else {
|
||||
/* str_to_ptr */
|
||||
/* free_stack_string value_u8=0x4 target=[SP+04h] */
|
||||
suspend;
|
||||
}
|
||||
counter = 0;
|
||||
|
||||
block_029A:
|
||||
if (counter <= 11) goto block_02E5;
|
||||
|
||||
block_02A2:
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
counter = (1 + counter);
|
||||
goto block_029A;
|
||||
|
||||
block_02E5:
|
||||
while (counter > 11) {
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
counter = (1 + counter);
|
||||
}
|
||||
spawn class_0314_enterFastArea(arg_06);
|
||||
|
||||
block_02FE:
|
||||
return;
|
||||
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ function and_boot_enterFastArea() /* entry=171 class_id=0x0314 slot=0x0F */
|
|||
if condition goto block_03A8;
|
||||
|
||||
block_0379:
|
||||
if (Intrinsic0010(item) != Intrinsic0010(arg_06)) goto block_03A4;
|
||||
if (Item.getQLo(item) != Item.getQLo(arg_06)) goto block_03A4;
|
||||
|
||||
block_0395:
|
||||
class_0A1E_slot_24(0x1000, item);
|
||||
|
|
@ -44,7 +44,7 @@ function and_boot_enterFastArea() /* entry=171 class_id=0x0314 slot=0x0F */
|
|||
if condition goto block_040A;
|
||||
|
||||
block_03DB:
|
||||
if (Intrinsic0010(item) != Intrinsic0010(arg_06)) goto block_0406;
|
||||
if (Item.getQLo(item) != Item.getQLo(arg_06)) goto block_0406;
|
||||
|
||||
block_03F7:
|
||||
class_0A1E_slot_23(0x1000, item);
|
||||
|
|
|
|||
|
|
@ -1,9 +1,7 @@
|
|||
function and_boot_leaveFastArea() /* entry=171 class_id=0x0314 slot=0x10 */
|
||||
{
|
||||
entry:
|
||||
set_info(0x021C, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_33(0x021B, *(arg_06));
|
||||
return;
|
||||
|
||||
set_info(0x021C, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_33(0x021B, *(arg_06));
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,26 +6,20 @@ function art_gotHit() /* entry=234 class_id=0x0435 slot=0x06 */
|
|||
vel, /* [BP+0Ch] type=0x69 */
|
||||
fram; /* [BP-02h] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
fram = Item.getFrame(arg_06);
|
||||
class_0A0C_slot_2C(vel, ref);
|
||||
if retval goto block_0176;
|
||||
|
||||
block_010B:
|
||||
if (fram > 7) goto block_0141;
|
||||
|
||||
block_0119:
|
||||
spawn class_0A1E_slot_28(pid, 1, 0, arg_06);
|
||||
suspend;
|
||||
goto block_0176;
|
||||
|
||||
block_0141:
|
||||
spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
|
||||
suspend;
|
||||
|
||||
block_0176:
|
||||
return;
|
||||
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
fram = Item.getFrame(arg_06);
|
||||
class_0A0C_slot_2C(vel, ref);
|
||||
if (!retval) {
|
||||
if (fram <= 7) {
|
||||
spawn class_0A1E_slot_28(pid, 1, 0, arg_06);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
else {
|
||||
spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
|
||||
suspend;
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
function avatar_look() /* entry=339 class_id=0x0801 slot=0x00 */
|
||||
{
|
||||
entry:
|
||||
set_info(0x0208, *(arg_06));
|
||||
process_exclude();
|
||||
return;
|
||||
|
||||
set_info(0x0208, *(arg_06));
|
||||
process_exclude();
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
function avatar_use() /* entry=339 class_id=0x0801 slot=0x01 */
|
||||
{
|
||||
entry:
|
||||
set_info(0x0207, *(arg_06));
|
||||
process_exclude();
|
||||
return;
|
||||
|
||||
set_info(0x0207, *(arg_06));
|
||||
process_exclude();
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,10 +6,8 @@ function avatar_cachein() /* entry=339 class_id=0x0801 slot=0x04 */
|
|||
slot, /* [BP-04h] type=0x69 */
|
||||
counter; /* [BP-06h] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x0213, *(arg_06));
|
||||
process_exclude();
|
||||
spawn class_0801_cast(0, arg_06);
|
||||
return;
|
||||
|
||||
set_info(0x0213, *(arg_06));
|
||||
process_exclude();
|
||||
spawn class_0801_cast(0, arg_06);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,36 +10,50 @@ function avatar_cast() /* entry=339 class_id=0x0801 slot=0x11 */
|
|||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
/* global_address global_id=0x3C */
|
||||
n = Item.getType();
|
||||
if ((Item.getType(arg_06) != 1)) {
|
||||
if (Item.getType(arg_06) == 3) {
|
||||
}
|
||||
else if (Item.getType(arg_06) == 5) {
|
||||
}
|
||||
else if (Item.getType(arg_06) == 7) {
|
||||
}
|
||||
else if (Item.getType(arg_06) == 9) {
|
||||
}
|
||||
else if (Item.getType(arg_06) == 11) {
|
||||
}
|
||||
else if (Item.getType(arg_06) == 13) {
|
||||
}
|
||||
else if (Item.getType(arg_06) == 15) {
|
||||
}
|
||||
else if (Item.getType(arg_06) == 17) {
|
||||
}
|
||||
else if (Item.getType(arg_06) == 19) {
|
||||
}
|
||||
else if (Item.getType(arg_06) == 21) {
|
||||
}
|
||||
else if (Item.getType(arg_06) == 23) {
|
||||
}
|
||||
else if (Item.getType(arg_06) == 25) {
|
||||
}
|
||||
else if (Item.getType(arg_06) == 27) {
|
||||
}
|
||||
else if (Item.getType(arg_06) == 29) {
|
||||
}
|
||||
n = Actor.getMap();
|
||||
if (Actor.getMap(arg_06) == 1) {
|
||||
return;
|
||||
}
|
||||
else if (Actor.getMap(arg_06) == 3) {
|
||||
return;
|
||||
}
|
||||
else if (Actor.getMap(arg_06) == 5) {
|
||||
return;
|
||||
}
|
||||
else if (Actor.getMap(arg_06) == 7) {
|
||||
return;
|
||||
}
|
||||
else if (Actor.getMap(arg_06) == 9) {
|
||||
return;
|
||||
}
|
||||
else if (Actor.getMap(arg_06) == 11) {
|
||||
return;
|
||||
}
|
||||
else if (Actor.getMap(arg_06) == 13) {
|
||||
return;
|
||||
}
|
||||
else if (Actor.getMap(arg_06) == 15) {
|
||||
return;
|
||||
}
|
||||
else if (Actor.getMap(arg_06) == 17) {
|
||||
return;
|
||||
}
|
||||
else if (Actor.getMap(arg_06) == 19) {
|
||||
return;
|
||||
}
|
||||
else if (Actor.getMap(arg_06) == 21) {
|
||||
return;
|
||||
}
|
||||
else if (Actor.getMap(arg_06) == 23) {
|
||||
return;
|
||||
}
|
||||
else if (Actor.getMap(arg_06) == 25) {
|
||||
return;
|
||||
}
|
||||
else if (Actor.getMap(arg_06) == 27) {
|
||||
return;
|
||||
}
|
||||
else if (Actor.getMap(arg_06) == 29) {
|
||||
return;
|
||||
}
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -13,156 +13,89 @@ function barrel_slot_20() /* entry=370 class_id=0x0A00 slot=0x20 */
|
|||
y, /* [BP-0Ch] type=0x69 */
|
||||
z; /* [BP-0Eh] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x0001, *(arg_06));
|
||||
barrel = *(arg_06);
|
||||
x = Intrinsic0013(arg_06);
|
||||
y = Item.legal_create(arg_06);
|
||||
z = Item.getZ(arg_06);
|
||||
class_0A0C_slot_2C(vel, ref);
|
||||
if (!retval) goto block_013F;
|
||||
|
||||
block_0139:
|
||||
goto block_04FA;
|
||||
|
||||
block_013F:
|
||||
set_info(0x0001, *(arg_06));
|
||||
barrel = *(arg_06);
|
||||
x = Item.getX(arg_06);
|
||||
y = Item.getY(arg_06);
|
||||
z = Item.getZ(arg_06);
|
||||
class_0A0C_slot_2C(vel, ref);
|
||||
if (retval) {
|
||||
return;
|
||||
}
|
||||
else {
|
||||
spawn class_0A1E_slot_27(pid, 100, vel, ref, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) goto block_01A2;
|
||||
|
||||
block_016F:
|
||||
class_0A0C_slot_20(1);
|
||||
if retval goto block_018F;
|
||||
|
||||
block_017F:
|
||||
goto block_019C;
|
||||
|
||||
block_018F:
|
||||
|
||||
block_019C:
|
||||
goto block_04FA;
|
||||
|
||||
block_01A2:
|
||||
if (Intrinsic0016(arg_06) != 0x00AA) goto block_0208;
|
||||
|
||||
block_01B2:
|
||||
isStandingBarrel = 1;
|
||||
if ((Item.getFrame(arg_06) != 0) || (Item.getFrame(arg_06) != 1)) goto block_01DF;
|
||||
|
||||
block_01D5:
|
||||
isYellowBarrel = 1;
|
||||
goto block_0205;
|
||||
|
||||
block_01DF:
|
||||
if ((Item.getFrame(arg_06) != 2) || (Item.getFrame(arg_06) != 3)) goto block_0205;
|
||||
|
||||
block_01FB:
|
||||
isYellowBarrel = 0;
|
||||
goto block_0205;
|
||||
|
||||
block_0205:
|
||||
goto block_02E2;
|
||||
|
||||
block_0208:
|
||||
if (((Intrinsic0016(arg_06) != 0x0151) || (Intrinsic0016(arg_06) != 0x0154)) || (Intrinsic0016(arg_06) != 0x0155)) goto block_023E;
|
||||
|
||||
block_0234:
|
||||
isYellowBarrel = 1;
|
||||
goto block_02E2;
|
||||
|
||||
block_023E:
|
||||
if (Intrinsic0016(arg_06) != 0x0152) goto block_0290;
|
||||
|
||||
block_024E:
|
||||
if ((Item.getFrame(arg_06) != 0) || (Item.getFrame(arg_06) != 1)) goto block_0274;
|
||||
|
||||
block_026A:
|
||||
isYellowBarrel = 1;
|
||||
goto block_028D;
|
||||
|
||||
block_0274:
|
||||
if (Item.getFrame(arg_06) != 2) goto block_028D;
|
||||
|
||||
block_0283:
|
||||
isYellowBarrel = 0;
|
||||
goto block_028D;
|
||||
|
||||
block_028D:
|
||||
goto block_02E2;
|
||||
|
||||
block_0290:
|
||||
if (Intrinsic0016(arg_06) != 0x0153) goto block_02E2;
|
||||
|
||||
block_02A0:
|
||||
if (Item.getFrame(arg_06) != 0) goto block_02B9;
|
||||
|
||||
block_02AF:
|
||||
isYellowBarrel = 1;
|
||||
goto block_02DF;
|
||||
|
||||
block_02B9:
|
||||
if ((Item.getFrame(arg_06) != 1) || (Item.getFrame(arg_06) != 2)) goto block_02DF;
|
||||
|
||||
block_02D5:
|
||||
isYellowBarrel = 0;
|
||||
goto block_02DF;
|
||||
|
||||
block_02DF:
|
||||
goto block_02E2;
|
||||
|
||||
block_02E2:
|
||||
link = Intrinsic0010(arg_06);
|
||||
if isYellowBarrel goto block_03FF;
|
||||
|
||||
block_02F8:
|
||||
if isStandingBarrel goto block_0384;
|
||||
|
||||
block_0300:
|
||||
spawn class_0A1E_slot_2A(pid, arg_06);
|
||||
suspend;
|
||||
set_info(1, 0);
|
||||
spawn class_0A0C_slot_32(pid, 1, 0x00000000);
|
||||
suspend;
|
||||
goto block_04FA;
|
||||
|
||||
block_0381:
|
||||
goto block_03FC;
|
||||
|
||||
block_0384:
|
||||
spawn class_0A1E_slot_2A(pid, arg_06);
|
||||
suspend;
|
||||
set_info(1, 0);
|
||||
spawn class_0A0C_slot_32(pid, 1, 0x00000000);
|
||||
suspend;
|
||||
goto block_04FA;
|
||||
|
||||
block_03FC:
|
||||
goto block_04FA;
|
||||
|
||||
block_03FF:
|
||||
if isStandingBarrel goto block_0482;
|
||||
|
||||
block_0407:
|
||||
spawn class_0A1E_slot_2A(pid, arg_06);
|
||||
suspend;
|
||||
set_info(1, 0);
|
||||
spawn class_0A0C_slot_32(pid, 1, 0x00000000);
|
||||
suspend;
|
||||
goto block_04FA;
|
||||
|
||||
block_047F:
|
||||
goto block_04FA;
|
||||
|
||||
block_0482:
|
||||
spawn class_0A1E_slot_2A(pid, arg_06);
|
||||
suspend;
|
||||
set_info(1, 0);
|
||||
spawn class_0A0C_slot_32(pid, 1, 0x00000000);
|
||||
suspend;
|
||||
goto block_04FA;
|
||||
|
||||
block_04FA:
|
||||
return;
|
||||
|
||||
if (process_result) {
|
||||
class_0A0C_slot_20(1);
|
||||
if (!retval) {
|
||||
}
|
||||
return;
|
||||
}
|
||||
else if (Item.getShape(arg_06) == 0x00AA) {
|
||||
isStandingBarrel = 1;
|
||||
if ((Item.getFrame(arg_06) == 0) || (Item.getFrame(arg_06) != 1)) {
|
||||
isYellowBarrel = 1;
|
||||
}
|
||||
else if ((Item.getFrame(arg_06) == 2) || (Item.getFrame(arg_06) != 3)) {
|
||||
isYellowBarrel = 0;
|
||||
}
|
||||
}
|
||||
else if (((Item.getShape(arg_06) == 0x0151) || (Item.getShape(arg_06) != 0x0154)) || (Item.getShape(arg_06) != 0x0155)) {
|
||||
isYellowBarrel = 1;
|
||||
}
|
||||
else if (Item.getShape(arg_06) == 0x0152) {
|
||||
if ((Item.getFrame(arg_06) == 0) || (Item.getFrame(arg_06) != 1)) {
|
||||
isYellowBarrel = 1;
|
||||
}
|
||||
else if (Item.getFrame(arg_06) == 2) {
|
||||
isYellowBarrel = 0;
|
||||
}
|
||||
}
|
||||
else if (Item.getShape(arg_06) == 0x0153) {
|
||||
if (Item.getFrame(arg_06) == 0) {
|
||||
isYellowBarrel = 1;
|
||||
}
|
||||
else if ((Item.getFrame(arg_06) == 1) || (Item.getFrame(arg_06) != 2)) {
|
||||
isYellowBarrel = 0;
|
||||
}
|
||||
}
|
||||
link = Item.getQLo(arg_06);
|
||||
if (!isYellowBarrel) {
|
||||
if (!isStandingBarrel) {
|
||||
spawn class_0A1E_slot_2A(pid, arg_06);
|
||||
suspend;
|
||||
set_info(1, 0);
|
||||
spawn class_0A0C_slot_32(pid, 1, 0x00000000);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
else {
|
||||
spawn class_0A1E_slot_2A(pid, arg_06);
|
||||
suspend;
|
||||
set_info(1, 0);
|
||||
spawn class_0A0C_slot_32(pid, 1, 0x00000000);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
else if (!isStandingBarrel) {
|
||||
spawn class_0A1E_slot_2A(pid, arg_06);
|
||||
suspend;
|
||||
set_info(1, 0);
|
||||
spawn class_0A0C_slot_32(pid, 1, 0x00000000);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
else {
|
||||
spawn class_0A1E_slot_2A(pid, arg_06);
|
||||
suspend;
|
||||
set_info(1, 0);
|
||||
spawn class_0A0C_slot_32(pid, 1, 0x00000000);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,11 +5,9 @@ function barrelew_gotHit() /* entry=61 class_id=0x0153 slot=0x06 */
|
|||
ref, /* [BP+0Ah] type=0x69 */
|
||||
vel; /* [BP+0Ch] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
spawn class_0A00_slot_20(pid, vel, ref, arg_06);
|
||||
suspend;
|
||||
return;
|
||||
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
spawn class_0A00_slot_20(pid, vel, ref, arg_06);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,11 +5,9 @@ function barrelns_gotHit() /* entry=60 class_id=0x0152 slot=0x06 */
|
|||
ref, /* [BP+0Ah] type=0x69 */
|
||||
vel; /* [BP+0Ch] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
spawn class_0A00_slot_20(pid, vel, ref, arg_06);
|
||||
suspend;
|
||||
return;
|
||||
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
spawn class_0A00_slot_20(pid, vel, ref, arg_06);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,11 +5,9 @@ function barrelnw_gotHit() /* entry=62 class_id=0x0154 slot=0x06 */
|
|||
ref, /* [BP+0Ah] type=0x69 */
|
||||
vel; /* [BP+0Ch] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
spawn class_0A00_slot_20(pid, vel, ref, arg_06);
|
||||
suspend;
|
||||
return;
|
||||
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
spawn class_0A00_slot_20(pid, vel, ref, arg_06);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,11 +5,9 @@ function barrels_gotHit() /* entry=59 class_id=0x0151 slot=0x06 */
|
|||
ref, /* [BP+0Ah] type=0x69 */
|
||||
vel; /* [BP+0Ch] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
spawn class_0A00_slot_20(pid, vel, ref, arg_06);
|
||||
suspend;
|
||||
return;
|
||||
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
spawn class_0A00_slot_20(pid, vel, ref, arg_06);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,11 +5,9 @@ function barrelse_gotHit() /* entry=63 class_id=0x0155 slot=0x06 */
|
|||
ref, /* [BP+0Ah] type=0x69 */
|
||||
vel; /* [BP+0Ch] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
spawn class_0A00_slot_20(pid, vel, ref, arg_06);
|
||||
suspend;
|
||||
return;
|
||||
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
spawn class_0A00_slot_20(pid, vel, ref, arg_06);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,11 +5,9 @@ function barrelup_gotHit() /* entry=34 class_id=0x00AA slot=0x06 */
|
|||
ref, /* [BP+0Ah] type=0x69 */
|
||||
vel; /* [BP+0Ch] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
spawn class_0A00_slot_20(pid, vel, ref, arg_06);
|
||||
suspend;
|
||||
return;
|
||||
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
spawn class_0A00_slot_20(pid, vel, ref, arg_06);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,25 +4,17 @@ function bart_use() /* entry=117 class_id=0x01F5 slot=0x01 */
|
|||
referent, /* [BP+00h] type=0x69 */
|
||||
counter; /* [BP-02h] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x0207, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_33(0x021B, *(arg_06));
|
||||
|
||||
block_00FC:
|
||||
if (Item.getFrame(arg_06) > 1) goto block_0151;
|
||||
|
||||
block_0111:
|
||||
set_info(0x0207, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_33(0x021B, *(arg_06));
|
||||
while (Item.getFrame(arg_06) <= 1) {
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
goto block_00FC;
|
||||
|
||||
block_0151:
|
||||
spawn class_0A0C_slot_21(pid, 0x00E8, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
|
||||
suspend;
|
||||
spawn class_01F5_enterFastArea(arg_06);
|
||||
return;
|
||||
|
||||
}
|
||||
spawn class_0A0C_slot_21(pid, 0x00E8, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
|
||||
suspend;
|
||||
spawn class_01F5_enterFastArea(arg_06);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,10 +5,8 @@ function basegun_gotHit() /* entry=270 class_id=0x04C8 slot=0x06 */
|
|||
ref, /* [BP+0Ah] type=0x69 */
|
||||
vel; /* [BP+0Ch] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
spawn class_0A1A_slot_49(vel, ref, arg_06);
|
||||
return;
|
||||
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
spawn class_0A1A_slot_49(vel, ref, arg_06);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,20 +1,15 @@
|
|||
function basegun_equip() /* entry=270 class_id=0x04C8 slot=0x0A */
|
||||
{
|
||||
entry:
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
if (Item.pop() != 0) goto block_0290;
|
||||
|
||||
block_0265:
|
||||
spawn class_0A1A_slot_24(pid, arg_0A, Item.pop(), arg_06);
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
if (getTargetNPCNumMaybe() == 0) {
|
||||
spawn class_0A1A_slot_24(pid, arg_0A, getTargetNPCNumMaybe(), arg_06);
|
||||
suspend;
|
||||
goto block_02B7;
|
||||
|
||||
block_0290:
|
||||
return;
|
||||
}
|
||||
else {
|
||||
spawn class_0A1A_slot_24(pid, arg_0A, global[0x003C], arg_06);
|
||||
suspend;
|
||||
|
||||
block_02B7:
|
||||
return;
|
||||
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,17 +1,12 @@
|
|||
function basegun_unequip() /* entry=270 class_id=0x04C8 slot=0x0B */
|
||||
{
|
||||
entry:
|
||||
set_info(0x0212, *(arg_06));
|
||||
process_exclude();
|
||||
if (Item.getStatus(arg_06) & 4) goto block_0160;
|
||||
|
||||
block_015A:
|
||||
goto block_017B;
|
||||
|
||||
block_0160:
|
||||
spawn class_0A1A_slot_27(arg_06);
|
||||
|
||||
block_017B:
|
||||
set_info(0x0212, *(arg_06));
|
||||
process_exclude();
|
||||
if (!(Item.getStatus(arg_06) & 4)) {
|
||||
return;
|
||||
|
||||
}
|
||||
else {
|
||||
spawn class_0A1A_slot_27(arg_06);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,29 +7,24 @@ function basegun_calledFromAnim() /* entry=270 class_id=0x04C8 slot=0x0E */
|
|||
b, /* [BP-06h] type=0x69 */
|
||||
item; /* [BP-08h] type=0x24 */
|
||||
|
||||
entry:
|
||||
set_info(0x021A, *(arg_06));
|
||||
process_exclude();
|
||||
n = *(arg_06);
|
||||
dir = Intrinsic00FA(n);
|
||||
b = Item.push(n);
|
||||
if ((b != 13) || (b != 8)) goto block_03A3;
|
||||
|
||||
block_0325:
|
||||
set_info(0x021A, *(arg_06));
|
||||
process_exclude();
|
||||
n = *(arg_06);
|
||||
dir = Actor.getDir(n);
|
||||
b = Actor.getLastAnimSet(n);
|
||||
if ((b == 13) || (b != 8)) {
|
||||
class_0A1A_slot_40(0, 5, dir, dir, arg_06);
|
||||
class_0A1A_slot_3F(retval, dir, arg_06);
|
||||
class_0A1A_slot_3E(retval, dir, arg_06);
|
||||
class_0A1A_slot_43(0, 5, dir, dir, arg_06);
|
||||
class_0A1A_slot_42(retval, dir, arg_06);
|
||||
class_0A1A_slot_41(retval, dir, arg_06);
|
||||
goto block_0412;
|
||||
|
||||
block_03A3:
|
||||
return;
|
||||
}
|
||||
else {
|
||||
set_info(0x00F0, 0);
|
||||
spawn class_0A1E_slot_28(pid, 1, 2, n);
|
||||
suspend;
|
||||
|
||||
block_0412:
|
||||
return;
|
||||
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,17 +1,12 @@
|
|||
function basegun_enterFastArea() /* entry=270 class_id=0x04C8 slot=0x0F */
|
||||
{
|
||||
entry:
|
||||
set_info(0x021B, *(arg_06));
|
||||
process_exclude();
|
||||
if (Item.getStatus(arg_06) & 4) goto block_0103;
|
||||
|
||||
block_00FD:
|
||||
goto block_011E;
|
||||
|
||||
block_0103:
|
||||
spawn class_0A1A_slot_27(arg_06);
|
||||
|
||||
block_011E:
|
||||
set_info(0x021B, *(arg_06));
|
||||
process_exclude();
|
||||
if (!(Item.getStatus(arg_06) & 4)) {
|
||||
return;
|
||||
|
||||
}
|
||||
else {
|
||||
spawn class_0A1A_slot_27(arg_06);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,11 +1,9 @@
|
|||
function basegun_leaveFastArea() /* entry=270 class_id=0x04C8 slot=0x10 */
|
||||
{
|
||||
entry:
|
||||
set_info(0x021C, *(arg_06));
|
||||
process_exclude();
|
||||
/* bit_not */
|
||||
class_0A0C_slot_33(1, *(arg_06));
|
||||
class_0A0C_slot_33(0x020A, *(arg_06));
|
||||
return;
|
||||
|
||||
set_info(0x021C, *(arg_06));
|
||||
process_exclude();
|
||||
/* bit_not */
|
||||
class_0A0C_slot_33(1, *(arg_06));
|
||||
class_0A0C_slot_33(0x020A, *(arg_06));
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,7 @@
|
|||
function bbetty_leaveFastArea() /* entry=371 class_id=0x0A01 slot=0x10 */
|
||||
{
|
||||
entry:
|
||||
set_info(0x0001, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_33(1, *(arg_06));
|
||||
return;
|
||||
|
||||
set_info(0x0001, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_33(1, *(arg_06));
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,50 +7,27 @@ function bbetty_slot_20() /* entry=371 class_id=0x0A01 slot=0x20 */
|
|||
counter2, /* [BP-06h] type=0x69 */
|
||||
total; /* [BP-08h] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x0205, *(arg_06));
|
||||
if (Intrinsic0016(arg_06) != 0x02C9) goto block_0232;
|
||||
|
||||
block_010F:
|
||||
set_info(0x0205, *(arg_06));
|
||||
if (Item.getShape(arg_06) == 0x02C9) {
|
||||
counter = 0;
|
||||
|
||||
block_0116:
|
||||
if (counter <= 4) goto block_0219;
|
||||
|
||||
block_011E:
|
||||
total = 0;
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loop current_var=0xFE string_bytes=0x1 loop_type=0x6 */
|
||||
|
||||
block_0142:
|
||||
if condition goto block_015E;
|
||||
|
||||
block_0145:
|
||||
total = (1 + total);
|
||||
/* loopnext */
|
||||
goto block_0142;
|
||||
|
||||
block_015E:
|
||||
counter2 = 1;
|
||||
|
||||
block_019B:
|
||||
if (counter2 <= total) goto block_01E6;
|
||||
|
||||
block_01A6:
|
||||
item = Intrinsic0023();
|
||||
counter2 = (1 + counter2);
|
||||
goto block_019B;
|
||||
|
||||
block_01E6:
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
counter = (1 + counter);
|
||||
goto block_0116;
|
||||
|
||||
block_0219:
|
||||
|
||||
block_0232:
|
||||
spawn class_0A01_slot_21(arg_06);
|
||||
return;
|
||||
|
||||
while (counter > 4) {
|
||||
total = 0;
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loop current_var=0xFE string_bytes=0x1 loop_type=0x6 */
|
||||
while (!condition) {
|
||||
total = (1 + total);
|
||||
/* loopnext */
|
||||
}
|
||||
counter2 = 1;
|
||||
while (counter2 > total) {
|
||||
item = Item.getEtherealTop();
|
||||
counter2 = (1 + counter2);
|
||||
}
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
counter = (1 + counter);
|
||||
}
|
||||
}
|
||||
spawn class_0A01_slot_21(arg_06);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,12 +17,12 @@ function bbetty_slot_21() /* entry=371 class_id=0x0A01 slot=0x21 */
|
|||
|
||||
block_02BB:
|
||||
suspend;
|
||||
if Item.getCX(arg_06) goto block_0312;
|
||||
if Item.getQHi(arg_06) goto block_0312;
|
||||
|
||||
block_02D7:
|
||||
/* global_address global_id=0x3C */
|
||||
/* global_address global_id=0x3C */
|
||||
dir = Intrinsic0027(Intrinsic0013(Item.legal_create(8, 0, 8)), Item.legal_create(arg_06), Intrinsic0013(arg_06));
|
||||
dir = getClosestDirectionInRange(Item.getX(Item.getY(8, 0, 8)), Item.getY(arg_06), Item.getX(arg_06));
|
||||
goto block_0331;
|
||||
|
||||
block_0312:
|
||||
|
|
@ -33,88 +33,58 @@ function bbetty_slot_21() /* entry=371 class_id=0x0A01 slot=0x21 */
|
|||
dir = 0;
|
||||
|
||||
block_0331:
|
||||
if (dir != 0) goto block_0358;
|
||||
|
||||
block_0339:
|
||||
x = 0;
|
||||
y = -1;
|
||||
xx = -16;
|
||||
yy = -48;
|
||||
goto block_0469;
|
||||
|
||||
block_0358:
|
||||
if (dir != 1) goto block_037F;
|
||||
|
||||
block_0360:
|
||||
x = 1;
|
||||
y = -1;
|
||||
xx = 16;
|
||||
yy = -48;
|
||||
goto block_0469;
|
||||
|
||||
block_037F:
|
||||
if (dir != 2) goto block_03A6;
|
||||
|
||||
block_0387:
|
||||
x = 1;
|
||||
y = 0;
|
||||
xx = 16;
|
||||
yy = -16;
|
||||
goto block_0469;
|
||||
|
||||
block_03A6:
|
||||
if (dir != 3) goto block_03CD;
|
||||
|
||||
block_03AE:
|
||||
x = 1;
|
||||
y = 1;
|
||||
xx = 16;
|
||||
yy = 16;
|
||||
goto block_0469;
|
||||
|
||||
block_03CD:
|
||||
if (dir != 4) goto block_03F4;
|
||||
|
||||
block_03D5:
|
||||
x = 0;
|
||||
y = 1;
|
||||
xx = -16;
|
||||
yy = 16;
|
||||
goto block_0469;
|
||||
|
||||
block_03F4:
|
||||
if (dir != 5) goto block_041B;
|
||||
|
||||
block_03FC:
|
||||
x = -1;
|
||||
y = 1;
|
||||
xx = -48;
|
||||
yy = 16;
|
||||
goto block_0469;
|
||||
|
||||
block_041B:
|
||||
if (dir != 6) goto block_0442;
|
||||
|
||||
block_0423:
|
||||
x = -1;
|
||||
y = 0;
|
||||
xx = -48;
|
||||
yy = -16;
|
||||
goto block_0469;
|
||||
|
||||
block_0442:
|
||||
if (dir != 7) goto block_0469;
|
||||
|
||||
block_044A:
|
||||
x = -1;
|
||||
y = -1;
|
||||
xx = -48;
|
||||
yy = -48;
|
||||
goto block_0469;
|
||||
if (dir == 0) {
|
||||
x = 0;
|
||||
y = -1;
|
||||
xx = -16;
|
||||
yy = -48;
|
||||
}
|
||||
else if (dir == 1) {
|
||||
x = 1;
|
||||
y = -1;
|
||||
xx = 16;
|
||||
yy = -48;
|
||||
}
|
||||
else if (dir == 2) {
|
||||
x = 1;
|
||||
y = 0;
|
||||
xx = 16;
|
||||
yy = -16;
|
||||
}
|
||||
else if (dir == 3) {
|
||||
x = 1;
|
||||
y = 1;
|
||||
xx = 16;
|
||||
yy = 16;
|
||||
}
|
||||
else if (dir == 4) {
|
||||
x = 0;
|
||||
y = 1;
|
||||
xx = -16;
|
||||
yy = 16;
|
||||
}
|
||||
else if (dir == 5) {
|
||||
x = -1;
|
||||
y = 1;
|
||||
xx = -48;
|
||||
yy = 16;
|
||||
}
|
||||
else if (dir == 6) {
|
||||
x = -1;
|
||||
y = 0;
|
||||
xx = -48;
|
||||
yy = -16;
|
||||
}
|
||||
else if (dir == 7) {
|
||||
x = -1;
|
||||
y = -1;
|
||||
xx = -48;
|
||||
yy = -48;
|
||||
}
|
||||
|
||||
block_0469:
|
||||
class_0A0C_slot_20(8, 30, 15);
|
||||
spawn class_0A0C_slot_32(pid, ((5 - Intrinsic0029()) * 20), 0x00000000);
|
||||
spawn class_0A0C_slot_32(pid, ((5 - Game.getDifficultyLevel()) * 20), 0x00000000);
|
||||
suspend;
|
||||
goto block_02BB;
|
||||
|
||||
|
|
|
|||
|
|
@ -5,45 +5,32 @@ function bbox_gotHit() /* entry=300 class_id=0x0525 slot=0x06 */
|
|||
ref, /* [BP+0Ah] type=0x69 */
|
||||
vel; /* [BP+0Ch] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_2C(vel, ref);
|
||||
if retval goto block_01F2;
|
||||
|
||||
block_00FD:
|
||||
if (!Item.getFrame(arg_06)) goto block_014E;
|
||||
|
||||
block_0110:
|
||||
spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
|
||||
suspend;
|
||||
goto block_01F2;
|
||||
|
||||
block_014E:
|
||||
spawn class_0A1E_slot_27(pid, 100, vel, ref, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) goto block_01AE;
|
||||
|
||||
block_017E:
|
||||
class_0A0C_slot_20(1);
|
||||
if retval goto block_019E;
|
||||
|
||||
block_018E:
|
||||
goto block_01AB;
|
||||
|
||||
block_019E:
|
||||
|
||||
block_01AB:
|
||||
goto block_01F2;
|
||||
|
||||
block_01AE:
|
||||
spawn class_0A1E_slot_2A(pid, arg_06);
|
||||
suspend;
|
||||
spawn class_0A1E_slot_28(pid, 1, 1, arg_06);
|
||||
suspend;
|
||||
|
||||
block_01F2:
|
||||
return;
|
||||
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_2C(vel, ref);
|
||||
if (!retval) {
|
||||
if (Item.getFrame(arg_06)) {
|
||||
spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
else {
|
||||
spawn class_0A1E_slot_27(pid, 100, vel, ref, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (process_result) {
|
||||
class_0A0C_slot_20(1);
|
||||
if (!retval) {
|
||||
}
|
||||
return;
|
||||
}
|
||||
else {
|
||||
spawn class_0A1E_slot_2A(pid, arg_06);
|
||||
suspend;
|
||||
spawn class_0A1E_slot_28(pid, 1, 1, arg_06);
|
||||
suspend;
|
||||
}
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,31 +5,20 @@ function bbtrip_hatch() /* entry=351 class_id=0x090B slot=0x07 */
|
|||
item, /* [BP-02h] type=0x24 */
|
||||
bbetty; /* [BP-04h] type=0x24 */
|
||||
|
||||
entry:
|
||||
set_info(0x0210, *(arg_06));
|
||||
process_exclude();
|
||||
/* 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_0109:
|
||||
if condition goto block_0149;
|
||||
|
||||
block_010C:
|
||||
if (!Item.getFrame(item)) goto block_0145;
|
||||
|
||||
block_011F:
|
||||
bbetty = item;
|
||||
spawn class_0A01_slot_20(pid, bbetty);
|
||||
suspend;
|
||||
|
||||
block_0145:
|
||||
set_info(0x0210, *(arg_06));
|
||||
process_exclude();
|
||||
/* 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 */
|
||||
while (!condition) {
|
||||
if (Item.getFrame(item)) {
|
||||
bbetty = item;
|
||||
spawn class_0A01_slot_20(pid, bbetty);
|
||||
suspend;
|
||||
}
|
||||
/* loopnext */
|
||||
goto block_0109;
|
||||
|
||||
block_0149:
|
||||
return;
|
||||
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,26 +1,18 @@
|
|||
function betty_equip() /* entry=123 class_id=0x021D slot=0x0A */
|
||||
{
|
||||
entry:
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
if arg_0A goto block_0139;
|
||||
|
||||
block_00F3:
|
||||
if (Item.getStatus(arg_06) & 0x1000) goto block_010C;
|
||||
|
||||
block_0106:
|
||||
goto block_0158;
|
||||
|
||||
block_010C:
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
if (!arg_0A) {
|
||||
if (!(Item.getStatus(arg_06) & 0x1000)) {
|
||||
return;
|
||||
}
|
||||
class_0A1E_slot_23(0x1000, arg_06);
|
||||
spawn class_0A01_slot_20(arg_06);
|
||||
goto block_0158;
|
||||
|
||||
block_0139:
|
||||
return;
|
||||
}
|
||||
else {
|
||||
class_0A1E_slot_24(0x1000, arg_06);
|
||||
class_0A0C_slot_33(1, *(arg_06));
|
||||
|
||||
block_0158:
|
||||
return;
|
||||
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,20 +6,13 @@ function bettyup_gotHit() /* entry=151 class_id=0x02C9 slot=0x06 */
|
|||
vel, /* [BP+0Ch] type=0x69 */
|
||||
item; /* [BP-02h] type=0x24 */
|
||||
|
||||
entry:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
spawn class_0A1E_slot_27(pid, 0x00C8, vel, ref, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) goto block_015A;
|
||||
|
||||
block_0154:
|
||||
goto block_019F;
|
||||
|
||||
block_015A:
|
||||
|
||||
block_019F:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
spawn class_0A1E_slot_27(pid, 0x00C8, vel, ref, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (process_result) {
|
||||
return;
|
||||
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,27 +1,19 @@
|
|||
function bettyup_equip() /* entry=151 class_id=0x02C9 slot=0x0A */
|
||||
{
|
||||
entry:
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
if arg_0A goto block_0230;
|
||||
|
||||
block_01EA:
|
||||
if (Item.getStatus(arg_06) & 0x1000) goto block_0203;
|
||||
|
||||
block_01FD:
|
||||
goto block_0261;
|
||||
|
||||
block_0203:
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
if (!arg_0A) {
|
||||
if (!(Item.getStatus(arg_06) & 0x1000)) {
|
||||
return;
|
||||
}
|
||||
class_0A1E_slot_23(0x1000, arg_06);
|
||||
spawn class_0A01_slot_20(arg_06);
|
||||
goto block_0261;
|
||||
|
||||
block_0230:
|
||||
return;
|
||||
}
|
||||
else {
|
||||
class_0A1E_slot_24(0x1000, arg_06);
|
||||
class_0A0C_slot_33(0x0205, *(arg_06));
|
||||
class_0A0C_slot_33(0x00F0, *(arg_06));
|
||||
|
||||
block_0261:
|
||||
return;
|
||||
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,7 @@
|
|||
function bettyup_enterFastArea() /* entry=151 class_id=0x02C9 slot=0x0F */
|
||||
{
|
||||
entry:
|
||||
set_info(0x021B, *(arg_06));
|
||||
process_exclude();
|
||||
spawn class_0A01_slot_20(arg_06);
|
||||
return;
|
||||
|
||||
set_info(0x021B, *(arg_06));
|
||||
process_exclude();
|
||||
spawn class_0A01_slot_20(arg_06);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,35 +7,26 @@ function bigcan_gotHit() /* entry=170 class_id=0x0313 slot=0x06 */
|
|||
fram, /* [BP-02h] type=0x69 */
|
||||
lid; /* [BP-04h] type=0x24 */
|
||||
|
||||
entry:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
fram = Item.getFrame(arg_06);
|
||||
class_0A0C_slot_2C(vel, ref);
|
||||
if retval goto block_01E8;
|
||||
|
||||
block_010B:
|
||||
if (fram != 2) goto block_0173;
|
||||
|
||||
block_0119:
|
||||
class_0A0C_slot_20(2);
|
||||
class_0A0C_slot_20(4, 5, 4);
|
||||
class_0A0C_slot_20(retval, 4);
|
||||
goto block_01E8;
|
||||
|
||||
block_0173:
|
||||
if (fram != 1) goto block_01B6;
|
||||
|
||||
block_0181:
|
||||
spawn class_0A1E_slot_28(pid, 0, 1, arg_06);
|
||||
suspend;
|
||||
goto block_01E8;
|
||||
|
||||
block_01B6:
|
||||
spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
|
||||
suspend;
|
||||
|
||||
block_01E8:
|
||||
return;
|
||||
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
fram = Item.getFrame(arg_06);
|
||||
class_0A0C_slot_2C(vel, ref);
|
||||
if (!retval) {
|
||||
if (fram == 2) {
|
||||
class_0A0C_slot_20(2);
|
||||
class_0A0C_slot_20(4, 5, 4);
|
||||
class_0A0C_slot_20(retval, 4);
|
||||
return;
|
||||
}
|
||||
else if (fram == 1) {
|
||||
spawn class_0A1E_slot_28(pid, 0, 1, arg_06);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
else {
|
||||
spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
|
||||
suspend;
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,24 +6,18 @@ function bigcomew_gotHit() /* entry=133 class_id=0x0258 slot=0x06 */
|
|||
vel, /* [BP+0Ch] type=0x69 */
|
||||
fram; /* [BP-02h] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
fram = Item.getFrame(arg_06);
|
||||
if (fram > 2) goto block_010D;
|
||||
|
||||
block_0107:
|
||||
goto block_0151;
|
||||
|
||||
block_010D:
|
||||
class_0A0C_slot_2C(vel, ref);
|
||||
if retval goto block_0151;
|
||||
|
||||
block_011F:
|
||||
spawn class_0A1E_slot_28(pid, 0, 1, arg_06);
|
||||
suspend;
|
||||
|
||||
block_0151:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
fram = Item.getFrame(arg_06);
|
||||
if (fram <= 2) {
|
||||
return;
|
||||
|
||||
}
|
||||
else {
|
||||
class_0A0C_slot_2C(vel, ref);
|
||||
if (!retval) {
|
||||
spawn class_0A1E_slot_28(pid, 0, 1, arg_06);
|
||||
suspend;
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
function bigcomew_enterFastArea() /* entry=133 class_id=0x0258 slot=0x0F */
|
||||
{
|
||||
entry:
|
||||
set_info(0x021B, *(arg_06));
|
||||
process_exclude();
|
||||
return;
|
||||
|
||||
set_info(0x021B, *(arg_06));
|
||||
process_exclude();
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,24 +6,18 @@ function bigcomns_gotHit() /* entry=132 class_id=0x0257 slot=0x06 */
|
|||
vel, /* [BP+0Ch] type=0x69 */
|
||||
fram; /* [BP-02h] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
fram = Item.getFrame(arg_06);
|
||||
if (fram > 2) goto block_010D;
|
||||
|
||||
block_0107:
|
||||
goto block_0151;
|
||||
|
||||
block_010D:
|
||||
class_0A0C_slot_2C(vel, ref);
|
||||
if retval goto block_0151;
|
||||
|
||||
block_011F:
|
||||
spawn class_0A1E_slot_28(pid, 0, 1, arg_06);
|
||||
suspend;
|
||||
|
||||
block_0151:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
fram = Item.getFrame(arg_06);
|
||||
if (fram <= 2) {
|
||||
return;
|
||||
|
||||
}
|
||||
else {
|
||||
class_0A0C_slot_2C(vel, ref);
|
||||
if (!retval) {
|
||||
spawn class_0A1E_slot_28(pid, 0, 1, arg_06);
|
||||
suspend;
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
function bigcomns_enterFastArea() /* entry=132 class_id=0x0257 slot=0x0F */
|
||||
{
|
||||
entry:
|
||||
set_info(0x021B, *(arg_06));
|
||||
process_exclude();
|
||||
return;
|
||||
|
||||
set_info(0x021B, *(arg_06));
|
||||
process_exclude();
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,44 +7,26 @@ function black16_gotHit() /* entry=3 class_id=0x000F slot=0x06 */
|
|||
item, /* [BP-02h] type=0x24 */
|
||||
n; /* [BP-04h] type=0x24 */
|
||||
|
||||
entry:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_2C(vel, ref);
|
||||
if (!retval) goto block_01DB;
|
||||
|
||||
block_0101:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_2C(vel, ref);
|
||||
if (retval) {
|
||||
item = ref;
|
||||
if (!Item.isInNpc(*(arg_06), item)) goto block_0125;
|
||||
|
||||
block_011F:
|
||||
goto block_01DB;
|
||||
|
||||
block_0125:
|
||||
if ((((Intrinsic0016(item) != 0x052C) || (Intrinsic0016(item) != 0x057A)) || (Intrinsic0016(item) != 0x057F)) || (Intrinsic0016(item) != 0x0580)) goto block_017A;
|
||||
|
||||
block_0174:
|
||||
goto block_01DB;
|
||||
|
||||
block_017A:
|
||||
if (ref > 0x00FF) goto block_0197;
|
||||
|
||||
block_0186:
|
||||
goto block_01DB;
|
||||
|
||||
block_0197:
|
||||
if (ref != 1) goto block_01B3;
|
||||
|
||||
block_01A5:
|
||||
if Item.getQHi() goto block_01B0;
|
||||
|
||||
block_01B0:
|
||||
goto block_01DB;
|
||||
|
||||
block_01B3:
|
||||
n = ref;
|
||||
|
||||
block_01DB:
|
||||
return;
|
||||
|
||||
if (Item.isCompletelyOn(*(arg_06), item)) {
|
||||
return;
|
||||
}
|
||||
else if ((((Item.getShape(item) == 0x052C) || (Item.getShape(item) != 0x057A)) || (Item.getShape(item) != 0x057F)) || (Item.getShape(item) != 0x0580)) {
|
||||
return;
|
||||
}
|
||||
else if (ref <= 0x00FF) {
|
||||
return;
|
||||
}
|
||||
else if (ref == 1) {
|
||||
return;
|
||||
}
|
||||
else {
|
||||
n = ref;
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,44 +7,26 @@ function black8_gotHit() /* entry=1 class_id=0x0003 slot=0x06 */
|
|||
item, /* [BP-02h] type=0x24 */
|
||||
n; /* [BP-04h] type=0x24 */
|
||||
|
||||
entry:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_2C(vel, ref);
|
||||
if (!retval) goto block_01DB;
|
||||
|
||||
block_0101:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_2C(vel, ref);
|
||||
if (retval) {
|
||||
item = ref;
|
||||
if (!Item.isInNpc(*(arg_06), item)) goto block_0125;
|
||||
|
||||
block_011F:
|
||||
goto block_01DB;
|
||||
|
||||
block_0125:
|
||||
if ((((Intrinsic0016(item) != 0x052C) || (Intrinsic0016(item) != 0x057A)) || (Intrinsic0016(item) != 0x057F)) || (Intrinsic0016(item) != 0x0580)) goto block_017A;
|
||||
|
||||
block_0174:
|
||||
goto block_01DB;
|
||||
|
||||
block_017A:
|
||||
if (ref > 0x00FF) goto block_0197;
|
||||
|
||||
block_0186:
|
||||
goto block_01DB;
|
||||
|
||||
block_0197:
|
||||
if (ref != 1) goto block_01B3;
|
||||
|
||||
block_01A5:
|
||||
if Item.getQHi() goto block_01B0;
|
||||
|
||||
block_01B0:
|
||||
goto block_01DB;
|
||||
|
||||
block_01B3:
|
||||
n = ref;
|
||||
|
||||
block_01DB:
|
||||
return;
|
||||
|
||||
if (Item.isCompletelyOn(*(arg_06), item)) {
|
||||
return;
|
||||
}
|
||||
else if ((((Item.getShape(item) == 0x052C) || (Item.getShape(item) != 0x057A)) || (Item.getShape(item) != 0x057F)) || (Item.getShape(item) != 0x0580)) {
|
||||
return;
|
||||
}
|
||||
else if (ref <= 0x00FF) {
|
||||
return;
|
||||
}
|
||||
else if (ref == 1) {
|
||||
return;
|
||||
}
|
||||
else {
|
||||
n = ref;
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ function blaser_slot_20() /* entry=372 class_id=0x0A02 slot=0x20 */
|
|||
entry:
|
||||
set_info(1, 0);
|
||||
item = ref;
|
||||
link = Item.pop(item);
|
||||
link = Item.getQLo(item);
|
||||
count = 0;
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x42 */
|
||||
|
|
@ -27,7 +27,7 @@ function blaser_slot_20() /* entry=372 class_id=0x0A02 slot=0x20 */
|
|||
if condition goto block_0185;
|
||||
|
||||
block_0133:
|
||||
if ((Item.pop(item) != link) && ((Item.getStatus(item) & 0x1000) != 0)) goto block_0181;
|
||||
if ((Item.getQLo(item) != link) && ((Item.getStatus(item) & 0x1000) != 0)) goto block_0181;
|
||||
|
||||
block_0159:
|
||||
/* create_list element_size=0x2 count=0x1 */
|
||||
|
|
@ -56,7 +56,7 @@ function blaser_slot_20() /* entry=372 class_id=0x0A02 slot=0x20 */
|
|||
foreach_list item -> block_0428;
|
||||
|
||||
block_01B5:
|
||||
h = Item.getCX(item);
|
||||
h = Item.getQHi(item);
|
||||
if (h & 8) goto block_01ED;
|
||||
|
||||
block_01CE:
|
||||
|
|
@ -77,85 +77,45 @@ function blaser_slot_20() /* entry=372 class_id=0x0A02 slot=0x20 */
|
|||
goto block_0422;
|
||||
|
||||
block_0217:
|
||||
if ((Intrinsic002C(item) != 1) && (Intrinsic0016(item) != 0x0476)) goto block_0422;
|
||||
|
||||
block_023A:
|
||||
inFastArea = (1 + inFastArea);
|
||||
if (h & 1) goto block_0281;
|
||||
|
||||
block_024F:
|
||||
if (h & 2) goto block_0267;
|
||||
|
||||
block_025A:
|
||||
h = (h & 4);
|
||||
goto block_0274;
|
||||
|
||||
block_0267:
|
||||
h = ((h & 4) | 2);
|
||||
|
||||
block_0274:
|
||||
|
||||
block_0281:
|
||||
dir = -1;
|
||||
if (h & 2) goto block_029A;
|
||||
|
||||
block_0293:
|
||||
dir = 1;
|
||||
|
||||
block_029A:
|
||||
x = Intrinsic0013(item);
|
||||
y = Item.legal_create(item);
|
||||
if (Intrinsic0016(item) != 0x02C4) goto block_02E6;
|
||||
|
||||
block_02CF:
|
||||
wp = (x + (dir * 16));
|
||||
local_03 = y;
|
||||
goto block_02FA;
|
||||
|
||||
block_02E6:
|
||||
wp = x;
|
||||
local_03 = (y + (dir * 16));
|
||||
|
||||
block_02FA:
|
||||
local_01 = Item.getZ(item);
|
||||
if (Item.pop(0, 0, wp, item) != 0) goto block_0341;
|
||||
|
||||
block_0320:
|
||||
h = Item.getCX(item);
|
||||
goto block_041F;
|
||||
|
||||
block_0341:
|
||||
if (h & 4) goto block_041F;
|
||||
|
||||
block_034C:
|
||||
if (Intrinsic0016(item) != 0x02C4) goto block_03C2;
|
||||
|
||||
block_0365:
|
||||
if (Intrinsic002F(wp, 0x02C3, arg_06) != 1) goto block_03B4;
|
||||
|
||||
block_0387:
|
||||
/* bit_not */
|
||||
goto block_03BF;
|
||||
|
||||
block_03B4:
|
||||
|
||||
block_03BF:
|
||||
goto block_041C;
|
||||
|
||||
block_03C2:
|
||||
if (Intrinsic002F(wp, 0x02C4, arg_06) != 1) goto block_0411;
|
||||
|
||||
block_03E4:
|
||||
/* bit_not */
|
||||
goto block_041C;
|
||||
|
||||
block_0411:
|
||||
|
||||
block_041C:
|
||||
goto block_041F;
|
||||
|
||||
block_041F:
|
||||
goto block_0422;
|
||||
if ((Item.inFastArea(item) == 1) && (Item.getShape(item) != 0x0476)) {
|
||||
inFastArea = (1 + inFastArea);
|
||||
if (!(h & 1)) {
|
||||
if (!(h & 2)) {
|
||||
h = (h & 4);
|
||||
}
|
||||
else {
|
||||
h = ((h & 4) | 2);
|
||||
}
|
||||
}
|
||||
dir = -1;
|
||||
if (!(h & 2)) {
|
||||
dir = 1;
|
||||
}
|
||||
x = Item.getX(item);
|
||||
y = Item.getY(item);
|
||||
if (Item.getShape(item) == 0x02C4) {
|
||||
wp = (x + (dir * 16));
|
||||
local_03 = y;
|
||||
}
|
||||
else {
|
||||
wp = x;
|
||||
local_03 = (y + (dir * 16));
|
||||
}
|
||||
local_01 = Item.getZ(item);
|
||||
if (legalMoveToPoint(0, 0, wp, item) == 0) {
|
||||
h = Item.getQHi(item);
|
||||
}
|
||||
else if (!(h & 4)) {
|
||||
if (Item.getShape(item) == 0x02C4) {
|
||||
if (Intrinsic02F(wp, 0x02C3, arg_06) == 1) {
|
||||
/* bit_not */
|
||||
}
|
||||
}
|
||||
else if (Intrinsic02F(wp, 0x02C4, arg_06) == 1) {
|
||||
/* bit_not */
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
block_0422:
|
||||
goto block_01B0;
|
||||
|
|
|
|||
|
|
@ -8,34 +8,25 @@ function blaser_slot_21() /* entry=372 class_id=0x0A02 slot=0x21 */
|
|||
f, /* [BP-04h] type=0x69 */
|
||||
h; /* [BP-06h] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(1, *(arg_06));
|
||||
n = ref;
|
||||
if Item.isNpc(n) goto block_0635;
|
||||
|
||||
block_052A:
|
||||
set_info(1, *(arg_06));
|
||||
n = ref;
|
||||
if (!Actor.isNPC(n)) {
|
||||
f = Item.getFrame(arg_06);
|
||||
if (f != 1) goto block_0582;
|
||||
|
||||
block_0543:
|
||||
h = Item.getCX(arg_06);
|
||||
goto block_0635;
|
||||
|
||||
block_0582:
|
||||
if (f != 2) goto block_05EA;
|
||||
|
||||
block_058D:
|
||||
/* bit_not */
|
||||
h = Item.getCX(arg_06);
|
||||
goto block_0635;
|
||||
|
||||
block_05EA:
|
||||
spawn class_0A11_slot_2C(pid, *(arg_06), n);
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
|
||||
block_0635:
|
||||
return;
|
||||
|
||||
if (f == 1) {
|
||||
h = Item.getQHi(arg_06);
|
||||
return;
|
||||
}
|
||||
else if (f == 2) {
|
||||
/* bit_not */
|
||||
h = Item.getQHi(arg_06);
|
||||
return;
|
||||
}
|
||||
else {
|
||||
spawn class_0A11_slot_2C(pid, *(arg_06), n);
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,11 +5,9 @@ function blaser1_hit() /* entry=239 class_id=0x0443 slot=0x05 */
|
|||
ref, /* [BP+0Ah] type=0x69 */
|
||||
ke; /* [BP+0Ch] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x020B, *(arg_06));
|
||||
process_exclude();
|
||||
spawn class_0443_slot_21(pid, ke, ref, arg_06);
|
||||
suspend;
|
||||
return;
|
||||
|
||||
set_info(0x020B, *(arg_06));
|
||||
process_exclude();
|
||||
spawn class_0443_slot_21(pid, ke, ref, arg_06);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,11 +5,9 @@ function blaser1_gotHit() /* entry=239 class_id=0x0443 slot=0x06 */
|
|||
ref, /* [BP+0Ah] type=0x69 */
|
||||
ke; /* [BP+0Ch] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
spawn class_0443_slot_21(pid, ke, ref, arg_06);
|
||||
suspend;
|
||||
return;
|
||||
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
spawn class_0443_slot_21(pid, ke, ref, arg_06);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,23 +5,15 @@ function blaser1_equip() /* entry=239 class_id=0x0443 slot=0x0A */
|
|||
var, /* [BP+0Ah] type=0x69 */
|
||||
h; /* [BP-02h] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
if (var != 1) goto block_018C;
|
||||
|
||||
block_016B:
|
||||
h = Item.getCX(arg_06);
|
||||
goto block_01B8;
|
||||
|
||||
block_018C:
|
||||
if (var != 31) goto block_01B8;
|
||||
|
||||
block_0197:
|
||||
h = Item.getCX(arg_06);
|
||||
goto block_01B8;
|
||||
|
||||
block_01B8:
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
if (var == 1) {
|
||||
h = Item.getQHi(arg_06);
|
||||
return;
|
||||
|
||||
}
|
||||
else if (var == 31) {
|
||||
h = Item.getQHi(arg_06);
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,14 +1,9 @@
|
|||
function blaser1_unequip() /* entry=239 class_id=0x0443 slot=0x0B */
|
||||
{
|
||||
entry:
|
||||
set_info(0x0212, *(arg_06));
|
||||
process_exclude();
|
||||
if ((Item.getStatus(arg_06) & 0x1000) != 0) goto block_012E;
|
||||
|
||||
block_010D:
|
||||
set_info(0x0212, *(arg_06));
|
||||
process_exclude();
|
||||
if ((Item.getStatus(arg_06) & 0x1000) == 0) {
|
||||
spawn class_0443_slot_20(*(arg_06), arg_06);
|
||||
|
||||
block_012E:
|
||||
return;
|
||||
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,14 +1,9 @@
|
|||
function blaser1_enterFastArea() /* entry=239 class_id=0x0443 slot=0x0F */
|
||||
{
|
||||
entry:
|
||||
set_info(0x021B, *(arg_06));
|
||||
process_exclude();
|
||||
if ((Item.getStatus(arg_06) & 0x1000) != 0) goto block_021A;
|
||||
|
||||
block_0206:
|
||||
set_info(0x021B, *(arg_06));
|
||||
process_exclude();
|
||||
if ((Item.getStatus(arg_06) & 0x1000) == 0) {
|
||||
spawn class_0443_slot_20(*(arg_06), arg_06);
|
||||
|
||||
block_021A:
|
||||
return;
|
||||
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,7 @@
|
|||
function blaser1_leaveFastArea() /* entry=239 class_id=0x0443 slot=0x10 */
|
||||
{
|
||||
entry:
|
||||
set_info(0x021C, *(arg_06));
|
||||
process_exclude();
|
||||
/* bit_not */
|
||||
return;
|
||||
|
||||
set_info(0x021C, *(arg_06));
|
||||
process_exclude();
|
||||
/* bit_not */
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ function blaser1_slot_20() /* entry=239 class_id=0x0443 slot=0x20 */
|
|||
entry:
|
||||
set_info(1, 0);
|
||||
item = ref;
|
||||
link = Item.pop(item);
|
||||
link = Item.getQLo(item);
|
||||
count = 0;
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
|
|
@ -30,14 +30,14 @@ function blaser1_slot_20() /* entry=239 class_id=0x0443 slot=0x20 */
|
|||
if condition goto block_03E6;
|
||||
|
||||
block_0373:
|
||||
if ((Item.pop(item) != link) && ((Item.getStatus(item) & 0x1000) != 0)) goto block_03E2;
|
||||
if ((Item.getQLo(item) != link) && ((Item.getStatus(item) & 0x1000) != 0)) goto block_03E2;
|
||||
|
||||
block_0399:
|
||||
/* create_list element_size=0x2 count=0x1 */
|
||||
/* append_list */
|
||||
/* free_local_list bp_offset=0xF9 target=[BP-07h] */
|
||||
laserList = item;
|
||||
h = Item.getCX(item);
|
||||
h = Item.getQHi(item);
|
||||
count = (1 + count);
|
||||
|
||||
block_03E2:
|
||||
|
|
@ -80,140 +80,82 @@ function blaser1_slot_20() /* entry=239 class_id=0x0443 slot=0x20 */
|
|||
goto block_0769;
|
||||
|
||||
block_046A:
|
||||
if ((Intrinsic002C(item) != 1) && (Intrinsic0016(item) != 0x0476)) goto block_0769;
|
||||
|
||||
block_048D:
|
||||
inFastArea = (1 + inFastArea);
|
||||
h = Item.getCX(item);
|
||||
f = Item.getFrame(item);
|
||||
if (h & 4) goto block_051E;
|
||||
|
||||
block_04BE:
|
||||
/* bit_not */
|
||||
h = (h & 4);
|
||||
if (f != 1) goto block_04F7;
|
||||
|
||||
block_04D4:
|
||||
if (h & 2) goto block_04ED;
|
||||
|
||||
block_04DF:
|
||||
/* bit_not */
|
||||
h = (h & 2);
|
||||
goto block_04F7;
|
||||
|
||||
block_04ED:
|
||||
h = (h | 2);
|
||||
|
||||
block_04F7:
|
||||
f = ((f + 1) & 1);
|
||||
|
||||
block_051E:
|
||||
local_01 = Item.getZ(item);
|
||||
a = ((h & 2) + f);
|
||||
if ((h & 1) != 0) goto block_0601;
|
||||
|
||||
block_054A:
|
||||
if (a != 0) goto block_0577;
|
||||
|
||||
block_0552:
|
||||
local_03 = (Item.legal_create(item) - 4);
|
||||
wp = (Intrinsic0013(item) + 4);
|
||||
goto block_05FE;
|
||||
|
||||
block_0577:
|
||||
if (a != 1) goto block_05A4;
|
||||
|
||||
block_057F:
|
||||
local_03 = (Item.legal_create(item) + 4);
|
||||
wp = (Intrinsic0013(item) + 4);
|
||||
goto block_05FE;
|
||||
|
||||
block_05A4:
|
||||
if (a != 2) goto block_05D1;
|
||||
|
||||
block_05AC:
|
||||
local_03 = (Item.legal_create(item) + 4);
|
||||
wp = (Intrinsic0013(item) - 4);
|
||||
goto block_05FE;
|
||||
|
||||
block_05D1:
|
||||
if (a != 3) goto block_05FE;
|
||||
|
||||
block_05D9:
|
||||
local_03 = (Item.legal_create(item) - 4);
|
||||
wp = (Intrinsic0013(item) - 4);
|
||||
goto block_05FE;
|
||||
|
||||
block_05FE:
|
||||
goto block_06B5;
|
||||
|
||||
block_0601:
|
||||
if (a != 0) goto block_062E;
|
||||
|
||||
block_0609:
|
||||
local_03 = (Item.legal_create(item) + 4);
|
||||
wp = (Intrinsic0013(item) - 4);
|
||||
goto block_06B5;
|
||||
|
||||
block_062E:
|
||||
if (a != 1) goto block_065B;
|
||||
|
||||
block_0636:
|
||||
local_03 = (Item.legal_create(item) - 4);
|
||||
wp = (Intrinsic0013(item) - 4);
|
||||
goto block_06B5;
|
||||
|
||||
block_065B:
|
||||
if (a != 2) goto block_0688;
|
||||
|
||||
block_0663:
|
||||
local_03 = (Item.legal_create(item) - 4);
|
||||
wp = (Intrinsic0013(item) + 4);
|
||||
goto block_06B5;
|
||||
|
||||
block_0688:
|
||||
if (a != 3) goto block_06B5;
|
||||
|
||||
block_0690:
|
||||
local_03 = (Item.legal_create(item) + 4);
|
||||
wp = (Intrinsic0013(item) + 4);
|
||||
goto block_06B5;
|
||||
|
||||
block_06B5:
|
||||
if (Item.pop(0, 0, wp, item) != 0) goto block_0740;
|
||||
|
||||
block_06CD:
|
||||
h = Item.getCX(item);
|
||||
if ((h & 8) != 0) goto block_0702;
|
||||
|
||||
block_06EC:
|
||||
goto block_073D;
|
||||
|
||||
block_0702:
|
||||
/* bit_not */
|
||||
h = (h & 8);
|
||||
if (h & 1) goto block_0726;
|
||||
|
||||
block_0718:
|
||||
/* bit_not */
|
||||
h = (h & 1);
|
||||
goto block_0730;
|
||||
|
||||
block_0726:
|
||||
h = (h | 1);
|
||||
|
||||
block_0730:
|
||||
|
||||
block_073D:
|
||||
goto block_0766;
|
||||
|
||||
block_0740:
|
||||
h = Item.getCX(item);
|
||||
/* bit_not */
|
||||
h = (h & 8);
|
||||
|
||||
block_0766:
|
||||
goto block_0769;
|
||||
if ((Item.inFastArea(item) == 1) && (Item.getShape(item) != 0x0476)) {
|
||||
inFastArea = (1 + inFastArea);
|
||||
h = Item.getQHi(item);
|
||||
f = Item.getFrame(item);
|
||||
if (!(h & 4)) {
|
||||
/* bit_not */
|
||||
h = (h & 4);
|
||||
if (f == 1) {
|
||||
if (!(h & 2)) {
|
||||
/* bit_not */
|
||||
h = (h & 2);
|
||||
}
|
||||
else {
|
||||
h = (h | 2);
|
||||
}
|
||||
}
|
||||
f = ((f + 1) & 1);
|
||||
}
|
||||
local_01 = Item.getZ(item);
|
||||
a = ((h & 2) + f);
|
||||
if ((h & 1) == 0) {
|
||||
if (a == 0) {
|
||||
local_03 = (Item.getY(item) - 4);
|
||||
wp = (Item.getX(item) + 4);
|
||||
}
|
||||
else if (a == 1) {
|
||||
local_03 = (Item.getY(item) + 4);
|
||||
wp = (Item.getX(item) + 4);
|
||||
}
|
||||
else if (a == 2) {
|
||||
local_03 = (Item.getY(item) + 4);
|
||||
wp = (Item.getX(item) - 4);
|
||||
}
|
||||
else if (a == 3) {
|
||||
local_03 = (Item.getY(item) - 4);
|
||||
wp = (Item.getX(item) - 4);
|
||||
}
|
||||
}
|
||||
else if (a == 0) {
|
||||
local_03 = (Item.getY(item) + 4);
|
||||
wp = (Item.getX(item) - 4);
|
||||
}
|
||||
else if (a == 1) {
|
||||
local_03 = (Item.getY(item) - 4);
|
||||
wp = (Item.getX(item) - 4);
|
||||
}
|
||||
else if (a == 2) {
|
||||
local_03 = (Item.getY(item) - 4);
|
||||
wp = (Item.getX(item) + 4);
|
||||
}
|
||||
else if (a == 3) {
|
||||
local_03 = (Item.getY(item) + 4);
|
||||
wp = (Item.getX(item) + 4);
|
||||
}
|
||||
if (legalMoveToPoint(0, 0, wp, item) == 0) {
|
||||
h = Item.getQHi(item);
|
||||
if ((h & 8) == 0) {
|
||||
}
|
||||
else {
|
||||
/* bit_not */
|
||||
h = (h & 8);
|
||||
if (!(h & 1)) {
|
||||
/* bit_not */
|
||||
h = (h & 1);
|
||||
}
|
||||
else {
|
||||
h = (h | 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
h = Item.getQHi(item);
|
||||
/* bit_not */
|
||||
h = (h & 8);
|
||||
}
|
||||
}
|
||||
|
||||
block_0769:
|
||||
goto block_0411;
|
||||
|
|
|
|||
|
|
@ -6,18 +6,13 @@ function blaser1_slot_21() /* entry=239 class_id=0x0443 slot=0x21 */
|
|||
ke, /* [BP+0Ch] type=0x69 */
|
||||
n; /* [BP-02h] type=0x24 */
|
||||
|
||||
entry:
|
||||
set_info(1, *(arg_06));
|
||||
n = ref;
|
||||
if Item.isNpc(n) goto block_08C0;
|
||||
|
||||
block_0875:
|
||||
set_info(1, *(arg_06));
|
||||
n = ref;
|
||||
if (!Actor.isNPC(n)) {
|
||||
spawn class_0A11_slot_2C(pid, *(arg_06), n);
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
|
||||
block_08C0:
|
||||
return;
|
||||
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,11 +5,9 @@ function blaserew_hit() /* entry=150 class_id=0x02C4 slot=0x05 */
|
|||
ref, /* [BP+0Ah] type=0x69 */
|
||||
ke; /* [BP+0Ch] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x020B, *(arg_06));
|
||||
process_exclude();
|
||||
spawn class_0A02_slot_21(pid, ke, ref, arg_06);
|
||||
suspend;
|
||||
return;
|
||||
|
||||
set_info(0x020B, *(arg_06));
|
||||
process_exclude();
|
||||
spawn class_0A02_slot_21(pid, ke, ref, arg_06);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,11 +5,9 @@ function blaserew_gotHit() /* entry=150 class_id=0x02C4 slot=0x06 */
|
|||
ref, /* [BP+0Ah] type=0x69 */
|
||||
ke; /* [BP+0Ch] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
spawn class_0A02_slot_21(pid, ke, ref, arg_06);
|
||||
suspend;
|
||||
return;
|
||||
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
spawn class_0A02_slot_21(pid, ke, ref, arg_06);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,23 +5,15 @@ function blaserew_equip() /* entry=150 class_id=0x02C4 slot=0x0A */
|
|||
var, /* [BP+0Ah] type=0x69 */
|
||||
h; /* [BP-02h] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
if (var != 1) goto block_0180;
|
||||
|
||||
block_015F:
|
||||
h = Item.getCX(arg_06);
|
||||
goto block_01AC;
|
||||
|
||||
block_0180:
|
||||
if (var != 31) goto block_01AC;
|
||||
|
||||
block_018B:
|
||||
h = Item.getCX(arg_06);
|
||||
goto block_01AC;
|
||||
|
||||
block_01AC:
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
if (var == 1) {
|
||||
h = Item.getQHi(arg_06);
|
||||
return;
|
||||
|
||||
}
|
||||
else if (var == 31) {
|
||||
h = Item.getQHi(arg_06);
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,14 +1,9 @@
|
|||
function blaserew_unequip() /* entry=150 class_id=0x02C4 slot=0x0B */
|
||||
{
|
||||
entry:
|
||||
set_info(0x0212, *(arg_06));
|
||||
process_exclude();
|
||||
if ((Item.getStatus(arg_06) & 0x1000) != 0) goto block_0122;
|
||||
|
||||
block_0101:
|
||||
set_info(0x0212, *(arg_06));
|
||||
process_exclude();
|
||||
if ((Item.getStatus(arg_06) & 0x1000) == 0) {
|
||||
spawn class_0A02_slot_20(*(arg_06), arg_06);
|
||||
|
||||
block_0122:
|
||||
return;
|
||||
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,14 +1,9 @@
|
|||
function blaserew_enterFastArea() /* entry=150 class_id=0x02C4 slot=0x0F */
|
||||
{
|
||||
entry:
|
||||
set_info(0x021B, *(arg_06));
|
||||
process_exclude();
|
||||
if ((Item.getStatus(arg_06) & 0x1000) != 0) goto block_020E;
|
||||
|
||||
block_01FA:
|
||||
set_info(0x021B, *(arg_06));
|
||||
process_exclude();
|
||||
if ((Item.getStatus(arg_06) & 0x1000) == 0) {
|
||||
spawn class_0A02_slot_20(*(arg_06), arg_06);
|
||||
|
||||
block_020E:
|
||||
return;
|
||||
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,7 @@
|
|||
function blaserew_leaveFastArea() /* entry=150 class_id=0x02C4 slot=0x10 */
|
||||
{
|
||||
entry:
|
||||
set_info(0x021C, *(arg_06));
|
||||
process_exclude();
|
||||
/* bit_not */
|
||||
return;
|
||||
|
||||
set_info(0x021C, *(arg_06));
|
||||
process_exclude();
|
||||
/* bit_not */
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,11 +5,9 @@ function blaserns_hit() /* entry=149 class_id=0x02C3 slot=0x05 */
|
|||
ref, /* [BP+0Ah] type=0x69 */
|
||||
ke; /* [BP+0Ch] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x020B, *(arg_06));
|
||||
process_exclude();
|
||||
spawn class_0A02_slot_21(pid, ke, ref, arg_06);
|
||||
suspend;
|
||||
return;
|
||||
|
||||
set_info(0x020B, *(arg_06));
|
||||
process_exclude();
|
||||
spawn class_0A02_slot_21(pid, ke, ref, arg_06);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,11 +5,9 @@ function blaserns_gotHit() /* entry=149 class_id=0x02C3 slot=0x06 */
|
|||
ref, /* [BP+0Ah] type=0x69 */
|
||||
ke; /* [BP+0Ch] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
spawn class_0A02_slot_21(pid, ke, ref, arg_06);
|
||||
suspend;
|
||||
return;
|
||||
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
spawn class_0A02_slot_21(pid, ke, ref, arg_06);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,23 +5,15 @@ function blaserns_equip() /* entry=149 class_id=0x02C3 slot=0x0A */
|
|||
var, /* [BP+0Ah] type=0x69 */
|
||||
h; /* [BP-02h] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
if (var != 1) goto block_0180;
|
||||
|
||||
block_015F:
|
||||
h = Item.getCX(arg_06);
|
||||
goto block_01AC;
|
||||
|
||||
block_0180:
|
||||
if (var != 31) goto block_01AC;
|
||||
|
||||
block_018B:
|
||||
h = Item.getCX(arg_06);
|
||||
goto block_01AC;
|
||||
|
||||
block_01AC:
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
if (var == 1) {
|
||||
h = Item.getQHi(arg_06);
|
||||
return;
|
||||
|
||||
}
|
||||
else if (var == 31) {
|
||||
h = Item.getQHi(arg_06);
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,14 +1,9 @@
|
|||
function blaserns_unequip() /* entry=149 class_id=0x02C3 slot=0x0B */
|
||||
{
|
||||
entry:
|
||||
set_info(0x0212, *(arg_06));
|
||||
process_exclude();
|
||||
if ((Item.getStatus(arg_06) & 0x1000) != 0) goto block_0122;
|
||||
|
||||
block_0101:
|
||||
set_info(0x0212, *(arg_06));
|
||||
process_exclude();
|
||||
if ((Item.getStatus(arg_06) & 0x1000) == 0) {
|
||||
spawn class_0A02_slot_20(*(arg_06), arg_06);
|
||||
|
||||
block_0122:
|
||||
return;
|
||||
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,14 +1,9 @@
|
|||
function blaserns_enterFastArea() /* entry=149 class_id=0x02C3 slot=0x0F */
|
||||
{
|
||||
entry:
|
||||
set_info(0x021B, *(arg_06));
|
||||
process_exclude();
|
||||
if ((Item.getStatus(arg_06) & 0x1000) != 0) goto block_020E;
|
||||
|
||||
block_01FA:
|
||||
set_info(0x021B, *(arg_06));
|
||||
process_exclude();
|
||||
if ((Item.getStatus(arg_06) & 0x1000) == 0) {
|
||||
spawn class_0A02_slot_20(*(arg_06), arg_06);
|
||||
|
||||
block_020E:
|
||||
return;
|
||||
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,7 @@
|
|||
function blaserns_leaveFastArea() /* entry=149 class_id=0x02C3 slot=0x10 */
|
||||
{
|
||||
entry:
|
||||
set_info(0x021C, *(arg_06));
|
||||
process_exclude();
|
||||
/* bit_not */
|
||||
return;
|
||||
|
||||
set_info(0x021C, *(arg_06));
|
||||
process_exclude();
|
||||
/* bit_not */
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,11 +18,11 @@ function blastpac_use() /* entry=207 class_id=0x039B slot=0x01 */
|
|||
Blastpac = *(arg_06);
|
||||
set_info(0x00F0, 0);
|
||||
/* global_address global_id=0x3C */
|
||||
lastAnim = Item.push();
|
||||
lastAnim = Actor.getLastAnimSet();
|
||||
|
||||
block_011D:
|
||||
/* global_address global_id=0x3C */
|
||||
if Intrinsic0033() goto block_0153;
|
||||
if Actor.isBusy() goto block_0153;
|
||||
|
||||
block_012D:
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
|
|
@ -50,7 +50,7 @@ function blastpac_use() /* entry=207 class_id=0x039B slot=0x01 */
|
|||
/* global_address global_id=0x3C */
|
||||
/* global_address global_id=0x3C */
|
||||
/* global_address global_id=0x3C */
|
||||
spawn class_0A11_slot_22(Item.getDirToItem(Intrinsic0013(pid, 1, Item.legal_create(Item.legal_create(target), Intrinsic0013(target)))));
|
||||
spawn class_0A11_slot_22(Item.getDirFromTo16(Item.getX(pid, 1, Item.getY(Item.getY(target), Item.getX(target)))));
|
||||
suspend;
|
||||
counter = (1 + counter);
|
||||
goto block_017B;
|
||||
|
|
@ -66,155 +66,77 @@ function blastpac_use() /* entry=207 class_id=0x039B slot=0x01 */
|
|||
goto block_0171;
|
||||
|
||||
block_0233:
|
||||
/* global_address global_id=0x3C */
|
||||
if (Intrinsic00FA() != 0) goto block_0253;
|
||||
|
||||
block_0245:
|
||||
xOff = -1;
|
||||
yOff = -3;
|
||||
goto block_0415;
|
||||
|
||||
block_0253:
|
||||
/* global_address global_id=0x3C */
|
||||
if (Intrinsic00FA() != 1) goto block_0271;
|
||||
|
||||
block_0263:
|
||||
xOff = 0;
|
||||
yOff = -3;
|
||||
goto block_0415;
|
||||
|
||||
block_0271:
|
||||
/* global_address global_id=0x3C */
|
||||
if (Intrinsic00FA() != 2) goto block_028F;
|
||||
|
||||
block_0281:
|
||||
xOff = 1;
|
||||
yOff = -3;
|
||||
goto block_0415;
|
||||
|
||||
block_028F:
|
||||
/* global_address global_id=0x3C */
|
||||
if (Intrinsic00FA() != 3) goto block_02AD;
|
||||
|
||||
block_029F:
|
||||
xOff = 2;
|
||||
yOff = -2;
|
||||
goto block_0415;
|
||||
|
||||
block_02AD:
|
||||
/* global_address global_id=0x3C */
|
||||
if (Intrinsic00FA() != 4) goto block_02CB;
|
||||
|
||||
block_02BD:
|
||||
xOff = 2;
|
||||
yOff = -1;
|
||||
goto block_0415;
|
||||
|
||||
block_02CB:
|
||||
/* global_address global_id=0x3C */
|
||||
if (Intrinsic00FA() != 5) goto block_02E9;
|
||||
|
||||
block_02DB:
|
||||
xOff = 2;
|
||||
yOff = 0;
|
||||
goto block_0415;
|
||||
|
||||
block_02E9:
|
||||
/* global_address global_id=0x3C */
|
||||
if (Intrinsic00FA() != 6) goto block_0307;
|
||||
|
||||
block_02F9:
|
||||
xOff = 2;
|
||||
yOff = 2;
|
||||
goto block_0415;
|
||||
|
||||
block_0307:
|
||||
/* global_address global_id=0x3C */
|
||||
if (Intrinsic00FA() != 7) goto block_0325;
|
||||
|
||||
block_0317:
|
||||
xOff = 0;
|
||||
yOff = 2;
|
||||
goto block_0415;
|
||||
|
||||
block_0325:
|
||||
/* global_address global_id=0x3C */
|
||||
if (Intrinsic00FA() != 8) goto block_0343;
|
||||
|
||||
block_0335:
|
||||
xOff = -1;
|
||||
yOff = 2;
|
||||
goto block_0415;
|
||||
|
||||
block_0343:
|
||||
/* global_address global_id=0x3C */
|
||||
if (Intrinsic00FA() != 9) goto block_0361;
|
||||
|
||||
block_0353:
|
||||
xOff = -2;
|
||||
yOff = 2;
|
||||
goto block_0415;
|
||||
|
||||
block_0361:
|
||||
/* global_address global_id=0x3C */
|
||||
if (Intrinsic00FA() != 10) goto block_037F;
|
||||
|
||||
block_0371:
|
||||
xOff = -3;
|
||||
yOff = 2;
|
||||
goto block_0415;
|
||||
|
||||
block_037F:
|
||||
/* global_address global_id=0x3C */
|
||||
if (Intrinsic00FA() != 11) goto block_039D;
|
||||
|
||||
block_038F:
|
||||
xOff = -3;
|
||||
yOff = 1;
|
||||
goto block_0415;
|
||||
|
||||
block_039D:
|
||||
/* global_address global_id=0x3C */
|
||||
if (Intrinsic00FA() != 12) goto block_03BB;
|
||||
|
||||
block_03AD:
|
||||
xOff = -3;
|
||||
yOff = 0;
|
||||
goto block_0415;
|
||||
|
||||
block_03BB:
|
||||
/* global_address global_id=0x3C */
|
||||
if (Intrinsic00FA() != 13) goto block_03D9;
|
||||
|
||||
block_03CB:
|
||||
xOff = -3;
|
||||
yOff = -1;
|
||||
goto block_0415;
|
||||
|
||||
block_03D9:
|
||||
/* global_address global_id=0x3C */
|
||||
if (Intrinsic00FA() != 14) goto block_03F7;
|
||||
|
||||
block_03E9:
|
||||
xOff = -3;
|
||||
yOff = -2;
|
||||
goto block_0415;
|
||||
|
||||
block_03F7:
|
||||
/* global_address global_id=0x3C */
|
||||
if (Intrinsic00FA() != 15) goto block_0415;
|
||||
|
||||
block_0407:
|
||||
xOff = -3;
|
||||
yOff = -3;
|
||||
goto block_0415;
|
||||
if (Actor.getDir() == 0) {
|
||||
xOff = -1;
|
||||
yOff = -3;
|
||||
}
|
||||
else if (Actor.getDir() == 1) {
|
||||
xOff = 0;
|
||||
yOff = -3;
|
||||
}
|
||||
else if (Actor.getDir() == 2) {
|
||||
xOff = 1;
|
||||
yOff = -3;
|
||||
}
|
||||
else if (Actor.getDir() == 3) {
|
||||
xOff = 2;
|
||||
yOff = -2;
|
||||
}
|
||||
else if (Actor.getDir() == 4) {
|
||||
xOff = 2;
|
||||
yOff = -1;
|
||||
}
|
||||
else if (Actor.getDir() == 5) {
|
||||
xOff = 2;
|
||||
yOff = 0;
|
||||
}
|
||||
else if (Actor.getDir() == 6) {
|
||||
xOff = 2;
|
||||
yOff = 2;
|
||||
}
|
||||
else if (Actor.getDir() == 7) {
|
||||
xOff = 0;
|
||||
yOff = 2;
|
||||
}
|
||||
else if (Actor.getDir() == 8) {
|
||||
xOff = -1;
|
||||
yOff = 2;
|
||||
}
|
||||
else if (Actor.getDir() == 9) {
|
||||
xOff = -2;
|
||||
yOff = 2;
|
||||
}
|
||||
else if (Actor.getDir() == 10) {
|
||||
xOff = -3;
|
||||
yOff = 2;
|
||||
}
|
||||
else if (Actor.getDir() == 11) {
|
||||
xOff = -3;
|
||||
yOff = 1;
|
||||
}
|
||||
else if (Actor.getDir() == 12) {
|
||||
xOff = -3;
|
||||
yOff = 0;
|
||||
}
|
||||
else if (Actor.getDir() == 13) {
|
||||
xOff = -3;
|
||||
yOff = -1;
|
||||
}
|
||||
else if (Actor.getDir() == 14) {
|
||||
xOff = -3;
|
||||
yOff = -2;
|
||||
}
|
||||
else if (Actor.getDir() == 15) {
|
||||
xOff = -3;
|
||||
yOff = -3;
|
||||
}
|
||||
|
||||
block_0415:
|
||||
if target goto block_061D;
|
||||
|
||||
block_041D:
|
||||
/* global_address global_id=0x3C */
|
||||
if Intrinsic0035() goto block_0437;
|
||||
if Actor.getSomeFlagProbablyCrouch() goto block_0437;
|
||||
|
||||
block_042D:
|
||||
InCrouch = 1;
|
||||
|
|
@ -234,7 +156,7 @@ function blastpac_use() /* entry=207 class_id=0x039B slot=0x01 */
|
|||
|
||||
block_04C5:
|
||||
/* global_address global_id=0x3C */
|
||||
if Intrinsic0033() goto block_04FB;
|
||||
if Actor.isBusy() goto block_04FB;
|
||||
|
||||
block_04D5:
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
|
|
|
|||
|
|
@ -13,28 +13,19 @@ function blastpac_slot_20() /* entry=207 class_id=0x039B slot=0x20 */
|
|||
y, /* [BP-10h] type=0x69 */
|
||||
z; /* [BP-12h] type=0x69 */
|
||||
|
||||
entry:
|
||||
spawn class_0A0C_slot_32(pid, 60, 0x00000000);
|
||||
suspend;
|
||||
set_info(0x00F0, 0);
|
||||
counter = 1;
|
||||
|
||||
block_0736:
|
||||
if (counter <= 5) goto block_077E;
|
||||
|
||||
block_073E:
|
||||
spawn class_0A0C_slot_32(pid, 60, 0x00000000);
|
||||
suspend;
|
||||
set_info(0x00F0, 0);
|
||||
counter = 1;
|
||||
while (counter > 5) {
|
||||
spawn class_0A0C_slot_32(pid, 60, 0x00000000);
|
||||
suspend;
|
||||
counter = (1 + counter);
|
||||
goto block_0736;
|
||||
|
||||
block_077E:
|
||||
spawn class_0A1E_slot_28(pid, 1, 2, pac);
|
||||
suspend;
|
||||
/* global_address global_id=0x3C */
|
||||
if (Item.getType() != 1) goto block_0AD9;
|
||||
|
||||
block_07B3:
|
||||
}
|
||||
spawn class_0A1E_slot_28(pid, 1, 2, pac);
|
||||
suspend;
|
||||
/* global_address global_id=0x3C */
|
||||
if (Actor.getMap() == 1) {
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
/* pop_global global_id=0x20 size=0x1 */
|
||||
|
|
@ -43,80 +34,47 @@ function blastpac_slot_20() /* entry=207 class_id=0x039B slot=0x20 */
|
|||
/* loopscr value_u8=0x40 */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
|
||||
|
||||
block_0800:
|
||||
if condition goto block_084E;
|
||||
|
||||
block_0803:
|
||||
spawn class_0A1E_slot_28(pid, 0, 2, item);
|
||||
suspend;
|
||||
therm = item;
|
||||
/* loopnext */
|
||||
goto block_0800;
|
||||
|
||||
block_084E:
|
||||
while (!condition) {
|
||||
spawn class_0A1E_slot_28(pid, 0, 2, item);
|
||||
suspend;
|
||||
therm = item;
|
||||
/* loopnext */
|
||||
}
|
||||
/* 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_086C:
|
||||
if condition goto block_08C5;
|
||||
|
||||
block_086F:
|
||||
spawn class_0A1E_slot_28(pid, 1, 0, item);
|
||||
suspend;
|
||||
thermTop = item;
|
||||
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
|
||||
suspend;
|
||||
/* loopnext */
|
||||
goto block_086C;
|
||||
|
||||
block_08C5:
|
||||
while (!condition) {
|
||||
spawn class_0A1E_slot_28(pid, 1, 0, item);
|
||||
suspend;
|
||||
thermTop = item;
|
||||
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
|
||||
suspend;
|
||||
/* loopnext */
|
||||
}
|
||||
/* global_address global_id=0x3C */
|
||||
if Kernel.resetRef() goto block_08DD;
|
||||
|
||||
block_08D7:
|
||||
goto block_0FF9;
|
||||
|
||||
block_08DD:
|
||||
if (!Actor.isDead()) {
|
||||
return;
|
||||
}
|
||||
/* 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_08F9:
|
||||
if condition goto block_093E;
|
||||
|
||||
block_08FC:
|
||||
spawn class_0A0C_slot_32(Intrinsic00DA(pid, 20, 10), 0x00000000);
|
||||
suspend;
|
||||
/* loopnext */
|
||||
goto block_08F9;
|
||||
|
||||
block_093E:
|
||||
while (!condition) {
|
||||
spawn class_0A0C_slot_32(UCMachine.rndRange(pid, 20, 10), 0x00000000);
|
||||
suspend;
|
||||
/* loopnext */
|
||||
}
|
||||
counter = 0;
|
||||
|
||||
block_0947:
|
||||
if (counter <= 2) goto block_09A3;
|
||||
|
||||
block_094F:
|
||||
|
||||
block_095C:
|
||||
if Item.touch(22, thermTop) goto block_0996;
|
||||
|
||||
block_096D:
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
goto block_095C;
|
||||
|
||||
block_0996:
|
||||
counter = (1 + counter);
|
||||
goto block_0947;
|
||||
|
||||
block_09A3:
|
||||
while (counter > 2) {
|
||||
while (!AudioProcess.isSFXPlayingForObject(22, thermTop)) {
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
counter = (1 + counter);
|
||||
}
|
||||
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
|
||||
suspend;
|
||||
/* loopscr value_u8=0x24 */
|
||||
|
|
@ -124,19 +82,13 @@ function blastpac_slot_20() /* entry=207 class_id=0x039B slot=0x20 */
|
|||
/* loopscr value_u8=0x40 */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
|
||||
|
||||
block_09E5:
|
||||
if condition goto block_0A4D;
|
||||
|
||||
block_09E8:
|
||||
spawn class_0A1E_slot_28(pid, 0, 0, item);
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(Intrinsic00DA(pid, 10, 5), 0x00000000);
|
||||
suspend;
|
||||
/* loopnext */
|
||||
goto block_09E5;
|
||||
|
||||
block_0A4D:
|
||||
while (!condition) {
|
||||
spawn class_0A1E_slot_28(pid, 0, 0, item);
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(UCMachine.rndRange(pid, 10, 5), 0x00000000);
|
||||
suspend;
|
||||
/* loopnext */
|
||||
}
|
||||
spawn class_0A0C_slot_32(pid, 0x00C8, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A0C_slot_26(pid, "1c", 0x00000000);
|
||||
|
|
@ -145,22 +97,12 @@ function blastpac_slot_20() /* entry=207 class_id=0x039B slot=0x20 */
|
|||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x42 */
|
||||
/* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
|
||||
|
||||
block_0AC2:
|
||||
if condition goto block_0AD4;
|
||||
|
||||
block_0AC5:
|
||||
/* loopnext */
|
||||
goto block_0AC2;
|
||||
|
||||
block_0AD4:
|
||||
goto block_0FF9;
|
||||
|
||||
block_0AD9:
|
||||
/* global_address global_id=0x3C */
|
||||
if (Item.getType() != 7) goto block_0DFD;
|
||||
|
||||
block_0AE9:
|
||||
while (!condition) {
|
||||
/* loopnext */
|
||||
}
|
||||
return;
|
||||
}
|
||||
else if (Actor.getMap() == 7) {
|
||||
/* pop_global global_id=0x23 size=0x1 */
|
||||
spawn class_0A0C_slot_32(1, pid, 10, 0x00000000);
|
||||
suspend;
|
||||
|
|
@ -169,94 +111,55 @@ function blastpac_slot_20() /* entry=207 class_id=0x039B slot=0x20 */
|
|||
/* loopscr value_u8=0x40 */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
|
||||
|
||||
block_0B36:
|
||||
if condition goto block_0B6E;
|
||||
|
||||
block_0B39:
|
||||
radar = item;
|
||||
/* loopnext */
|
||||
goto block_0B36;
|
||||
|
||||
block_0B6E:
|
||||
while (!condition) {
|
||||
radar = item;
|
||||
/* loopnext */
|
||||
}
|
||||
/* 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_0B8C:
|
||||
if condition goto block_0C13;
|
||||
|
||||
block_0B8F:
|
||||
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
|
||||
suspend;
|
||||
x = Intrinsic0013(item);
|
||||
y = Item.legal_create(item);
|
||||
z = Item.getZ(item);
|
||||
/* loopnext */
|
||||
goto block_0B8C;
|
||||
|
||||
block_0C13:
|
||||
while (!condition) {
|
||||
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
|
||||
suspend;
|
||||
x = Item.getX(item);
|
||||
y = Item.getY(item);
|
||||
z = Item.getZ(item);
|
||||
/* loopnext */
|
||||
}
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x42 */
|
||||
/* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
|
||||
|
||||
block_0C33:
|
||||
if condition goto block_0C6F;
|
||||
|
||||
block_0C36:
|
||||
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
|
||||
suspend;
|
||||
/* loopnext */
|
||||
goto block_0C33;
|
||||
|
||||
block_0C6F:
|
||||
while (!condition) {
|
||||
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
|
||||
suspend;
|
||||
/* loopnext */
|
||||
}
|
||||
spawn class_0A0C_slot_32(pid, 60, 0x00000000);
|
||||
suspend;
|
||||
/* global_address global_id=0x3C */
|
||||
if Kernel.resetRef() goto block_0CAD;
|
||||
|
||||
block_0CA7:
|
||||
goto block_0FF9;
|
||||
|
||||
block_0CAD:
|
||||
if (!Actor.isDead()) {
|
||||
return;
|
||||
}
|
||||
/* 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_0CC9:
|
||||
if condition goto block_0D0E;
|
||||
|
||||
block_0CCC:
|
||||
spawn class_0A0C_slot_32(Intrinsic00DA(pid, 20, 10), 0x00000000);
|
||||
suspend;
|
||||
/* loopnext */
|
||||
goto block_0CC9;
|
||||
|
||||
block_0D0E:
|
||||
while (!condition) {
|
||||
spawn class_0A0C_slot_32(UCMachine.rndRange(pid, 20, 10), 0x00000000);
|
||||
suspend;
|
||||
/* loopnext */
|
||||
}
|
||||
counter = 0;
|
||||
|
||||
block_0D17:
|
||||
if (counter <= 2) goto block_0D75;
|
||||
|
||||
block_0D1F:
|
||||
|
||||
block_0D2D:
|
||||
if Item.touch(0x0096, radar) goto block_0D68;
|
||||
|
||||
block_0D3F:
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
goto block_0D2D;
|
||||
|
||||
block_0D68:
|
||||
counter = (1 + counter);
|
||||
goto block_0D17;
|
||||
|
||||
block_0D75:
|
||||
while (counter > 2) {
|
||||
while (!AudioProcess.isSFXPlayingForObject(0x0096, radar)) {
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
counter = (1 + counter);
|
||||
}
|
||||
spawn class_0A0C_slot_32(pid, 0x00C8, 0x00000000);
|
||||
suspend;
|
||||
spawn class_0A0C_slot_26(pid, "4g", 0x00000000);
|
||||
|
|
@ -265,22 +168,12 @@ function blastpac_slot_20() /* entry=207 class_id=0x039B slot=0x20 */
|
|||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x42 */
|
||||
/* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
|
||||
|
||||
block_0DE6:
|
||||
if condition goto block_0DF8;
|
||||
|
||||
block_0DE9:
|
||||
/* loopnext */
|
||||
goto block_0DE6;
|
||||
|
||||
block_0DF8:
|
||||
goto block_0FF9;
|
||||
|
||||
block_0DFD:
|
||||
/* global_address global_id=0x3C */
|
||||
if (Item.getType() != 29) goto block_0FF9;
|
||||
|
||||
block_0E0D:
|
||||
while (!condition) {
|
||||
/* loopnext */
|
||||
}
|
||||
return;
|
||||
}
|
||||
else if (Actor.getMap() == 29) {
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
/* pop_global global_id=0x2E size=0x1 */
|
||||
|
|
@ -289,81 +182,51 @@ function blastpac_slot_20() /* entry=207 class_id=0x039B slot=0x20 */
|
|||
/* loopscr value_u8=0x40 */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
|
||||
|
||||
block_0E5A:
|
||||
if condition goto block_0EA1;
|
||||
|
||||
block_0E5D:
|
||||
spawn class_0A1E_slot_28(pid, 0, 2, item);
|
||||
suspend;
|
||||
/* loopnext */
|
||||
goto block_0E5A;
|
||||
|
||||
block_0EA1:
|
||||
while (!condition) {
|
||||
spawn class_0A1E_slot_28(pid, 0, 2, item);
|
||||
suspend;
|
||||
/* loopnext */
|
||||
}
|
||||
/* 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_0EC1:
|
||||
if condition goto block_0ED5;
|
||||
|
||||
block_0EC4:
|
||||
/* loopnext */
|
||||
goto block_0EC1;
|
||||
|
||||
block_0ED5:
|
||||
while (!condition) {
|
||||
/* loopnext */
|
||||
}
|
||||
spawn class_0A0C_slot_32(pid, 60, 0x00000000);
|
||||
suspend;
|
||||
/* global_address global_id=0x3C */
|
||||
if Kernel.resetRef() goto block_0F13;
|
||||
|
||||
block_0F0D:
|
||||
goto block_0FF9;
|
||||
|
||||
block_0F13:
|
||||
/* 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_0F31:
|
||||
if condition goto block_0F8B;
|
||||
|
||||
block_0F34:
|
||||
if (Item.pop(item) != 0) goto block_0F87;
|
||||
|
||||
block_0F49:
|
||||
spawn class_0A0C_slot_32(Intrinsic00DA(pid, 30, 20), 0x00000000);
|
||||
suspend;
|
||||
|
||||
block_0F87:
|
||||
/* loopnext */
|
||||
goto block_0F31;
|
||||
|
||||
block_0F8B:
|
||||
/* 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_0FAB:
|
||||
if condition goto block_0FE3;
|
||||
|
||||
block_0FAE:
|
||||
spawn class_0A0C_slot_32(pid, 20, 0x00000000);
|
||||
suspend;
|
||||
/* loopnext */
|
||||
goto block_0FAB;
|
||||
|
||||
block_0FE3:
|
||||
spawn class_0A0C_slot_22(0x00000000);
|
||||
goto block_0FF9;
|
||||
|
||||
block_0FF9:
|
||||
return;
|
||||
|
||||
if (!Actor.isDead()) {
|
||||
return;
|
||||
}
|
||||
else {
|
||||
/* 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 */
|
||||
while (!condition) {
|
||||
if (Item.getQLo(item) == 0) {
|
||||
spawn class_0A0C_slot_32(UCMachine.rndRange(pid, 30, 20), 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
/* loopnext */
|
||||
}
|
||||
/* 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 */
|
||||
while (!condition) {
|
||||
spawn class_0A0C_slot_32(pid, 20, 0x00000000);
|
||||
suspend;
|
||||
/* loopnext */
|
||||
}
|
||||
spawn class_0A0C_slot_22(0x00000000);
|
||||
return;
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,20 +5,14 @@ function blood_gotHit() /* entry=257 class_id=0x04B8 slot=0x06 */
|
|||
ref, /* [BP+0Ah] type=0x69 */
|
||||
vel; /* [BP+0Ch] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_2C(vel, ref);
|
||||
if (retval != 4) goto block_0166;
|
||||
|
||||
block_0106:
|
||||
if (((Item.getFrame(arg_06) != 9) || (Item.getFrame(arg_06) != 19)) || (Item.getFrame(arg_06) != 29)) goto block_0166;
|
||||
|
||||
block_0135:
|
||||
spawn class_0A0C_slot_32(pid, 15, 0x00000000);
|
||||
suspend;
|
||||
|
||||
block_0166:
|
||||
return;
|
||||
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_2C(vel, ref);
|
||||
if (retval == 4) {
|
||||
if (((Item.getFrame(arg_06) == 9) || (Item.getFrame(arg_06) != 19)) || (Item.getFrame(arg_06) != 29)) {
|
||||
spawn class_0A0C_slot_32(pid, 15, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,134 +13,70 @@ function bouncbox_gotHit() /* entry=291 class_id=0x04EF slot=0x06 */
|
|||
y1, /* [BP-0Eh] type=0x69 */
|
||||
ammo; /* [BP-10h] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
dir = Item.getCX(arg_06);
|
||||
item = ref;
|
||||
if (ref != 0x4000) goto block_02D1;
|
||||
|
||||
block_010F:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
dir = Item.getQHi(arg_06);
|
||||
item = ref;
|
||||
if (ref == 0x4000) {
|
||||
class_0A0C_slot_2C(vel, ref);
|
||||
class_0A0C_slot_2C((retval != 4), vel, ref);
|
||||
if (retval != 3) goto block_014B;
|
||||
|
||||
block_0145:
|
||||
goto block_0479;
|
||||
|
||||
block_014B:
|
||||
if ((dir > 15) && (dir < 32)) goto block_018B;
|
||||
|
||||
block_015F:
|
||||
dir = (dir + 2);
|
||||
if (dir > 31) goto block_017E;
|
||||
|
||||
block_0174:
|
||||
dir = (dir - 16);
|
||||
|
||||
block_017E:
|
||||
|
||||
block_018B:
|
||||
if (Item.getStatus(arg_06) & 4) goto block_01A8;
|
||||
|
||||
block_019D:
|
||||
dir = 0x00FF;
|
||||
goto block_02CE;
|
||||
|
||||
block_01A8:
|
||||
class_0A0C_slot_2C(vel, ref);
|
||||
ammo = retval;
|
||||
if (dir != 0x00FF) goto block_01D7;
|
||||
|
||||
block_01C5:
|
||||
class_0A0C_slot_20(15);
|
||||
dir = retval;
|
||||
goto block_0216;
|
||||
|
||||
block_01D7:
|
||||
if (dir != 0x00FE) goto block_0216;
|
||||
|
||||
block_01E3:
|
||||
suspend;
|
||||
goto block_0479;
|
||||
|
||||
block_0213:
|
||||
goto block_0216;
|
||||
|
||||
block_0216:
|
||||
dir = (dir & 15);
|
||||
if ((dir > 13) || (dir < 3)) goto block_0241;
|
||||
|
||||
block_0234:
|
||||
y1 = (y1 - 32);
|
||||
goto block_02A4;
|
||||
|
||||
block_0241:
|
||||
if ((dir > 1) && (dir < 7)) goto block_0262;
|
||||
|
||||
block_0255:
|
||||
x1 = (x1 + 32);
|
||||
goto block_02A4;
|
||||
|
||||
block_0262:
|
||||
if ((dir > 5) && (dir < 11)) goto block_0283;
|
||||
|
||||
block_0276:
|
||||
y1 = (y1 + 32);
|
||||
goto block_02A4;
|
||||
|
||||
block_0283:
|
||||
if ((dir > 9) && (dir < 15)) goto block_02A4;
|
||||
|
||||
block_0297:
|
||||
x1 = (x1 - 32);
|
||||
goto block_02A4;
|
||||
|
||||
block_02A4:
|
||||
suspend;
|
||||
|
||||
block_02CE:
|
||||
goto block_0479;
|
||||
|
||||
block_02D1:
|
||||
if (Intrinsic0016(item) != 0x02C3) goto block_03A5;
|
||||
|
||||
block_02E4:
|
||||
qHi = Item.getCX(item);
|
||||
qLo = Item.pop(item);
|
||||
if Item.getQLo(0, 0x02C4, item2) goto block_03A2;
|
||||
|
||||
block_031F:
|
||||
if qHi goto block_0373;
|
||||
|
||||
block_0334:
|
||||
goto block_03A2;
|
||||
|
||||
block_0373:
|
||||
|
||||
block_03A2:
|
||||
goto block_0479;
|
||||
|
||||
block_03A5:
|
||||
if (Intrinsic0016(item) != 0x02C4) goto block_0479;
|
||||
|
||||
block_03B8:
|
||||
qHi = Item.getCX(item);
|
||||
qLo = Item.pop(item);
|
||||
if Item.getQLo(0, 0x02C3, item2) goto block_0476;
|
||||
|
||||
block_03F3:
|
||||
if qHi goto block_0447;
|
||||
|
||||
block_0408:
|
||||
goto block_0476;
|
||||
|
||||
block_0447:
|
||||
|
||||
block_0476:
|
||||
goto block_0479;
|
||||
|
||||
block_0479:
|
||||
if (retval == 3) {
|
||||
return;
|
||||
}
|
||||
if ((dir > 15) && (dir >= 32)) {
|
||||
dir = (dir + 2);
|
||||
if (dir <= 31) {
|
||||
dir = (dir - 16);
|
||||
}
|
||||
}
|
||||
if (!(Item.getStatus(arg_06) & 4)) {
|
||||
dir = 0x00FF;
|
||||
}
|
||||
else {
|
||||
class_0A0C_slot_2C(vel, ref);
|
||||
ammo = retval;
|
||||
if (dir == 0x00FF) {
|
||||
class_0A0C_slot_20(15);
|
||||
dir = retval;
|
||||
}
|
||||
else if (dir == 0x00FE) {
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
dir = (dir & 15);
|
||||
if ((dir > 13) || (dir >= 3)) {
|
||||
y1 = (y1 - 32);
|
||||
}
|
||||
else if ((dir > 1) && (dir >= 7)) {
|
||||
x1 = (x1 + 32);
|
||||
}
|
||||
else if ((dir > 5) && (dir >= 11)) {
|
||||
y1 = (y1 + 32);
|
||||
}
|
||||
else if ((dir > 9) && (dir >= 15)) {
|
||||
x1 = (x1 - 32);
|
||||
}
|
||||
suspend;
|
||||
}
|
||||
return;
|
||||
|
||||
}
|
||||
else if (Item.getShape(item) == 0x02C3) {
|
||||
qHi = Item.getQHi(item);
|
||||
qLo = Item.getQLo(item);
|
||||
if (!Item.create(0, 0x02C4, item2)) {
|
||||
if (!qHi) {
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
else if (Item.getShape(item) == 0x02C4) {
|
||||
qHi = Item.getQHi(item);
|
||||
qLo = Item.getQLo(item);
|
||||
if (!Item.create(0, 0x02C3, item2)) {
|
||||
if (!qHi) {
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
function bouncbox_equip() /* entry=291 class_id=0x04EF slot=0x0A */
|
||||
{
|
||||
entry:
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
return;
|
||||
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,77 +4,42 @@ function box_ew_use() /* entry=15 class_id=0x0080 slot=0x01 */
|
|||
referent, /* [BP+00h] type=0x69 */
|
||||
counter; /* [BP-02h] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x0207, *(arg_06));
|
||||
process_exclude();
|
||||
if Item.getFrame(arg_06) goto block_0198;
|
||||
|
||||
block_00FA:
|
||||
|
||||
block_0108:
|
||||
if Item.touch(0x00A7, arg_06) goto block_0143;
|
||||
|
||||
block_011A:
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
goto block_0108;
|
||||
|
||||
block_0143:
|
||||
set_info(0x0207, *(arg_06));
|
||||
process_exclude();
|
||||
if (!Item.getFrame(arg_06)) {
|
||||
while (!AudioProcess.isSFXPlayingForObject(0x00A7, arg_06)) {
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
counter = 0;
|
||||
|
||||
block_014A:
|
||||
if (counter <= 5) goto block_0195;
|
||||
|
||||
block_0152:
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
counter = (1 + counter);
|
||||
goto block_014A;
|
||||
|
||||
block_0195:
|
||||
goto block_0230;
|
||||
|
||||
block_0198:
|
||||
|
||||
block_01A6:
|
||||
if Item.touch(0x00A5, arg_06) goto block_01E1;
|
||||
|
||||
block_01B8:
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
goto block_01A6;
|
||||
|
||||
block_01E1:
|
||||
while (counter > 5) {
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
counter = (1 + counter);
|
||||
}
|
||||
}
|
||||
else {
|
||||
while (!AudioProcess.isSFXPlayingForObject(0x00A5, arg_06)) {
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
counter = 0;
|
||||
|
||||
block_01E8:
|
||||
if (counter <= 5) goto block_0230;
|
||||
|
||||
block_01F0:
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
counter = (1 + counter);
|
||||
goto block_01E8;
|
||||
|
||||
block_0230:
|
||||
if (Item.getMapNum(arg_06) != 0) goto block_02AB;
|
||||
|
||||
block_0242:
|
||||
if (Item.getFrame(arg_06) != 0) goto block_027E;
|
||||
|
||||
block_0254:
|
||||
spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
|
||||
suspend;
|
||||
goto block_02A5;
|
||||
|
||||
block_027E:
|
||||
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
|
||||
suspend;
|
||||
|
||||
block_02A5:
|
||||
goto block_02AB;
|
||||
|
||||
block_02AB:
|
||||
while (counter > 5) {
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
counter = (1 + counter);
|
||||
}
|
||||
}
|
||||
if (Item.getMapArray(arg_06) == 0) {
|
||||
if (Item.getFrame(arg_06) == 0) {
|
||||
spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
|
||||
suspend;
|
||||
}
|
||||
else {
|
||||
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
|
||||
suspend;
|
||||
}
|
||||
return;
|
||||
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,77 +4,42 @@ function box_ns_use() /* entry=16 class_id=0x0081 slot=0x01 */
|
|||
referent, /* [BP+00h] type=0x69 */
|
||||
counter; /* [BP-02h] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x0207, *(arg_06));
|
||||
process_exclude();
|
||||
if Item.getFrame(arg_06) goto block_0198;
|
||||
|
||||
block_00FA:
|
||||
|
||||
block_0108:
|
||||
if Item.touch(0x00A7, arg_06) goto block_0143;
|
||||
|
||||
block_011A:
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
goto block_0108;
|
||||
|
||||
block_0143:
|
||||
set_info(0x0207, *(arg_06));
|
||||
process_exclude();
|
||||
if (!Item.getFrame(arg_06)) {
|
||||
while (!AudioProcess.isSFXPlayingForObject(0x00A7, arg_06)) {
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
counter = 0;
|
||||
|
||||
block_014A:
|
||||
if (counter <= 5) goto block_0195;
|
||||
|
||||
block_0152:
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
counter = (1 + counter);
|
||||
goto block_014A;
|
||||
|
||||
block_0195:
|
||||
goto block_0230;
|
||||
|
||||
block_0198:
|
||||
|
||||
block_01A6:
|
||||
if Item.touch(0x00A5, arg_06) goto block_01E1;
|
||||
|
||||
block_01B8:
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
goto block_01A6;
|
||||
|
||||
block_01E1:
|
||||
while (counter > 5) {
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
counter = (1 + counter);
|
||||
}
|
||||
}
|
||||
else {
|
||||
while (!AudioProcess.isSFXPlayingForObject(0x00A5, arg_06)) {
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
counter = 0;
|
||||
|
||||
block_01E8:
|
||||
if (counter <= 5) goto block_0230;
|
||||
|
||||
block_01F0:
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
counter = (1 + counter);
|
||||
goto block_01E8;
|
||||
|
||||
block_0230:
|
||||
if (Item.getMapNum(arg_06) != 0) goto block_02AB;
|
||||
|
||||
block_0242:
|
||||
if (Item.getFrame(arg_06) != 0) goto block_027E;
|
||||
|
||||
block_0254:
|
||||
spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
|
||||
suspend;
|
||||
goto block_02A5;
|
||||
|
||||
block_027E:
|
||||
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
|
||||
suspend;
|
||||
|
||||
block_02A5:
|
||||
goto block_02AB;
|
||||
|
||||
block_02AB:
|
||||
while (counter > 5) {
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
counter = (1 + counter);
|
||||
}
|
||||
}
|
||||
if (Item.getMapArray(arg_06) == 0) {
|
||||
if (Item.getFrame(arg_06) == 0) {
|
||||
spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
|
||||
suspend;
|
||||
}
|
||||
else {
|
||||
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
|
||||
suspend;
|
||||
}
|
||||
return;
|
||||
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,43 +5,29 @@ function bridge_slot_20() /* entry=373 class_id=0x0A03 slot=0x20 */
|
|||
var, /* [BP+0Ah] type=0x69 */
|
||||
q; /* [BP-02h] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x0211, *(arg_06));
|
||||
if (var != 1) goto block_0195;
|
||||
|
||||
block_0122:
|
||||
q = Item.pop(arg_06);
|
||||
set_info(0x0211, *(arg_06));
|
||||
if (var == 1) {
|
||||
q = Item.getQLo(arg_06);
|
||||
spawn class_0A03_slot_22(pid, q, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (process_result != 1) goto block_0192;
|
||||
|
||||
block_015B:
|
||||
spawn class_0A03_slot_24(pid, q, arg_06);
|
||||
suspend;
|
||||
spawn class_0A03_slot_26(0, q, arg_06);
|
||||
|
||||
block_0192:
|
||||
goto block_01FF;
|
||||
|
||||
block_0195:
|
||||
if (var != 2) goto block_01FF;
|
||||
|
||||
block_01A0:
|
||||
q = Item.pop(arg_06);
|
||||
if (process_result == 1) {
|
||||
spawn class_0A03_slot_24(pid, q, arg_06);
|
||||
suspend;
|
||||
spawn class_0A03_slot_26(0, q, arg_06);
|
||||
}
|
||||
return;
|
||||
}
|
||||
else if (var == 2) {
|
||||
q = Item.getQLo(arg_06);
|
||||
spawn class_0A03_slot_23(pid, q, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (process_result != 1) goto block_01FC;
|
||||
|
||||
block_01D9:
|
||||
spawn class_0A03_slot_25(pid, q, arg_06);
|
||||
suspend;
|
||||
|
||||
block_01FC:
|
||||
goto block_01FF;
|
||||
|
||||
block_01FF:
|
||||
if (process_result == 1) {
|
||||
spawn class_0A03_slot_25(pid, q, arg_06);
|
||||
suspend;
|
||||
}
|
||||
return;
|
||||
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,21 +6,15 @@ function bridge_slot_21() /* entry=373 class_id=0x0A03 slot=0x21 */
|
|||
x, /* [BP-02h] type=0x69 */
|
||||
item2; /* [BP-04h] type=0x24 */
|
||||
|
||||
entry:
|
||||
x = Intrinsic0016(item);
|
||||
if ((x != 0x0413) || (x != 0x0290)) goto block_026E;
|
||||
|
||||
block_024F:
|
||||
if (newtype != 0x03A6) goto block_0266;
|
||||
|
||||
block_025B:
|
||||
newtype = 0x0413;
|
||||
goto block_026E;
|
||||
|
||||
block_0266:
|
||||
newtype = 0x0290;
|
||||
|
||||
block_026E:
|
||||
return;
|
||||
|
||||
x = Item.getShape(item);
|
||||
if ((x == 0x0413) || (x != 0x0290)) {
|
||||
if (newtype == 0x03A6) {
|
||||
newtype = 0x0413;
|
||||
return;
|
||||
}
|
||||
else {
|
||||
newtype = 0x0290;
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,37 +6,22 @@ function bridge_slot_22() /* entry=373 class_id=0x0A03 slot=0x22 */
|
|||
item, /* [BP-02h] type=0x24 */
|
||||
x; /* [BP-04h] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x021B, *(arg_06));
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x42 */
|
||||
/* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
|
||||
|
||||
block_02EA:
|
||||
if condition goto block_0334;
|
||||
|
||||
block_02ED:
|
||||
if (Item.getFrame(item) != 0) goto block_0330;
|
||||
|
||||
block_02FF:
|
||||
x = Item.pop(item);
|
||||
if (x != start) goto block_0330;
|
||||
|
||||
block_0318:
|
||||
/* word_to_dword */
|
||||
/* pop_result */
|
||||
goto block_0340;
|
||||
|
||||
block_0330:
|
||||
set_info(0x021B, *(arg_06));
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x42 */
|
||||
/* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
|
||||
while (!condition) {
|
||||
if (Item.getFrame(item) == 0) {
|
||||
x = Item.getQLo(item);
|
||||
if (x == start) {
|
||||
/* word_to_dword */
|
||||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
}
|
||||
/* loopnext */
|
||||
goto block_02EA;
|
||||
|
||||
block_0334:
|
||||
/* word_to_dword */
|
||||
/* pop_result */
|
||||
goto block_0340;
|
||||
|
||||
block_0340:
|
||||
return;
|
||||
|
||||
}
|
||||
/* word_to_dword */
|
||||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,11 +18,11 @@ function bridge_slot_23() /* entry=373 class_id=0x0A03 slot=0x23 */
|
|||
if condition goto block_03F2;
|
||||
|
||||
block_03AF:
|
||||
x = Item.pop(item);
|
||||
x = Item.getQLo(item);
|
||||
if (x != start) goto block_03EE;
|
||||
|
||||
block_03C8:
|
||||
x = Item.getCX(item);
|
||||
x = Item.getQHi(item);
|
||||
if (x != 0) goto block_03EE;
|
||||
|
||||
block_03E1:
|
||||
|
|
@ -48,11 +48,11 @@ function bridge_slot_23() /* entry=373 class_id=0x0A03 slot=0x23 */
|
|||
if (Item.getFrame(item) != 1) goto block_0473;
|
||||
|
||||
block_0434:
|
||||
x = Item.pop(item);
|
||||
x = Item.getQLo(item);
|
||||
if (x != start) goto block_0473;
|
||||
|
||||
block_044D:
|
||||
x = Item.getCX(item);
|
||||
x = Item.getQHi(item);
|
||||
if (x != 0) goto block_0473;
|
||||
|
||||
block_0466:
|
||||
|
|
@ -77,7 +77,7 @@ function bridge_slot_23() /* entry=373 class_id=0x0A03 slot=0x23 */
|
|||
if condition goto block_04DC;
|
||||
|
||||
block_04A7:
|
||||
x = Item.pop(item);
|
||||
x = Item.getQLo(item);
|
||||
if (x != end) goto block_04D8;
|
||||
|
||||
block_04C0:
|
||||
|
|
@ -101,7 +101,7 @@ function bridge_slot_23() /* entry=373 class_id=0x0A03 slot=0x23 */
|
|||
if (Item.getFrame(arg_06) != 1) goto block_0544;
|
||||
|
||||
block_0513:
|
||||
x = Item.pop(item);
|
||||
x = Item.getQLo(item);
|
||||
if (x != end) goto block_0544;
|
||||
|
||||
block_052C:
|
||||
|
|
|
|||
|
|
@ -21,11 +21,11 @@ function bridge_slot_24() /* entry=373 class_id=0x0A03 slot=0x24 */
|
|||
if condition goto block_05FC;
|
||||
|
||||
block_05CB:
|
||||
x = Item.pop(item);
|
||||
x = Item.getQLo(item);
|
||||
if (x != start) goto block_05F8;
|
||||
|
||||
block_05E4:
|
||||
bridgemax = Item.getCX(item);
|
||||
bridgemax = Item.getQHi(item);
|
||||
goto block_05FC;
|
||||
|
||||
block_05F8:
|
||||
|
|
@ -60,7 +60,7 @@ function bridge_slot_24() /* entry=373 class_id=0x0A03 slot=0x24 */
|
|||
if condition goto block_0699;
|
||||
|
||||
block_065C:
|
||||
x = Item.pop(item);
|
||||
x = Item.getQLo(item);
|
||||
if (x != y) goto block_0695;
|
||||
|
||||
block_0675:
|
||||
|
|
@ -91,7 +91,7 @@ function bridge_slot_24() /* entry=373 class_id=0x0A03 slot=0x24 */
|
|||
foreach_list item -> block_0750;
|
||||
|
||||
block_06DD:
|
||||
if (Intrinsic002C(item) != 1) goto block_074A;
|
||||
if (Item.inFastArea(item) != 1) goto block_074A;
|
||||
|
||||
block_06EF:
|
||||
class_0A03_slot_21(0x03A6, item);
|
||||
|
|
@ -107,7 +107,7 @@ function bridge_slot_24() /* entry=373 class_id=0x0A03 slot=0x24 */
|
|||
foreach_list item -> block_07AB;
|
||||
|
||||
block_075E:
|
||||
if (Intrinsic002C(item) != 1) goto block_07A5;
|
||||
if (Item.inFastArea(item) != 1) goto block_07A5;
|
||||
|
||||
block_0770:
|
||||
class_0A03_slot_21(0x03A6, item);
|
||||
|
|
|
|||
|
|
@ -23,11 +23,11 @@ function bridge_slot_25() /* entry=373 class_id=0x0A03 slot=0x25 */
|
|||
if condition goto block_0877;
|
||||
|
||||
block_0846:
|
||||
x = Item.pop(item);
|
||||
x = Item.getQLo(item);
|
||||
if (x != start) goto block_0873;
|
||||
|
||||
block_085F:
|
||||
bridgemax = Item.getCX(item);
|
||||
bridgemax = Item.getQHi(item);
|
||||
goto block_0877;
|
||||
|
||||
block_0873:
|
||||
|
|
@ -49,11 +49,11 @@ function bridge_slot_25() /* entry=373 class_id=0x0A03 slot=0x25 */
|
|||
if (Item.getFrame(arg_06) != 1) goto block_08E6;
|
||||
|
||||
block_08B9:
|
||||
x = Item.pop(item);
|
||||
x = Item.getQLo(item);
|
||||
if (x != start) goto block_08E6;
|
||||
|
||||
block_08D2:
|
||||
bridgemax = Item.getCX(item);
|
||||
bridgemax = Item.getQHi(item);
|
||||
goto block_08EA;
|
||||
|
||||
block_08E6:
|
||||
|
|
@ -89,7 +89,7 @@ function bridge_slot_25() /* entry=373 class_id=0x0A03 slot=0x25 */
|
|||
if condition goto block_0991;
|
||||
|
||||
block_0954:
|
||||
x = Item.pop(item);
|
||||
x = Item.getQLo(item);
|
||||
if (x != y) goto block_098D;
|
||||
|
||||
block_096D:
|
||||
|
|
@ -119,7 +119,7 @@ function bridge_slot_25() /* entry=373 class_id=0x0A03 slot=0x25 */
|
|||
if (Item.getFrame(arg_06) != 1) goto block_0A0C;
|
||||
|
||||
block_09D3:
|
||||
x = Item.pop(item);
|
||||
x = Item.getQLo(item);
|
||||
if (x != y) goto block_0A0C;
|
||||
|
||||
block_09EC:
|
||||
|
|
@ -150,7 +150,7 @@ function bridge_slot_25() /* entry=373 class_id=0x0A03 slot=0x25 */
|
|||
foreach_list item -> block_0B63;
|
||||
|
||||
block_0A54:
|
||||
if (Intrinsic002C(item) != 1) goto block_0AB6;
|
||||
if (Item.inFastArea(item) != 1) goto block_0AB6;
|
||||
|
||||
block_0A66:
|
||||
class_0A03_slot_21(0x0336, item);
|
||||
|
|
@ -165,7 +165,7 @@ function bridge_slot_25() /* entry=373 class_id=0x0A03 slot=0x25 */
|
|||
if condition goto block_0B5B;
|
||||
|
||||
block_0AC7:
|
||||
if ((Intrinsic003C(item2) != 6) && (Item.isNpc(item2) != 0)) goto block_0B4C;
|
||||
if ((Item.getItemFamily(item2) != 6) && (Actor.isNPC(item2) != 0)) goto block_0B4C;
|
||||
|
||||
block_0AE9:
|
||||
/* loopscr value_u8=0x24 */
|
||||
|
|
@ -201,7 +201,7 @@ function bridge_slot_25() /* entry=373 class_id=0x0A03 slot=0x25 */
|
|||
foreach_list item -> block_0C5A;
|
||||
|
||||
block_0B71:
|
||||
if (Intrinsic002C(item) != 1) goto block_0BAD;
|
||||
if (Item.inFastArea(item) != 1) goto block_0BAD;
|
||||
|
||||
block_0B83:
|
||||
class_0A03_slot_21(0x0336, item);
|
||||
|
|
@ -214,7 +214,7 @@ function bridge_slot_25() /* entry=373 class_id=0x0A03 slot=0x25 */
|
|||
if condition goto block_0C52;
|
||||
|
||||
block_0BBE:
|
||||
if ((Intrinsic003C(item2) != 6) && (Item.isNpc(item2) != 0)) goto block_0C43;
|
||||
if ((Item.getItemFamily(item2) != 6) && (Actor.isNPC(item2) != 0)) goto block_0C43;
|
||||
|
||||
block_0BE0:
|
||||
/* loopscr value_u8=0x24 */
|
||||
|
|
|
|||
|
|
@ -34,11 +34,11 @@ function bridge_slot_26() /* entry=373 class_id=0x0A03 slot=0x26 */
|
|||
if condition goto block_0D53;
|
||||
|
||||
block_0D22:
|
||||
x = Item.pop(item);
|
||||
x = Item.getQLo(item);
|
||||
if (x != start) goto block_0D4F;
|
||||
|
||||
block_0D3B:
|
||||
bridgemax = Item.getCX(item);
|
||||
bridgemax = Item.getQHi(item);
|
||||
goto block_0D53;
|
||||
|
||||
block_0D4F:
|
||||
|
|
@ -74,14 +74,14 @@ function bridge_slot_26() /* entry=373 class_id=0x0A03 slot=0x26 */
|
|||
if condition goto block_0E74;
|
||||
|
||||
block_0DBA:
|
||||
x = Item.pop(item);
|
||||
x = Item.getQLo(item);
|
||||
if (x != y) goto block_0E70;
|
||||
|
||||
block_0DD3:
|
||||
if (x != (start + 1)) goto block_0E50;
|
||||
|
||||
block_0DE1:
|
||||
a = Item.getCX(item);
|
||||
a = Item.getQHi(item);
|
||||
if (a < 0) goto block_0E05;
|
||||
|
||||
block_0DFA:
|
||||
|
|
@ -147,7 +147,7 @@ function bridge_slot_26() /* entry=373 class_id=0x0A03 slot=0x26 */
|
|||
foreach_list item -> block_0F32;
|
||||
|
||||
block_0F10:
|
||||
if (Intrinsic002C(item) != 0) goto block_0F2C;
|
||||
if (Item.inFastArea(item) != 0) goto block_0F2C;
|
||||
|
||||
block_0F22:
|
||||
x = (1 + x);
|
||||
|
|
@ -185,52 +185,30 @@ function bridge_slot_26() /* entry=373 class_id=0x0A03 slot=0x26 */
|
|||
foreach_list item -> block_10E1;
|
||||
|
||||
block_0FB8:
|
||||
x = Item.getFrame(item);
|
||||
if (x != 1) goto block_101F;
|
||||
|
||||
block_0FD1:
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loop current_var=0xE3 string_bytes=0x1 loop_type=0x6 */
|
||||
|
||||
block_0FDF:
|
||||
if condition goto block_101A;
|
||||
|
||||
block_0FE2:
|
||||
n = item2;
|
||||
class_0A0C_slot_20(pid, 8);
|
||||
spawn class_0A11_slot_2D(retval, item, n);
|
||||
suspend;
|
||||
/* loopnext */
|
||||
goto block_0FDF;
|
||||
|
||||
block_101A:
|
||||
goto block_10DB;
|
||||
|
||||
block_101F:
|
||||
if (x != 2) goto block_10DB;
|
||||
|
||||
block_102A:
|
||||
class_0A03_slot_21(0x0336, item);
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loop current_var=0xE3 string_bytes=0x1 loop_type=0x6 */
|
||||
|
||||
block_1062:
|
||||
if condition goto block_1074;
|
||||
|
||||
block_1065:
|
||||
/* loopnext */
|
||||
goto block_1062;
|
||||
|
||||
block_1074:
|
||||
spawn class_0A0C_slot_32(pid, delay, 0x00000000);
|
||||
suspend;
|
||||
if (Item.getFrame(item) != 1) goto block_10D8;
|
||||
|
||||
block_10AE:
|
||||
class_0A03_slot_21(0x03A6, item);
|
||||
|
||||
block_10D8:
|
||||
goto block_10DB;
|
||||
if (x == 1) {
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loop current_var=0xE3 string_bytes=0x1 loop_type=0x6 */
|
||||
while (!condition) {
|
||||
n = item2;
|
||||
class_0A0C_slot_20(pid, 8);
|
||||
spawn class_0A11_slot_2D(retval, item, n);
|
||||
suspend;
|
||||
/* loopnext */
|
||||
}
|
||||
}
|
||||
else if (x == 2) {
|
||||
class_0A03_slot_21(0x0336, item);
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loop current_var=0xE3 string_bytes=0x1 loop_type=0x6 */
|
||||
while (!condition) {
|
||||
/* loopnext */
|
||||
}
|
||||
spawn class_0A0C_slot_32(pid, delay, 0x00000000);
|
||||
suspend;
|
||||
if (Item.getFrame(item) == 1) {
|
||||
class_0A03_slot_21(0x03A6, item);
|
||||
}
|
||||
}
|
||||
|
||||
block_10DB:
|
||||
goto block_0FB3;
|
||||
|
|
@ -246,7 +224,7 @@ function bridge_slot_26() /* entry=373 class_id=0x0A03 slot=0x26 */
|
|||
foreach_list item -> block_113D;
|
||||
|
||||
block_1118:
|
||||
if (Intrinsic002C(item) != 1) goto block_1137;
|
||||
if (Item.inFastArea(item) != 1) goto block_1137;
|
||||
|
||||
block_112A:
|
||||
|
||||
|
|
@ -262,13 +240,13 @@ function bridge_slot_26() /* entry=373 class_id=0x0A03 slot=0x26 */
|
|||
foreach_list item -> block_12F3;
|
||||
|
||||
block_1153:
|
||||
if (Intrinsic002C(item) != 0) goto block_116B;
|
||||
if (Item.inFastArea(item) != 0) goto block_116B;
|
||||
|
||||
block_1165:
|
||||
goto block_12F6;
|
||||
|
||||
block_116B:
|
||||
x = Intrinsic0016(item);
|
||||
x = Item.getShape(item);
|
||||
if ((x != 0x0336) || (x != 0x0290)) goto block_1192;
|
||||
|
||||
block_118C:
|
||||
|
|
|
|||
|
|
@ -6,34 +6,18 @@ function brokencw_gotHit() /* entry=43 class_id=0x00D1 slot=0x06 */
|
|||
vel, /* [BP+0Ch] type=0x69 */
|
||||
item; /* [BP-02h] type=0x24 */
|
||||
|
||||
entry:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loop current_var=0xFE string_bytes=0x1 loop_type=0x2 */
|
||||
|
||||
block_0100:
|
||||
if condition goto block_0188;
|
||||
|
||||
block_0103:
|
||||
if (Intrinsic0016(item) != 0x00D1) goto block_012C;
|
||||
|
||||
block_011C:
|
||||
goto block_0184;
|
||||
|
||||
block_012C:
|
||||
if ((Intrinsic003C(item) != 6) && (Item.isNpc(item) != 0)) goto block_0184;
|
||||
|
||||
block_0151:
|
||||
spawn class_0A1E_slot_28(pid, 1, 0, item);
|
||||
suspend;
|
||||
goto block_0184;
|
||||
|
||||
block_0184:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loop current_var=0xFE string_bytes=0x1 loop_type=0x2 */
|
||||
while (!condition) {
|
||||
if (Item.getShape(item) == 0x00D1) {
|
||||
}
|
||||
else if ((Item.getItemFamily(item) == 6) && (Actor.isNPC(item) != 0)) {
|
||||
spawn class_0A1E_slot_28(pid, 1, 0, item);
|
||||
suspend;
|
||||
}
|
||||
/* loopnext */
|
||||
goto block_0100;
|
||||
|
||||
block_0188:
|
||||
return;
|
||||
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,99 +5,58 @@ function bro_boot_equip() /* entry=172 class_id=0x0316 slot=0x0A */
|
|||
event, /* [BP+0Ah] type=0x69 */
|
||||
counter; /* [BP-02h] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
if (Item.getFrame(arg_06) != 10) goto block_0106;
|
||||
|
||||
block_0100:
|
||||
goto block_0380;
|
||||
|
||||
block_0106:
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
if (Item.getFrame(arg_06) == 10) {
|
||||
return;
|
||||
}
|
||||
else {
|
||||
class_0A0C_slot_33(0x021B, *(arg_06));
|
||||
/* global_address global_id=0x3C */
|
||||
/* global_address global_id=0x3C */
|
||||
|
||||
block_0140:
|
||||
if (Item.getFrame(arg_06) != 9) goto block_0192;
|
||||
|
||||
block_0152:
|
||||
while (Item.getFrame(arg_06) == 9) {
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
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] != 2) goto block_01F2;
|
||||
|
||||
block_01C2:
|
||||
/* str_to_ptr */
|
||||
/* free_stack_string value_u8=0x4 target=[SP+04h] */
|
||||
suspend;
|
||||
goto block_0315;
|
||||
|
||||
block_01F2:
|
||||
if (global[0x001F] != 3) goto block_022C;
|
||||
|
||||
block_01FC:
|
||||
/* str_to_ptr */
|
||||
/* free_stack_string value_u8=0x4 target=[SP+04h] */
|
||||
suspend;
|
||||
goto block_0315;
|
||||
|
||||
block_022C:
|
||||
if (global[0x001F] != 4) goto block_0266;
|
||||
|
||||
block_0236:
|
||||
/* str_to_ptr */
|
||||
/* free_stack_string value_u8=0x4 target=[SP+04h] */
|
||||
suspend;
|
||||
goto block_0315;
|
||||
|
||||
block_0266:
|
||||
if (global[0x001F] != 5) goto block_02A0;
|
||||
|
||||
block_0270:
|
||||
/* str_to_ptr */
|
||||
/* free_stack_string value_u8=0x4 target=[SP+04h] */
|
||||
suspend;
|
||||
goto block_0315;
|
||||
|
||||
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_0315;
|
||||
|
||||
block_02DA:
|
||||
if (global[0x001F] != 10) goto block_0315;
|
||||
|
||||
block_02E4:
|
||||
/* str_to_ptr */
|
||||
/* free_stack_string value_u8=0x4 target=[SP+04h] */
|
||||
suspend;
|
||||
goto block_0315;
|
||||
|
||||
block_0315:
|
||||
if (global[0x001F] == 2) {
|
||||
/* str_to_ptr */
|
||||
/* free_stack_string value_u8=0x4 target=[SP+04h] */
|
||||
suspend;
|
||||
}
|
||||
else if (global[0x001F] == 3) {
|
||||
/* str_to_ptr */
|
||||
/* free_stack_string value_u8=0x4 target=[SP+04h] */
|
||||
suspend;
|
||||
}
|
||||
else if (global[0x001F] == 4) {
|
||||
/* str_to_ptr */
|
||||
/* free_stack_string value_u8=0x4 target=[SP+04h] */
|
||||
suspend;
|
||||
}
|
||||
else if (global[0x001F] == 5) {
|
||||
/* str_to_ptr */
|
||||
/* free_stack_string value_u8=0x4 target=[SP+04h] */
|
||||
suspend;
|
||||
}
|
||||
else if (global[0x001F] == 9) {
|
||||
/* str_to_ptr */
|
||||
/* free_stack_string value_u8=0x4 target=[SP+04h] */
|
||||
suspend;
|
||||
}
|
||||
else if (global[0x001F] == 10) {
|
||||
/* str_to_ptr */
|
||||
/* free_stack_string value_u8=0x4 target=[SP+04h] */
|
||||
suspend;
|
||||
}
|
||||
counter = 0;
|
||||
|
||||
block_031C:
|
||||
if (counter <= 9) goto block_0367;
|
||||
|
||||
block_0324:
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
counter = (1 + counter);
|
||||
goto block_031C;
|
||||
|
||||
block_0367:
|
||||
while (counter > 9) {
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
counter = (1 + counter);
|
||||
}
|
||||
spawn class_0316_enterFastArea(arg_06);
|
||||
|
||||
block_0380:
|
||||
return;
|
||||
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ function bro_boot_enterFastArea() /* entry=172 class_id=0x0316 slot=0x0F */
|
|||
if condition goto block_0442;
|
||||
|
||||
block_0413:
|
||||
if (Item.pop(item) != Item.pop(arg_06)) goto block_043E;
|
||||
if (Item.getQLo(item) != Item.getQLo(arg_06)) goto block_043E;
|
||||
|
||||
block_042F:
|
||||
class_0A1E_slot_24(0x1000, item);
|
||||
|
|
@ -44,7 +44,7 @@ function bro_boot_enterFastArea() /* entry=172 class_id=0x0316 slot=0x0F */
|
|||
if condition goto block_04A4;
|
||||
|
||||
block_0475:
|
||||
if (Item.pop(item) != Item.pop(arg_06)) goto block_04A0;
|
||||
if (Item.getQLo(item) != Item.getQLo(arg_06)) goto block_04A0;
|
||||
|
||||
block_0491:
|
||||
class_0A1E_slot_23(0x1000, item);
|
||||
|
|
|
|||
|
|
@ -1,9 +1,7 @@
|
|||
function bro_boot_leaveFastArea() /* entry=172 class_id=0x0316 slot=0x10 */
|
||||
{
|
||||
entry:
|
||||
set_info(0x021C, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_33(0x021B, *(arg_06));
|
||||
return;
|
||||
|
||||
set_info(0x021C, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_33(0x021B, *(arg_06));
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ function bubble_enterFastArea() /* entry=109 class_id=0x01D6 slot=0x0F */
|
|||
class_0A0C_slot_20(pid, 120);
|
||||
spawn class_0A0C_slot_32((retval + 0x00DC), 0x00000000);
|
||||
suspend;
|
||||
if Intrinsic0007(arg_06) goto block_024B;
|
||||
if Item.isOnScreen(arg_06) goto block_024B;
|
||||
|
||||
block_0139:
|
||||
counter = 0;
|
||||
|
|
|
|||
|
|
@ -1,9 +1,7 @@
|
|||
function bubble_leaveFastArea() /* entry=109 class_id=0x01D6 slot=0x10 */
|
||||
{
|
||||
entry:
|
||||
set_info(0x021C, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_33(0x021B, *(arg_06));
|
||||
return;
|
||||
|
||||
set_info(0x021C, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_33(0x021B, *(arg_06));
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,54 +1,25 @@
|
|||
function camera_hatch() /* entry=345 class_id=0x0905 slot=0x07 */
|
||||
{
|
||||
entry:
|
||||
set_info(0x0210, *(arg_06));
|
||||
process_exclude();
|
||||
if ((Intrinsic003F(arg_06) & 127) != 1) goto block_012F;
|
||||
|
||||
block_00FD:
|
||||
set_info(0x0210, *(arg_06));
|
||||
process_exclude();
|
||||
if ((Egg.getEggId(arg_06) & 127) == 1) {
|
||||
/* global_address global_id=0x3C */
|
||||
goto block_0269;
|
||||
|
||||
block_012F:
|
||||
if ((Intrinsic003F(arg_06) & 127) != 2) goto block_016F;
|
||||
|
||||
block_0141:
|
||||
}
|
||||
else if ((Egg.getEggId(arg_06) & 127) == 2) {
|
||||
/* global_address global_id=0x3C */
|
||||
goto block_0269;
|
||||
|
||||
block_016F:
|
||||
if ((Intrinsic003F(arg_06) & 127) != 3) goto block_01B3;
|
||||
|
||||
block_0181:
|
||||
}
|
||||
else if ((Egg.getEggId(arg_06) & 127) == 3) {
|
||||
/* global_address global_id=0x3C */
|
||||
goto block_0269;
|
||||
|
||||
block_01B3:
|
||||
if ((Intrinsic003F(arg_06) & 127) != 4) goto block_01F3;
|
||||
|
||||
block_01C5:
|
||||
}
|
||||
else if ((Egg.getEggId(arg_06) & 127) == 4) {
|
||||
/* global_address global_id=0x3C */
|
||||
goto block_0269;
|
||||
|
||||
block_01F3:
|
||||
if ((Intrinsic003F(arg_06) & 127) != 5) goto block_0242;
|
||||
|
||||
block_0205:
|
||||
}
|
||||
else if ((Egg.getEggId(arg_06) & 127) == 5) {
|
||||
/* global_address global_id=0x3C */
|
||||
goto block_028B;
|
||||
|
||||
block_023F:
|
||||
goto block_0269;
|
||||
|
||||
block_0242:
|
||||
/* global_address global_id=0x3C */
|
||||
|
||||
block_0269:
|
||||
if (!(Intrinsic003F(arg_06) & 0x0080)) goto block_028B;
|
||||
|
||||
block_0280:
|
||||
|
||||
block_028B:
|
||||
return;
|
||||
|
||||
}
|
||||
else {
|
||||
/* global_address global_id=0x3C */
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,17 +1,12 @@
|
|||
function camera_unhatch() /* entry=345 class_id=0x0905 slot=0x15 */
|
||||
{
|
||||
entry:
|
||||
set_info(0x0239, *(arg_06));
|
||||
process_exclude();
|
||||
if ((Intrinsic003F(arg_06) & 127) != 5) goto block_0300;
|
||||
|
||||
block_02C7:
|
||||
set_info(0x0239, *(arg_06));
|
||||
process_exclude();
|
||||
if ((Egg.getEggId(arg_06) & 127) == 5) {
|
||||
/* global_address global_id=0x3C */
|
||||
/* global_address global_id=0x3C */
|
||||
/* global_address global_id=0x3C */
|
||||
goto block_0300;
|
||||
|
||||
block_0300:
|
||||
return;
|
||||
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,20 +5,15 @@ function cameraco_gotHit() /* entry=88 class_id=0x01B6 slot=0x06 */
|
|||
ref, /* [BP+0Ah] type=0x69 */
|
||||
vel; /* [BP+0Ch] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_2B(vel, ref);
|
||||
if (retval && (Item.getFrame(arg_06) != 5)) goto block_0624;
|
||||
|
||||
block_05BA:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_2B(vel, ref);
|
||||
if (retval && (Item.getFrame(arg_06) == 5)) {
|
||||
class_0A0C_slot_33(0x021B, *(arg_06));
|
||||
spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
|
||||
suspend;
|
||||
spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
|
||||
suspend;
|
||||
|
||||
block_0624:
|
||||
return;
|
||||
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,15 +16,15 @@ function cameraco_enterFastArea() /* entry=88 class_id=0x01B6 slot=0x0F */
|
|||
entry:
|
||||
set_info(0x021B, *(arg_06));
|
||||
process_exclude();
|
||||
delay = ((5 - Intrinsic0029()) * 15);
|
||||
iSeeYou = (5 - (Intrinsic0029() * 15));
|
||||
delay = ((5 - Game.getDifficultyLevel()) * 15);
|
||||
iSeeYou = (5 - (Game.getDifficultyLevel() * 15));
|
||||
if (Item.getFrame(arg_06) != 5) goto block_0126;
|
||||
|
||||
block_0120:
|
||||
goto block_04AD;
|
||||
|
||||
block_0126:
|
||||
if (!Intrinsic0007(arg_06)) goto block_0162;
|
||||
if (!Item.isOnScreen(arg_06)) goto block_0162;
|
||||
|
||||
block_0139:
|
||||
spawn class_0A0C_slot_32(pid, delay, 0x00000000);
|
||||
|
|
@ -40,7 +40,7 @@ function cameraco_enterFastArea() /* entry=88 class_id=0x01B6 slot=0x0F */
|
|||
range = 0;
|
||||
|
||||
block_0184:
|
||||
if (!Intrinsic0007(arg_06)) goto block_01C0;
|
||||
if (!Item.isOnScreen(arg_06)) goto block_01C0;
|
||||
|
||||
block_0197:
|
||||
spawn class_0A0C_slot_32(pid, delay, 0x00000000);
|
||||
|
|
@ -50,22 +50,22 @@ function cameraco_enterFastArea() /* entry=88 class_id=0x01B6 slot=0x0F */
|
|||
block_01C0:
|
||||
spawn class_0A0C_slot_32(pid, delay, 0x00000000);
|
||||
suspend;
|
||||
if (Item.pop() != 0) goto block_0204;
|
||||
if (getTargetNPCNumMaybe() != 0) goto block_0204;
|
||||
|
||||
block_01F7:
|
||||
target = Item.pop();
|
||||
target = getTargetNPCNumMaybe();
|
||||
goto block_020B;
|
||||
|
||||
block_0204:
|
||||
target = 1;
|
||||
|
||||
block_020B:
|
||||
dir = Intrinsic0027(15, 0, 16, Item.legal_create(target), Intrinsic0013(target), Item.legal_create(arg_06), Intrinsic0013(arg_06));
|
||||
dir = getClosestDirectionInRange(15, 0, 16, Item.getY(target), Item.getX(target), Item.getY(arg_06), Item.getX(arg_06));
|
||||
fram = Item.getFrame(arg_06);
|
||||
if (((dir / 2) - 1) != fram) goto block_03B7;
|
||||
|
||||
block_0260:
|
||||
range = Item.getQHi(target, arg_06);
|
||||
range = Item.getRangeIfVisible(target, arg_06);
|
||||
if range goto block_0313;
|
||||
|
||||
block_0278:
|
||||
|
|
|
|||
|
|
@ -1,10 +1,8 @@
|
|||
function cameraco_leaveFastArea() /* entry=88 class_id=0x01B6 slot=0x10 */
|
||||
{
|
||||
entry:
|
||||
set_info(0x021C, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_33(0x021B, *(arg_06));
|
||||
/* bit_not */
|
||||
return;
|
||||
|
||||
set_info(0x021C, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_33(0x021B, *(arg_06));
|
||||
/* bit_not */
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,20 +5,15 @@ function cameraew_gotHit() /* entry=110 class_id=0x01D7 slot=0x06 */
|
|||
ref, /* [BP+0Ah] type=0x69 */
|
||||
vel; /* [BP+0Ch] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_2B(vel, ref);
|
||||
if (retval && (Item.getFrame(arg_06) != 9)) goto block_061E;
|
||||
|
||||
block_05B4:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_2B(vel, ref);
|
||||
if (retval && (Item.getFrame(arg_06) == 9)) {
|
||||
class_0A0C_slot_33(0x021B, *(arg_06));
|
||||
spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
|
||||
suspend;
|
||||
spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
|
||||
suspend;
|
||||
|
||||
block_061E:
|
||||
return;
|
||||
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,15 +16,15 @@ function cameraew_enterFastArea() /* entry=110 class_id=0x01D7 slot=0x0F */
|
|||
entry:
|
||||
set_info(0x021B, *(arg_06));
|
||||
process_exclude();
|
||||
delay = ((5 - Intrinsic0029()) * 5);
|
||||
iSeeYou = (5 - (Intrinsic0029() * 5));
|
||||
delay = ((5 - Game.getDifficultyLevel()) * 5);
|
||||
iSeeYou = (5 - (Game.getDifficultyLevel() * 5));
|
||||
if (Item.getFrame(arg_06) != 9) goto block_0126;
|
||||
|
||||
block_0120:
|
||||
goto block_04A7;
|
||||
|
||||
block_0126:
|
||||
if (!Intrinsic0007(arg_06)) goto block_0162;
|
||||
if (!Item.isOnScreen(arg_06)) goto block_0162;
|
||||
|
||||
block_0139:
|
||||
spawn class_0A0C_slot_32(pid, delay, 0x00000000);
|
||||
|
|
@ -40,7 +40,7 @@ function cameraew_enterFastArea() /* entry=110 class_id=0x01D7 slot=0x0F */
|
|||
range = 0;
|
||||
|
||||
block_0184:
|
||||
if (!Intrinsic0007(arg_06)) goto block_01C0;
|
||||
if (!Item.isOnScreen(arg_06)) goto block_01C0;
|
||||
|
||||
block_0197:
|
||||
spawn class_0A0C_slot_32(pid, delay, 0x00000000);
|
||||
|
|
@ -50,22 +50,22 @@ function cameraew_enterFastArea() /* entry=110 class_id=0x01D7 slot=0x0F */
|
|||
block_01C0:
|
||||
spawn class_0A0C_slot_32(pid, delay, 0x00000000);
|
||||
suspend;
|
||||
if (Item.pop() != 0) goto block_0204;
|
||||
if (getTargetNPCNumMaybe() != 0) goto block_0204;
|
||||
|
||||
block_01F7:
|
||||
target = Item.pop();
|
||||
target = getTargetNPCNumMaybe();
|
||||
goto block_020B;
|
||||
|
||||
block_0204:
|
||||
target = 1;
|
||||
|
||||
block_020B:
|
||||
dir = Intrinsic0027(15, 0, 16, Item.legal_create(target), Intrinsic0013(target), Item.legal_create(arg_06), Intrinsic0013(arg_06));
|
||||
dir = getClosestDirectionInRange(15, 0, 16, Item.getY(target), Item.getX(target), Item.getY(arg_06), Item.getX(arg_06));
|
||||
fram = Item.getFrame(arg_06);
|
||||
if ((8 - dir) != fram) goto block_03B4;
|
||||
|
||||
block_025D:
|
||||
range = Item.getQHi(target, arg_06);
|
||||
range = Item.getRangeIfVisible(target, arg_06);
|
||||
if range goto block_0310;
|
||||
|
||||
block_0275:
|
||||
|
|
|
|||
|
|
@ -1,10 +1,8 @@
|
|||
function cameraew_leaveFastArea() /* entry=110 class_id=0x01D7 slot=0x10 */
|
||||
{
|
||||
entry:
|
||||
set_info(0x021C, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_33(0x021B, *(arg_06));
|
||||
/* bit_not */
|
||||
return;
|
||||
|
||||
set_info(0x021C, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_33(0x021B, *(arg_06));
|
||||
/* bit_not */
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,20 +5,15 @@ function camerans_gotHit() /* entry=90 class_id=0x01B8 slot=0x06 */
|
|||
ref, /* [BP+0Ah] type=0x69 */
|
||||
vel; /* [BP+0Ch] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_2B(vel, ref);
|
||||
if (retval && (Item.getFrame(arg_06) != 9)) goto block_061E;
|
||||
|
||||
block_05B4:
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_2B(vel, ref);
|
||||
if (retval && (Item.getFrame(arg_06) == 9)) {
|
||||
class_0A0C_slot_33(0x021B, *(arg_06));
|
||||
spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
|
||||
suspend;
|
||||
spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
|
||||
suspend;
|
||||
|
||||
block_061E:
|
||||
return;
|
||||
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,15 +16,15 @@ function camerans_enterFastArea() /* entry=90 class_id=0x01B8 slot=0x0F */
|
|||
entry:
|
||||
set_info(0x021B, *(arg_06));
|
||||
process_exclude();
|
||||
delay = ((5 - Intrinsic0029()) * 5);
|
||||
iSeeYou = (5 - (Intrinsic0029() * 5));
|
||||
delay = ((5 - Game.getDifficultyLevel()) * 5);
|
||||
iSeeYou = (5 - (Game.getDifficultyLevel() * 5));
|
||||
if (Item.getFrame(arg_06) != 9) goto block_0126;
|
||||
|
||||
block_0120:
|
||||
goto block_04A7;
|
||||
|
||||
block_0126:
|
||||
if (!Intrinsic0007(arg_06)) goto block_0162;
|
||||
if (!Item.isOnScreen(arg_06)) goto block_0162;
|
||||
|
||||
block_0139:
|
||||
spawn class_0A0C_slot_32(pid, delay, 0x00000000);
|
||||
|
|
@ -40,7 +40,7 @@ function camerans_enterFastArea() /* entry=90 class_id=0x01B8 slot=0x0F */
|
|||
range = 0;
|
||||
|
||||
block_0184:
|
||||
if (!Intrinsic0007(arg_06)) goto block_01C0;
|
||||
if (!Item.isOnScreen(arg_06)) goto block_01C0;
|
||||
|
||||
block_0197:
|
||||
spawn class_0A0C_slot_32(pid, delay, 0x00000000);
|
||||
|
|
@ -50,22 +50,22 @@ function camerans_enterFastArea() /* entry=90 class_id=0x01B8 slot=0x0F */
|
|||
block_01C0:
|
||||
spawn class_0A0C_slot_32(pid, delay, 0x00000000);
|
||||
suspend;
|
||||
if (Item.pop() != 0) goto block_0204;
|
||||
if (getTargetNPCNumMaybe() != 0) goto block_0204;
|
||||
|
||||
block_01F7:
|
||||
target = Item.pop();
|
||||
target = getTargetNPCNumMaybe();
|
||||
goto block_020B;
|
||||
|
||||
block_0204:
|
||||
target = 1;
|
||||
|
||||
block_020B:
|
||||
dir = Intrinsic0027(13, 3, 16, Item.legal_create(target), Intrinsic0013(target), Item.legal_create(arg_06), Intrinsic0013(arg_06));
|
||||
dir = getClosestDirectionInRange(13, 3, 16, Item.getY(target), Item.getX(target), Item.getY(arg_06), Item.getX(arg_06));
|
||||
fram = Item.getFrame(arg_06);
|
||||
if ((12 - dir) != fram) goto block_03B4;
|
||||
|
||||
block_025D:
|
||||
range = Item.getQHi(target, arg_06);
|
||||
range = Item.getRangeIfVisible(target, arg_06);
|
||||
if range goto block_0310;
|
||||
|
||||
block_0275:
|
||||
|
|
|
|||
|
|
@ -1,10 +1,8 @@
|
|||
function camerans_leaveFastArea() /* entry=90 class_id=0x01B8 slot=0x10 */
|
||||
{
|
||||
entry:
|
||||
set_info(0x021C, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_33(0x021B, *(arg_06));
|
||||
/* bit_not */
|
||||
return;
|
||||
|
||||
set_info(0x021C, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_33(0x021B, *(arg_06));
|
||||
/* bit_not */
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue