//=============================================================================
// PHeart.
//=============================================================================
class PHeart expands PlayerChunks;

#exec MESH IMPORT MESH=PHeart ANIVFILE=MODELS\heartg_a.3D DATAFILE=MODELS\heartg_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=PHeart X=0 Y=0 Z=0 YAW=64
#exec MESH SEQUENCE MESH=PHeart SEQ=All    STARTFRAME=0   NUMFRAMES=6
#exec MESH SEQUENCE MESH=PHeart SEQ=Beat  STARTFRAME=0   NUMFRAMES=6
#exec TEXTURE IMPORT NAME=Jmisc1 FILE=MODELS\misc.PCX GROUP=Skins
#exec MESHMAP SCALE MESHMAP=PHeart X=0.015 Y=0.015 Z=0.03
#exec MESHMAP SETTEXTURE MESHMAP=PHeart NUM=1 TEXTURE=Jmisc1

auto state Dying
{

Begin:
	LoopAnim('Beat', 0.2);
	Sleep(0.1);
	GotoState('Dead');
}
