Pseudocode decompialtion improvements and docs
This commit is contained in:
parent
f869a181a3
commit
589bfc31ef
1898 changed files with 60634 additions and 6597 deletions
|
|
@ -2,14 +2,10 @@ function rfanew_gotHit() /* entry=17 class_id=0x005E slot=0x06 */
|
|||
{
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A1D_slot_34(arg_0C, arg_0A);
|
||||
FREE.slot_34(arg_0C, arg_0A);
|
||||
if (!retval) {
|
||||
local_06 = Item.getQLo(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 */
|
||||
/* loop_selector local_02 in nearby_items(shape=0x0337, origin=arg_06) */
|
||||
while (!condition) {
|
||||
local_04 = Item.getQLo(local_02);
|
||||
/* loopnext */
|
||||
|
|
|
|||
|
|
@ -6,11 +6,11 @@ function rfanew_equip() /* entry=17 class_id=0x005E slot=0x0A */
|
|||
return;
|
||||
}
|
||||
else if (arg_0A == 0) {
|
||||
class_0A0C_slot_24(0x1000, arg_06);
|
||||
ITEM.slot_24(0x1000, arg_06);
|
||||
local_02 = Item.getFrame(arg_06);
|
||||
local_02 = (1 + local_02);
|
||||
local_06 = 1;
|
||||
spawn class_0A1D_slot_3B(pid, local_06, 0x00000000);
|
||||
spawn FREE.slot_3B(pid, local_06, 0x00000000);
|
||||
suspend;
|
||||
local_04 = 1;
|
||||
while (local_04 > 15) {
|
||||
|
|
@ -19,17 +19,12 @@ function rfanew_equip() /* entry=17 class_id=0x005E slot=0x0A */
|
|||
local_02 = 1;
|
||||
}
|
||||
local_06 = (local_06 + 1);
|
||||
spawn class_0A1D_slot_3B(pid, local_06, 0x00000000);
|
||||
spawn FREE.slot_3B(pid, local_06, 0x00000000);
|
||||
suspend;
|
||||
if (local_06 == 4) {
|
||||
/* 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=0x0337, origin=arg_06) {
|
||||
if (Item.getQLo(local_0A) == Item.getQLo(arg_06)) {
|
||||
spawn class_0A1D_slot_3A(pid, local_0A, 0x00000000);
|
||||
spawn FREE.slot_3A(pid, local_0A, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
/* loopnext */
|
||||
|
|
@ -37,7 +32,7 @@ function rfanew_equip() /* entry=17 class_id=0x005E slot=0x0A */
|
|||
}
|
||||
local_04 = (1 + local_04);
|
||||
}
|
||||
class_0A0C_slot_25(0x1000, arg_06);
|
||||
ITEM.slot_25(0x1000, arg_06);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue