# ----------------------------------------------------------------------------- #
# This header is used by images.dat entries:
# 025 Guardian (zerg\guardian.grp)
.headerstart
IsId           	15
Type           	12
Init           	GuardianInit
Death          	GuardianDeath
GndAttkInit    	GuardianGndAttkInit
AirAttkInit    	GuardianGndAttkInit
Unused1        	[NONE]
GndAttkRpt     	GuardianGndAttkInit
AirAttkRpt     	GuardianGndAttkInit
CastSpell      	[NONE]
GndAttkToIdle  	GuardianGndAttkToIdle
AirAttkToIdle  	GuardianGndAttkToIdle
Unused2        	[NONE]
Walking        	GuardianWalking
WalkingToIdle  	GuardianGndAttkToIdle
SpecialState1  	[NONE]
.headerend
# ----------------------------------------------------------------------------- #

GuardianInit:
	imgul          	26 0 42	# GuardianShad (zerg\guardian.grp)
	playfram       	0
	waitrand       	1 4
GuardianGndAttkToIdle:
	playfram       	0
	wait           	2
	playfram       	17
	wait           	2
	playfram       	34
	wait           	2
	playfram       	51
	wait           	2
	goto           	GuardianGndAttkToIdle

GuardianDeath:
	playsnd        	852	# Zerg\Guardian\ZGuDth00.WAV
	imgol          	58 0 0	# ZergAirDeathLarge (thingy\zAirDthL.grp)
	wait           	1
	end            	

GuardianGndAttkInit:
	playsnd        	71	# Bullet\ZGuFir00.wav
	attackwith     	1
	gotorepeatattk 	
	goto           	GuardianGndAttkToIdle

GuardianWalking:
	playfram       	0
	wait           	1
	playfram       	17
	wait           	1
	playfram       	34
	wait           	1
	playfram       	51
	wait           	1
	goto           	GuardianWalking


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