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

40 lines
811 B
Text

function fffloor2_gotHit() /* entry=96 class_id=0x01C8 slot=0x06 */
{
var
referent, /* [BP+00h] type=0x69 */
ref, /* [BP+0Ah] type=0x69 */
vel, /* [BP+0Ch] type=0x69 */
n; /* [BP-02h] type=0x24 */
entry:
set_info(0x020C, *(arg_06));
process_exclude();
if ((Item.getFrame(arg_06) != 1) || (ref > 0x0100)) goto block_0495;
block_048F:
goto block_051F;
block_0495:
n = ref;
block_049C:
if Item.isOn(*(arg_06), n) goto block_051F;
block_04AF:
if (Item.getFrame(arg_06) != 1) goto block_04C7;
block_04C1:
goto block_051F;
block_04C7:
class_0A0C_slot_20(pid, 8);
spawn class_0A11_slot_2D(retval, *(arg_06), n);
suspend;
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
suspend;
goto block_049C;
block_051F:
return;
}