Crusader_Decomp/USECODE/REGRET/MED_FLOR.unk

57 lines
1.6 KiB
Text

/* synthesized appendix for MED_FLOR */
/* sparse lines above preserve recovered debugger line numbers where available */
/* ===== slot 0x06 gotHit ===== */
function med_flor_gotHit() /* entry=161 class_id=0x02E1 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
local_02 = arg_0A;
if (((arg_0A == 1) && (Item.getQLo(arg_06) != 0)) && (Item.getFrame(arg_06) != 0)) {
if (Item.isCentreOn(*(arg_06), local_02)) {
return;
}
else {
/* global_address global_id=0x1E */
while (!Actor.isBusy()) {
spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
}
/* global_address global_id=0x1E */
suspend;
/* global_address global_id=0x1E */
suspend;
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x43 */
/* loop current_var=0xFE string_bytes=0x8 loop_type=0x2 */
while (!condition) {
/* loopnext */
}
while (!Kernel.getNumProcesses(0x0254, global[0x001E])) {
spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
}
spawn FREE.slot_3B(pid, 60, 0x00000000);
suspend;
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x43 */
/* loop current_var=0xFE string_bytes=0x8 loop_type=0x2 */
while (!condition) {
/* loopnext */
}
}
}
return;
}
/* ===== slot 0x09 release ===== */
function med_flor_release() /* entry=161 class_id=0x02E1 slot=0x09 */
{
set_info(0x020D, *(arg_06));
process_exclude();
if (Item.getSurfaceWeight(arg_06) == 0) {
FREE.slot_3C(0x0254, global[0x001E]);
}
return;
}