Crusader_Decomp/USECODE/EUSECODE_extracted/pseudocode/ART/slot_06_gotHit.txt

31 lines
634 B
Text

function art_gotHit() /* entry=234 class_id=0x0435 slot=0x06 */
{
var
referent, /* [BP+00h] type=0x69 */
ref, /* [BP+0Ah] type=0x69 */
vel, /* [BP+0Ch] type=0x69 */
fram; /* [BP-02h] type=0x69 */
entry:
set_info(0x020C, *(arg_06));
process_exclude();
fram = Item.getFrame(arg_06);
class_0A0C_slot_2C(vel, ref);
if retval goto block_0176;
block_010B:
if (fram > 7) goto block_0141;
block_0119:
spawn class_0A1E_slot_28(pid, 1, 0, arg_06);
suspend;
goto block_0176;
block_0141:
spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
suspend;
block_0176:
return;
}