Decompilation unk files generation
This commit is contained in:
parent
d323bb28fc
commit
746709f40c
503 changed files with 45757 additions and 31 deletions
28
USECODE/REGRET/MEDIKIT.unk
Normal file
28
USECODE/REGRET/MEDIKIT.unk
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
|
||||
/* synthesized appendix for MEDIKIT */
|
||||
/* sparse lines above preserve recovered debugger line numbers where available */
|
||||
|
||||
/* ===== slot 0x01 use ===== */
|
||||
function medikit_use() /* entry=184 class_id=0x0351 slot=0x01 */
|
||||
{
|
||||
set_info(0x0207, *(arg_06));
|
||||
process_exclude();
|
||||
set_info(0x00F0, 0);
|
||||
/* global_address global_id=0x1E */
|
||||
if (Actor.getHp() < 0x0096) {
|
||||
spawn FREE.slot_21(pid, 0x01A7, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
/* global_address global_id=0x1E */
|
||||
if (!Actor.addHp(80)) {
|
||||
spawn FREE.slot_21(pid, 0x00DB, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
else {
|
||||
spawn FREE.slot_21(pid, 0x01A7, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
spawn FREE.slot_3B(pid, 30, 0x00000000);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue