Pseudocode decompialtion improvements and docs
This commit is contained in:
parent
f869a181a3
commit
589bfc31ef
1898 changed files with 60634 additions and 6597 deletions
|
|
@ -0,0 +1,20 @@
|
|||
function rfanbade_gotHit() /* entry=220 class_id=0x03CE slot=0x06 */
|
||||
{
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
if (Item.getFrame(arg_06)) {
|
||||
return;
|
||||
}
|
||||
else {
|
||||
FREE.slot_34(arg_0C, arg_0A);
|
||||
if (retval && (Item.getFrame(arg_06) <= 0)) {
|
||||
local_06 = Item.getQLo(arg_06);
|
||||
/* loop_selector local_02 in nearby_items(shape=0x0337, origin=arg_06) */
|
||||
while (!condition) {
|
||||
local_04 = Item.getQLo(local_02);
|
||||
/* loopnext */
|
||||
}
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
@ -0,0 +1,34 @@
|
|||
function rfanbade_equip() /* entry=220 class_id=0x03CE slot=0x0A */
|
||||
{
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
if ((Item.getFrame(arg_06) == 0) || (Item.getStatus(arg_06) & 0x1000)) {
|
||||
return;
|
||||
}
|
||||
else if (!arg_0A) {
|
||||
ITEM.slot_24(0x1000, arg_06);
|
||||
local_02 = Item.getFrame(arg_06);
|
||||
local_06 = 0;
|
||||
local_04 = 1;
|
||||
while (local_04 > 15) {
|
||||
local_02 = (1 + local_02);
|
||||
if (local_02 <= 5) {
|
||||
local_02 = 1;
|
||||
}
|
||||
local_06 = (local_06 + 2);
|
||||
spawn FREE.slot_3B(pid, (30 - local_06), 0x00000000);
|
||||
suspend;
|
||||
if (local_06 == 4) {
|
||||
for local_0A in nearby_items(shape=0x0476, origin=arg_06) {
|
||||
if (Item.getQLo(local_0A) == Item.getQLo(arg_06)) {
|
||||
FREE.slot_38(0x0337, local_0A);
|
||||
}
|
||||
/* loopnext */
|
||||
}
|
||||
}
|
||||
local_04 = (1 + local_04);
|
||||
}
|
||||
ITEM.slot_25(0x1000, arg_06);
|
||||
}
|
||||
return;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue