Crusader_Decomp/USECODE/EUSECODE_extracted/pseudocode/MDESKNS/slot_06_gotHit.txt
2026-03-25 23:32:36 +01:00

44 lines
943 B
Text

function mdeskns_gotHit() /* entry=112 class_id=0x01DC slot=0x06 */
{
var
referent, /* [BP+00h] type=0x69 */
ref, /* [BP+0Ah] type=0x69 */
vel, /* [BP+0Ch] type=0x69 */
fram, /* [BP-02h] type=0x69 */
item; /* [BP-04h] type=0x24 */
entry:
set_info(0x020C, *(arg_06));
process_exclude();
fram = Item.getFrame(arg_06);
if (fram > 1) goto block_010D;
block_0107:
goto block_01A6;
block_010D:
class_0A0C_slot_2C(vel, ref);
if (retval != 4) goto block_01A6;
block_0128:
/* loopscr value_u8=0x24 */
/* loop current_var=0xFC string_bytes=0x1 loop_type=0x6 */
block_0138:
if condition goto block_016F;
block_013B:
class_0A0C_slot_20(1, 10);
class_0A0C_slot_20((retval + 10), 10);
class_0A0C_slot_20(retval, 10);
/* loopnext */
goto block_0138;
block_016F:
spawn class_0A1E_slot_28(pid, 0, 1, arg_06);
suspend;
block_01A6:
return;
}