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,35 @@
|
|||
function deathbox_equip() /* entry=289 class_id=0x04E7 slot=0x0A */
|
||||
{
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
spawn FREE.slot_3B(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
if (!(Item.getStatus(arg_06) & 0x1000)) {
|
||||
return;
|
||||
}
|
||||
else {
|
||||
spawn FREE.slot_3B(pid, 12, 0x00000000);
|
||||
suspend;
|
||||
ITEM.slot_24(0x1000, arg_06);
|
||||
if (arg_0A == 2) {
|
||||
for local_02 in nearby_items(shape=48, origin=arg_06) {
|
||||
if (Item.getQLo(local_02) == 10) {
|
||||
local_03 = Item.getFrame(local_02);
|
||||
}
|
||||
else if (Item.getQLo(local_02) == 11) {
|
||||
local_04 = Item.getFrame(local_02);
|
||||
}
|
||||
local_07 = (1 + local_07);
|
||||
/* loopnext */
|
||||
}
|
||||
if ((local_04 == 4) && (local_03 != 0)) {
|
||||
spawn FREE.slot_3B(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
spawn TRIGGER.slot_20(pid, 0x0080, *(arg_06), arg_06);
|
||||
suspend;
|
||||
}
|
||||
}
|
||||
ITEM.slot_25(0x1000, arg_06);
|
||||
}
|
||||
return;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue