Pseudocode decompialtion improvements and docs
This commit is contained in:
parent
f869a181a3
commit
589bfc31ef
1898 changed files with 60634 additions and 6597 deletions
|
|
@ -3,22 +3,22 @@ function moveflor_equip() /* entry=42 class_id=0x00A4 slot=0x0A */
|
|||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
if (arg_0A == 1) {
|
||||
class_0A0C_slot_26(4, arg_06);
|
||||
ITEM.slot_26(4, arg_06);
|
||||
if (!retval) {
|
||||
return;
|
||||
}
|
||||
class_0A0C_slot_24(0x1000, arg_06);
|
||||
spawn class_00A4_slot_20(arg_06);
|
||||
ITEM.slot_24(0x1000, arg_06);
|
||||
spawn MOVEFLOR.slot_20(arg_06);
|
||||
return;
|
||||
}
|
||||
else if (arg_0A == 0) {
|
||||
class_0A0C_slot_26(0x1000, arg_06);
|
||||
ITEM.slot_26(0x1000, arg_06);
|
||||
if ((retval == 1) || (Item.getQHi(arg_06) != 0)) {
|
||||
return;
|
||||
}
|
||||
else {
|
||||
class_0A0C_slot_24(4, arg_06);
|
||||
spawn class_00A4_slot_21(arg_06);
|
||||
ITEM.slot_24(4, arg_06);
|
||||
spawn MOVEFLOR.slot_21(arg_06);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,22 +2,22 @@ function moveflor_enterFastArea() /* entry=42 class_id=0x00A4 slot=0x0F */
|
|||
{
|
||||
set_info(0x021B, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_26(0x0100, arg_06);
|
||||
ITEM.slot_26(0x0100, arg_06);
|
||||
if (retval) {
|
||||
return;
|
||||
}
|
||||
else {
|
||||
class_0A0C_slot_26(4, arg_06);
|
||||
ITEM.slot_26(4, arg_06);
|
||||
if (!retval) {
|
||||
class_0A0C_slot_24(0x1000, arg_06);
|
||||
spawn class_00A4_slot_21(arg_06);
|
||||
ITEM.slot_24(0x1000, arg_06);
|
||||
spawn MOVEFLOR.slot_21(arg_06);
|
||||
return;
|
||||
}
|
||||
else {
|
||||
class_0A0C_slot_26(0x1000, arg_06);
|
||||
ITEM.slot_26(0x1000, arg_06);
|
||||
if ((retval == 1) || (Item.getQHi(arg_06) != 0)) {
|
||||
class_0A0C_slot_24(4, arg_06);
|
||||
spawn class_00A4_slot_20(arg_06);
|
||||
ITEM.slot_24(4, arg_06);
|
||||
spawn MOVEFLOR.slot_20(arg_06);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
function moveflor_slot_20() /* entry=42 class_id=0x00A4 slot=0x20 */
|
||||
{
|
||||
set_info(1, *(arg_06));
|
||||
class_0A0C_slot_26(32, arg_06);
|
||||
ITEM.slot_26(32, arg_06);
|
||||
local_0B = retval;
|
||||
class_0A0C_slot_24(0x0100, arg_06);
|
||||
ITEM.slot_24(0x0100, arg_06);
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loop current_var=0xF6 string_bytes=0x1 loop_type=0x6 */
|
||||
while (!condition) {
|
||||
|
|
@ -55,19 +55,14 @@ function moveflor_slot_20() /* entry=42 class_id=0x00A4 slot=0x20 */
|
|||
}
|
||||
local_02 = (1 + local_02);
|
||||
}
|
||||
spawn class_0A1D_slot_3B(pid, 7, 0x00000000);
|
||||
spawn FREE.slot_3B(pid, 7, 0x00000000);
|
||||
suspend;
|
||||
local_04 = (1 + local_04);
|
||||
}
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
/* loopscr value_u8=0x40 */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xF6 string_bytes=0x6 loop_type=0x2 */
|
||||
while (!condition) {
|
||||
for local_0A in nearby_items(shape=0x043D, origin=arg_06) {
|
||||
/* loopnext */
|
||||
}
|
||||
class_0A0C_slot_25(0x1000, arg_06);
|
||||
class_0A0C_slot_25(0x0100, arg_06);
|
||||
ITEM.slot_25(0x1000, arg_06);
|
||||
ITEM.slot_25(0x0100, arg_06);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
function moveflor_slot_21() /* entry=42 class_id=0x00A4 slot=0x21 */
|
||||
{
|
||||
set_info(1, *(arg_06));
|
||||
class_0A0C_slot_26(32, arg_06);
|
||||
ITEM.slot_26(32, arg_06);
|
||||
local_01 = retval;
|
||||
local_0B = Item.getQHi(arg_06);
|
||||
class_0A0C_slot_24(0x0100, arg_06);
|
||||
ITEM.slot_24(0x0100, arg_06);
|
||||
local_05 = 1;
|
||||
while (local_05 > local_0B) {
|
||||
local_07 = 0;
|
||||
|
|
@ -34,7 +34,7 @@ function moveflor_slot_21() /* entry=42 class_id=0x00A4 slot=0x21 */
|
|||
local_0E = Item.getZ(local_0D);
|
||||
local_03 = (1 + local_03);
|
||||
}
|
||||
spawn class_0A1D_slot_3B(pid, 10, 0x00000000);
|
||||
spawn FREE.slot_3B(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
local_05 = (1 + local_05);
|
||||
}
|
||||
|
|
@ -52,7 +52,7 @@ function moveflor_slot_21() /* entry=42 class_id=0x00A4 slot=0x21 */
|
|||
local_0D = Item.getEtherealTop();
|
||||
local_03 = (1 + local_03);
|
||||
}
|
||||
class_0A0C_slot_25(0x0100, arg_06);
|
||||
class_0A0C_slot_25(4, arg_06);
|
||||
ITEM.slot_25(0x0100, arg_06);
|
||||
ITEM.slot_25(4, arg_06);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue