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

22 lines
540 B
Text

function wventew_gotHit() /* entry=225 class_id=0x03E8 slot=0x06 */
{
var
referent, /* [BP+00h] type=0x69 */
ref, /* [BP+0Ah] type=0x69 */
vel, /* [BP+0Ch] type=0x69 */
fram, /* [BP-02h] type=0x69 */
windsurf; /* [BP-04h] type=0x24 */
set_info(0x020C, *(arg_06));
process_exclude();
fram = Item.getFrame(arg_06);
FREE.slot_2C(vel, ref);
if (!retval) {
if (fram >= 1) {
for windsurf in nearby_items(shape=PLACEHOLDER_CUBE_BIG, origin=arg_06) {
/* loopnext */
}
}
}
return;
}