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,17 @@
|
|||
function chest_on_use() /* entry=316 class_id=0x054A slot=0x01 */
|
||||
{
|
||||
set_info(0x0207, *(arg_06));
|
||||
process_exclude();
|
||||
if (Item.getFrame(arg_06) <= 9) {
|
||||
return;
|
||||
}
|
||||
else {
|
||||
spawn FREE.slot_49(pid, *(arg_06), 0x00000000);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
ITEM.slot_24(0x1000, arg_06);
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
function chest_on_gotHit() /* entry=316 class_id=0x054A slot=0x06 */
|
||||
{
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
FREE.slot_35(arg_0C, arg_0A);
|
||||
if (retval) {
|
||||
return;
|
||||
}
|
||||
else if (Item.getFrame(arg_06) >= 10) {
|
||||
FREE.slot_35(arg_0C, arg_0A);
|
||||
if (!retval) {
|
||||
spawn ITEM.slot_2A(pid, 0, 0, arg_06);
|
||||
suspend;
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue