Decompilation unk files generation
This commit is contained in:
parent
d323bb28fc
commit
746709f40c
503 changed files with 45757 additions and 31 deletions
58
USECODE/REGRET/MORPH_3.unk
Normal file
58
USECODE/REGRET/MORPH_3.unk
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
|
||||
/* synthesized appendix for MORPH_3 */
|
||||
/* sparse lines above preserve recovered debugger line numbers where available */
|
||||
|
||||
/* ===== slot 0x01 use ===== */
|
||||
function morph_3_use() /* entry=392 class_id=0x0603 slot=0x01 */
|
||||
{
|
||||
set_info(0x0207, *(arg_06));
|
||||
process_exclude();
|
||||
spawn MORPH_3.equip(1, arg_06);
|
||||
return;
|
||||
}
|
||||
|
||||
/* ===== slot 0x06 gotHit ===== */
|
||||
function morph_3_gotHit() /* entry=392 class_id=0x0603 slot=0x06 */
|
||||
{
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
FREE.slot_35(arg_0C, arg_0A);
|
||||
if (retval) {
|
||||
return;
|
||||
}
|
||||
else if (Item.isEntirelyOnScreen(arg_06)) {
|
||||
return;
|
||||
}
|
||||
else {
|
||||
spawn MORPH_3.equip(1, arg_06);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
/* ===== slot 0x0A equip ===== */
|
||||
function morph_3_equip() /* entry=392 class_id=0x0603 slot=0x0A */
|
||||
{
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
local_02 = 1;
|
||||
while (local_02 > 16) {
|
||||
spawn FREE.slot_3B(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
local_02 = (1 + local_02);
|
||||
}
|
||||
suspend;
|
||||
ITEM.slot_24(2, local_04);
|
||||
if (arg_0A == 1) {
|
||||
return;
|
||||
}
|
||||
else if (arg_0A == 2) {
|
||||
return;
|
||||
}
|
||||
else if (arg_0A == 3) {
|
||||
return;
|
||||
}
|
||||
else if (arg_0A == 4) {
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue