Decompilation unk files generation
This commit is contained in:
parent
d323bb28fc
commit
746709f40c
503 changed files with 45757 additions and 31 deletions
43
USECODE/REGRET/CRUMORPH.unk
Normal file
43
USECODE/REGRET/CRUMORPH.unk
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
|
||||
/* synthesized appendix for CRUMORPH */
|
||||
/* sparse lines above preserve recovered debugger line numbers where available */
|
||||
|
||||
/* ===== slot 0x0A equip ===== */
|
||||
function crumorph_equip() /* entry=174 class_id=0x0318 slot=0x0A */
|
||||
{
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
/* loop_selector local_02 in nearby_items(family=6, origin=arg_06) */
|
||||
while (!condition) {
|
||||
if (!Item.isNpc(local_02)) {
|
||||
if (Intrinsic000D(local_02) == Item.getQLo(arg_06)) {
|
||||
if (Actor.isDead(local_02) == 0) {
|
||||
NPC.slot_2A(local_02);
|
||||
if (retval) {
|
||||
return;
|
||||
}
|
||||
local_04 = Actor.getCurrentActivityNo(local_02);
|
||||
spawn FREE.slot_3B(pid, 3, 0x00000000);
|
||||
suspend;
|
||||
spawn NPC.slot_28(pid, local_02);
|
||||
suspend;
|
||||
while (World.getControlledNPCNum() <= 1) {
|
||||
spawn FREE.slot_3B(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
if (Actor.isDead(local_02) == 0) {
|
||||
spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
|
||||
suspend;
|
||||
}
|
||||
else {
|
||||
spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
|
||||
suspend;
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
/* loopnext */
|
||||
}
|
||||
return;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue