Decompilation unk files generation
This commit is contained in:
parent
d323bb28fc
commit
746709f40c
503 changed files with 45757 additions and 31 deletions
41
USECODE/REGRET/CHEST_ON.unk
Normal file
41
USECODE/REGRET/CHEST_ON.unk
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
|
||||
/* synthesized appendix for CHEST_ON */
|
||||
/* sparse lines above preserve recovered debugger line numbers where available */
|
||||
|
||||
/* ===== slot 0x01 use ===== */
|
||||
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;
|
||||
}
|
||||
|
||||
/* ===== slot 0x06 gotHit ===== */
|
||||
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