# ----------------------------------------------------------------------------- #
# This header is used by images.dat entries:
# 013 Defiler (zerg\defiler.grp)
.headerstart
IsId           	9
Type           	12
Init           	DefilerInit
Death          	DefilerDeath
GndAttkInit    	DefilerGndAttkInit
AirAttkInit    	[NONE]
Unused1        	[NONE]
GndAttkRpt     	DefilerGndAttkRpt
AirAttkRpt     	[NONE]
CastSpell      	DefilerCastSpell
GndAttkToIdle  	DefilerGndAttkToIdle
AirAttkToIdle  	[NONE]
Unused2        	[NONE]
Walking        	DefilerWalking
WalkingToIdle  	DefilerWalkingToIdle
SpecialState1  	[NONE]
SpecialState2  	[NONE]
.headerend
# ----------------------------------------------------------------------------- #

DefilerInit:
	imgul          	14 0 19	# DefilerShad (zerg\defiler.grp)
	playfram       	221
	waitrand       	1 4
DefilerWalkingToIdle:
	wait           	125
	goto           	DefilerWalkingToIdle

DefilerDeath:
	playsnd        	815	# Zerg\DEFILER\ZDeDth00.WAV
	setfldirect    	0
	playfram       	544
	wait           	2
	playfram       	545
	wait           	2
	playfram       	546
	wait           	2
	playfram       	547
	wait           	2
	playfram       	548
	wait           	2
	playfram       	549
	wait           	2
	playfram       	550
	wait           	2
	playfram       	551
	wait           	2
	playfram       	552
	wait           	2
	playfram       	553
	wait           	2
	playfram       	554
	wait           	2
	playfram       	555
	wait           	2
	playfram       	556
	wait           	2
	lowsprul       	139 0 0	# DefilerDeath (zerg\zdeDeath.grp)
	wait           	1
	end            	

DefilerGndAttkInit:
	playfram	221
	wait           	2
	playfram	238
	wait           	2
	playfram	255
	wait           	2
	playfram	272
	wait           	2
	playfram	289
	wait           	2
	playfram	306
	wait           	2
	playfram	323
	wait           	2
	playfram	340
	wait           	2
DefilerGndAttkRpt:
	nobrkcodestart 	
	playsndrand    	2 69 457	# Bullet\TMaFir00.wav, Terran\KERRIGAN\UKePss00.wav
	playfram	0
	wait           	2
	playfram	17
	wait           	2
	playfram	34
	wait           	2
	playfram	51
	wait           	2
	playfram	68
	wait           	2
	playfram	85
	wait           	2
	playsndbtwn    	337 338	# Terran\VESSEL\TVePss04.WAV, Terran\VESSEL\TVePss05.WAV
	imgoluselo     	518 0 0	# Unknown518 (thingy\eplMuzz.grp)
	imgol          	555 0 19	# Unknown555 (thingy\emp.grp)
	imgul          	555 0 19	# Unknown555 (thingy\emp.grp)
        attackwith     	1
	playfram	102
	wait           	2
	playfram	119
	wait           	2
	playfram	136
	wait           	2
	playfram	153
	wait           	2
	playfram	170
	wait           	2
	playfram	187
	wait           	2
	playfram	204
	wait           	2
	playfram	221
	wait           	2
	playfram	238
	wait           	2
	playfram	255
	wait           	2
	playfram	272
	wait           	2
	playfram	289
	wait           	2
	playfram	306
	wait           	2
	playfram	323
	wait           	2
	playfram	340
	wait           	2
	nobrkcodeend   	
	gotorepeatattk 	
	ignorerest     	
DefilerGndAttkToIdle:
	playfram	221
	wait           	2
	playfram	238
	wait           	2
	playfram	255
	wait           	2
	playfram	272
	wait           	2
	playfram	289
	wait           	2
	playfram	306
	wait           	2
	playfram	323
	wait           	2
	playfram	340
	wait           	2
	goto           	DefilerWalkingToIdle

DefilerCastSpell:
	imgolorig      	536	# Unknown536 (thingy\ettFlash.grp)
	playfram	221
	wait           	2
	playfram	238
	wait           	2
	playfram	255
	wait           	2
	playfram	272
	wait           	2
	playfram	289
	wait           	2
	playfram	306
	wait           	2
	playfram	323
	wait           	2
	playfram	340
	wait           	2
	goto           	DefilerGndAttkToIdle

DefilerWalking:
	playfram       	357
	move           	3
	wait           	2
	playfram       	374
	move           	3
	wait           	2
	playfram       	391
	move           	3
	wait           	2
	playfram       	408
	move           	3
	wait           	2
	playfram       	425
	move           	3
	wait           	2
	playfram       	442
	move           	3
	wait           	2
	playfram       	459
	move           	3
	wait           	2
	playfram       	476
	move           	3
	wait           	2
	playfram       	493
	move           	3
	wait           	2
	playfram       	510
	move           	0
	wait           	2
	playfram       	527
	move           	0
	wait           	2
	goto           	DefilerWalking


# ----------------------------------------------------------------------------- #
# This header is used by images.dat entries:
# 016 DefilerDeath (zerg\zdeDeath.grp)
.headerstart
IsId           	10
Type           	0
Init           	DefilerRemnantsInit
Death          	[NONE]
.headerend
# ----------------------------------------------------------------------------- #

DefilerRemnantsInit:
	playfram       	0
	wait           	50
	playfram       	1
	wait           	50
	playfram       	2
	wait           	50
	playfram       	3
	wait           	50
	playfram       	4
	wait           	50
	end            	


# ----------------------------------------------------------------------------- #