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

23 lines
477 B
Text

function bigcomns_gotHit() /* entry=132 class_id=0x0257 slot=0x06 */
{
var
referent, /* [BP+00h] type=0x69 */
ref, /* [BP+0Ah] type=0x69 */
vel, /* [BP+0Ch] type=0x69 */
fram; /* [BP-02h] type=0x69 */
set_info(0x020C, *(arg_06));
process_exclude();
fram = Item.getFrame(arg_06);
if (fram <= 2) {
return;
}
else {
FREE.slot_2C(vel, ref);
if (!retval) {
spawn ITEM.slot_28(pid, 0, 1, arg_06);
suspend;
}
}
return;
}