43 lines
1.2 KiB
Text
43 lines
1.2 KiB
Text
|
|
/* synthesized appendix for LASERI */
|
|
/* sparse lines above preserve recovered debugger line numbers where available */
|
|
|
|
/* ===== slot 0x06 gotHit ===== */
|
|
function laseri_gotHit() /* entry=116 class_id=0x01D5 slot=0x06 */
|
|
{
|
|
set_info(0x020C, *(arg_06));
|
|
process_exclude();
|
|
FREE.slot_35(arg_0C, arg_0A);
|
|
local_04 = retval;
|
|
if ((Item.isEntirelyOnScreen(arg_06) == 0) || (local_04 != 0)) {
|
|
return;
|
|
}
|
|
else {
|
|
spawn ITEM.slot_29(pid, 50, arg_0C, arg_0A, arg_06);
|
|
suspend;
|
|
/* dword_to_word */
|
|
local_06 = process_result;
|
|
local_08 = Item.getQLo(arg_06);
|
|
if (Item.getFrame(arg_06)) {
|
|
/* loopscr value_u8=0x24 */
|
|
/* loopscr value_u8=0x44 */
|
|
/* loop current_var=0xFE string_bytes=0xA loop_type=0x2 */
|
|
while (!condition) {
|
|
local_0A = Item.getQLo(local_02);
|
|
/* loopnext */
|
|
}
|
|
/* loopscr value_u8=0x24 */
|
|
/* loopscr value_u8=0x44 */
|
|
/* loop current_var=0xFE string_bytes=0xA loop_type=0x2 */
|
|
while (!condition) {
|
|
local_0A = Item.getQLo(local_02);
|
|
/* loopnext */
|
|
}
|
|
spawn FREE.slot_3B(pid, 2, 0x00000000);
|
|
suspend;
|
|
spawn ITEM.slot_2A(pid, 0, 0, arg_06);
|
|
suspend;
|
|
}
|
|
}
|
|
return;
|
|
}
|