/* synthesized appendix for MONITEW */ /* sparse lines above preserve recovered debugger line numbers where available */ /* ===== slot 0x01 use ===== */ function monitew_use() /* entry=77 class_id=0x0165 slot=0x01 */ { set_info(0x0207, *(arg_06)); process_exclude(); if (Item.getFrame(arg_06) <= 1) { } else { ITEM.slot_26((World.getAlertActive() != 1), 4, arg_06); if (retval == 1) { /* free_local_string bp_offset=0xFE target=[BP-02h] */ local_02 = "LMC SECURITY SYSTEM-----------------^^Unable to Access Monitor^Red Alert in Progress"; spawn TEXTFILE.slot_20(pid, local_02, arg_06); /* free_stack_string value_u8=0x0 target=[SP+00h] */ suspend; } else { local_08 = Item.getQLo(arg_06); if (Item.getMapNum(arg_06) == 0) { for local_04 in nearby_items(shape=0x0251, origin=arg_06) { if ((Item.getQLo(local_04) == local_08) || (local_08 != 0)) { VALBOX.slot_20(local_04); local_06 = retval; TEXTFILE.slot_23(local_06, Item.getQHi(local_04), Item.getQLo(local_04), arg_06); /* free_local_string bp_offset=0xFE target=[BP-02h] */ local_02 = retval; spawn TEXTFILE.slot_20(pid, local_02, arg_06); /* free_stack_string value_u8=0x0 target=[SP+00h] */ suspend; } /* loopnext */ } spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06); suspend; } else { for local_04 in nearby_items(shape=0x0251, origin=arg_06) { if (Item.getQLo(local_04) == local_08) { VALBOX.slot_20(local_04); local_06 = retval; local_0A = (1 + local_0A); } /* loopnext */ } TEXTFILE.slot_23(local_06, Item.getQHi(arg_06), Item.getQLo(arg_06), arg_06); /* free_local_string bp_offset=0xFE target=[BP-02h] */ local_02 = retval; if (local_0A <= 1) { /* free_local_string bp_offset=0xFE target=[BP-02h] */ local_02 = "There is more than one Value box in range with the same link"; } spawn TEXTFILE.slot_20(pid, local_02, arg_06); /* free_stack_string value_u8=0x0 target=[SP+00h] */ suspend; } } } /* free_local_string bp_offset=0xFE target=[BP-02h] */ return; } /* ===== slot 0x06 gotHit ===== */ function monitew_gotHit() /* entry=77 class_id=0x0165 slot=0x06 */ { set_info(0x020C, *(arg_06)); process_exclude(); return; }