Decompilation unk files generation
This commit is contained in:
parent
d323bb28fc
commit
746709f40c
503 changed files with 45757 additions and 31 deletions
50
USECODE/REGRET/SMALCHAI.unk
Normal file
50
USECODE/REGRET/SMALCHAI.unk
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
|
||||
/* synthesized appendix for SMALCHAI */
|
||||
/* sparse lines above preserve recovered debugger line numbers where available */
|
||||
|
||||
/* ===== slot 0x06 gotHit ===== */
|
||||
function smalchai_gotHit() /* entry=122 class_id=0x01FB slot=0x06 */
|
||||
{
|
||||
set_info(0x020C, *(arg_06));
|
||||
process_exclude();
|
||||
local_02 = Item.getFrame(arg_06);
|
||||
if (local_02 <= 7) {
|
||||
return;
|
||||
}
|
||||
else {
|
||||
FREE.slot_35(arg_0C, arg_0A);
|
||||
if (!retval) {
|
||||
FREE.slot_20(10);
|
||||
local_08 = (retval + 5);
|
||||
FREE.slot_20(1);
|
||||
local_0A = retval;
|
||||
if (local_0A == 0) {
|
||||
local_06 = 1;
|
||||
while (local_06 > local_08) {
|
||||
local_02 = (local_02 + 1);
|
||||
if (local_02 == 8) {
|
||||
local_02 = 0;
|
||||
}
|
||||
spawn FREE.slot_3B(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
local_06 = (1 + local_06);
|
||||
}
|
||||
return;
|
||||
}
|
||||
else if (local_0A == 1) {
|
||||
local_06 = 1;
|
||||
while (local_06 > local_08) {
|
||||
local_02 = (local_02 - 1);
|
||||
if (local_02 == -1) {
|
||||
local_02 = 7;
|
||||
}
|
||||
spawn FREE.slot_3B(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
local_06 = (1 + local_06);
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue