Decompilation unk files generation
This commit is contained in:
parent
d323bb28fc
commit
746709f40c
503 changed files with 45757 additions and 31 deletions
64
USECODE/REGRET/MORPH_5.unk
Normal file
64
USECODE/REGRET/MORPH_5.unk
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
|
||||
/* synthesized appendix for MORPH_5 */
|
||||
/* sparse lines above preserve recovered debugger line numbers where available */
|
||||
|
||||
/* ===== slot 0x01 use ===== */
|
||||
function morph_5_use() /* entry=394 class_id=0x0605 slot=0x01 */
|
||||
{
|
||||
set_info(0x0207, *(arg_06));
|
||||
process_exclude();
|
||||
/* free_local_string bp_offset=0xFE target=[BP-02h] */
|
||||
local_02 = "LMC SECURITY SYSTEM^^ ^You have now activated the Morphing Security System.^ ^Have a nice day!";
|
||||
spawn TEXTFILE.slot_20(pid, local_02, arg_06);
|
||||
/* free_stack_string value_u8=0x0 target=[SP+00h] */
|
||||
suspend;
|
||||
spawn MORPH_5.equip(1, arg_06);
|
||||
/* free_local_string bp_offset=0xFE target=[BP-02h] */
|
||||
return;
|
||||
}
|
||||
|
||||
/* ===== slot 0x06 gotHit ===== */
|
||||
function morph_5_gotHit() /* entry=394 class_id=0x0605 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_5.equip(1, arg_06);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
/* ===== slot 0x0A equip ===== */
|
||||
function morph_5_equip() /* entry=394 class_id=0x0605 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