55 lines
1.3 KiB
Text
55 lines
1.3 KiB
Text
|
|
/* synthesized appendix for RADIOGEN */
|
|
/* sparse lines above preserve recovered debugger line numbers where available */
|
|
|
|
/* ===== slot 0x06 gotHit ===== */
|
|
function radiogen_gotHit() /* entry=354 class_id=0x05AC slot=0x06 */
|
|
{
|
|
set_info(0x020C, *(arg_06));
|
|
process_exclude();
|
|
local_02 = Item.getFrame(arg_06);
|
|
FREE.slot_35((local_02 > 0), arg_0C, arg_0A);
|
|
if (retval == 0) {
|
|
return;
|
|
}
|
|
else if (!Item.getQHi(arg_06)) {
|
|
spawn FREE.slot_3B(pid, 30, 0x00000000);
|
|
suspend;
|
|
return;
|
|
}
|
|
else {
|
|
spawn ITEM.slot_29(pid, 0x00C8, arg_0C, arg_0A, arg_06);
|
|
suspend;
|
|
/* dword_to_word */
|
|
if (process_result) {
|
|
FREE.slot_20(1);
|
|
if (!retval) {
|
|
}
|
|
return;
|
|
}
|
|
else if (global[0x0005]) {
|
|
suspend;
|
|
}
|
|
for local_04 in nearby_items(shape=17, origin=arg_06) {
|
|
if (Egg.getEggId(local_04) == Item.getQLo(arg_06)) {
|
|
if ((Item.getFrame(local_04) == 1) && (global[0x000B] > 0)) {
|
|
/* pop_global global_id=0xB size=0x1 */
|
|
}
|
|
}
|
|
/* loopnext */
|
|
}
|
|
if (Item.getMapNum(arg_06) == 0) {
|
|
spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
|
|
suspend;
|
|
}
|
|
}
|
|
return;
|
|
}
|
|
|
|
/* ===== slot 0x0F enterFastArea ===== */
|
|
function radiogen_enterFastArea() /* entry=354 class_id=0x05AC slot=0x0F */
|
|
{
|
|
set_info(0x021B, *(arg_06));
|
|
process_exclude();
|
|
return;
|
|
}
|