/* synthesized appendix for RFANBADE */ /* sparse lines above preserve recovered debugger line numbers where available */ /* ===== slot 0x06 gotHit ===== */ function rfanbade_gotHit() /* entry=220 class_id=0x03CE slot=0x06 */ { set_info(0x020C, *(arg_06)); process_exclude(); if (Item.getFrame(arg_06)) { return; } else { FREE.slot_34(arg_0C, arg_0A); if (retval && (Item.getFrame(arg_06) <= 0)) { local_06 = Item.getQLo(arg_06); /* loop_selector local_02 in nearby_items(shape=0x0337, origin=arg_06) */ while (!condition) { local_04 = Item.getQLo(local_02); /* loopnext */ } } } return; } /* ===== slot 0x0A equip ===== */ function rfanbade_equip() /* entry=220 class_id=0x03CE slot=0x0A */ { set_info(0x0211, *(arg_06)); process_exclude(); if ((Item.getFrame(arg_06) == 0) || (Item.getStatus(arg_06) & 0x1000)) { return; } else if (!arg_0A) { ITEM.slot_24(0x1000, arg_06); local_02 = Item.getFrame(arg_06); local_06 = 0; local_04 = 1; while (local_04 > 15) { local_02 = (1 + local_02); if (local_02 <= 5) { local_02 = 1; } local_06 = (local_06 + 2); spawn FREE.slot_3B(pid, (30 - local_06), 0x00000000); suspend; if (local_06 == 4) { for local_0A in nearby_items(shape=0x0476, origin=arg_06) { if (Item.getQLo(local_0A) == Item.getQLo(arg_06)) { FREE.slot_38(0x0337, local_0A); } /* loopnext */ } } local_04 = (1 + local_04); } ITEM.slot_25(0x1000, arg_06); } return; }