Crusader_Decomp/USECODE/REGRET/STABLE.unk

49 lines
1.4 KiB
Text

/* synthesized appendix for STABLE */
/* sparse lines above preserve recovered debugger line numbers where available */
/* ===== slot 0x06 gotHit ===== */
function stable_gotHit() /* entry=157 class_id=0x02DC slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
local_02 = Item.getFrame(arg_06);
if (local_02 <= 8) {
return;
}
else {
FREE.slot_35(arg_0C, arg_0A);
if (!retval) {
for local_04 in nearby_items(shape=0x01DA, origin=arg_06) {
if (Item.getFrame(local_04) >= 1) {
spawn ITEM.slot_2A(pid, 0, 1, local_04);
suspend;
}
/* loopnext */
}
/* loopscr value_u8=0x24 */
/* loop current_var=0xFC string_bytes=0x1 loop_type=0x6 */
while (!condition) {
FREE.slot_20(1, 10);
FREE.slot_20((retval + 10), 10);
FREE.slot_20(retval, 10);
/* loopnext */
}
for local_04 in nearby_items(shape=0x02DC, origin=arg_06) {
local_02 = Item.getFrame(local_04);
if (local_02 >= 9) {
/* loopscr value_u8=0x24 */
/* loop current_var=0xFA string_bytes=0x1 loop_type=0x6 */
while (!condition) {
FREE.slot_20(1, 10);
FREE.slot_20((retval + 10), 10);
FREE.slot_20(retval, 10);
/* loopnext */
}
}
/* loopnext */
}
}
}
return;
}