Crusader_Decomp/USECODE/EUSECODE_extracted/pseudocode/RECHFLEW/slot_06_gotHit.txt
2026-03-26 00:37:17 +01:00

50 lines
1.4 KiB
Text

function rechflew_gotHit() /* entry=65 class_id=0x015A slot=0x06 */
{
var
referent, /* [BP+00h] type=0x69 */
ref, /* [BP+0Ah] type=0x69 */
vel, /* [BP+0Ch] type=0x69 */
item; /* [BP-02h] type=0x24 */
set_info(0x020C, *(arg_06));
process_exclude();
item = ref;
if (((ref == 1) && (Item.getFrame(arg_06) != 0)) && (Item.getQLo(arg_06) != 0)) {
if (Item.isCentreOn(*(arg_06), item)) {
return;
}
else {
/* global_address global_id=0x3C */
while (!Actor.isBusy()) {
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
suspend;
}
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
suspend;
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x3D */
/* loopscr value_u8=0x40 */
/* loopscr value_u8=0x25 */
/* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
while (!condition) {
/* loopnext */
}
spawn class_0A0C_slot_32(pid, 60, 0x00000000);
suspend;
while (!Kernel.getNumProcesses(0x0254, global[0x003C])) {
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
suspend;
}
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x3D */
/* loopscr value_u8=0x40 */
/* loopscr value_u8=0x25 */
/* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
while (!condition) {
/* loopnext */
}
}
}
return;
}