48 lines
1.1 KiB
Text
48 lines
1.1 KiB
Text
|
|
/* synthesized appendix for TRANSFOR */
|
|
/* sparse lines above preserve recovered debugger line numbers where available */
|
|
|
|
/* ===== slot 0x06 gotHit ===== */
|
|
function transfor_gotHit() /* entry=102 class_id=0x01BF slot=0x06 */
|
|
{
|
|
set_info(0x020C, *(arg_06));
|
|
process_exclude();
|
|
local_02 = Item.getFrame(arg_06);
|
|
if (local_02 <= 0) {
|
|
return;
|
|
}
|
|
else {
|
|
FREE.slot_34(arg_0C, arg_0A);
|
|
local_04 = retval;
|
|
FREE.slot_34(arg_0C, arg_0A);
|
|
if (retval) {
|
|
return;
|
|
}
|
|
else if ((Item.getNpcNum(arg_06) + local_04) >= 100) {
|
|
FREE.slot_20(10);
|
|
if (retval <= 5) {
|
|
}
|
|
return;
|
|
}
|
|
else {
|
|
suspend;
|
|
/* loop_selector local_06 in selector_0x42(arg0=0x01C9, arg1=0x01C2, arg2=(5 * 32), origin=arg_06) */
|
|
while (!condition) {
|
|
/* loopnext */
|
|
}
|
|
if (Item.getMapNum(arg_06) == 0) {
|
|
spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
|
|
suspend;
|
|
}
|
|
}
|
|
}
|
|
return;
|
|
}
|
|
|
|
/* ===== slot 0x0F enterFastArea ===== */
|
|
function transfor_enterFastArea() /* entry=102 class_id=0x01BF slot=0x0F */
|
|
{
|
|
set_info(0x021B, *(arg_06));
|
|
process_exclude();
|
|
return;
|
|
}
|