Usecode pseudocode
This commit is contained in:
parent
f92d1504fa
commit
c12bb39437
1362 changed files with 71072 additions and 38056 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue