Crusader_Decomp/USECODE/REGRET/D_COUR.unk

27 lines
691 B
Text

/* synthesized appendix for D_COUR */
/* sparse lines above preserve recovered debugger line numbers where available */
/* ===== slot 0x06 gotHit ===== */
function d_cour_gotHit() /* entry=270 class_id=0x04C2 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
if (UCMachine.rndRange(100, 0) <= 50) {
return;
}
else {
/* loopscr value_u8=0x24 */
/* loop current_var=0xFE string_bytes=0x1 loop_type=0x4 */
while (!condition) {
spawn FREE.slot_3B(pid, 30, 0x00000000);
suspend;
spawn ITEM.slot_2A(pid, 1, 0, local_02);
suspend;
/* loopnext */
}
spawn FREE.slot_3B(pid, 30, 0x00000000);
suspend;
}
return;
}