# ----------------------------------------------------------------------------- #
# This header is used by images.dat entries:
# 000 Scourge (zerg\avenger.grp)
.headerstart
IsId           	0
Type           	12
Init           	ScourgeInit
Death          	ScourgeDeath
GndAttkInit    	[NONE]
AirAttkInit    	ScourgeAirAttkInit
Unused1        	[NONE]
GndAttkRpt     	[NONE]
AirAttkRpt     	ScourgeAirAttkInit
CastSpell      	[NONE]
GndAttkToIdle  	[NONE]
AirAttkToIdle  	ScourgeAirAttkToIdle
Unused2        	[NONE]
Walking        	ScourgeWalking
WalkingToIdle  	ScourgeAirAttkToIdle
SpecialState1  	[NONE]
.headerend
# ----------------------------------------------------------------------------- #

ScourgeInit:
	imgul          	1 0 42	# ScourgeShad (zerg\avenger.grp)
	playfram       	0
	waitrand       	1 5
ScourgeAirAttkToIdle:
	playfram       	0
	setvertpos     	0
	wait           	2
	playfram       	17
	wait           	2
	playfram       	34
	setvertpos     	1
	wait           	2
	playfram       	51
	setvertpos     	2
	wait           	2
	playfram       	68
	wait           	2
	playfram       	85
	setvertpos     	1
	wait           	2
	goto           	ScourgeAirAttkToIdle

ScourgeDeath:
	playsnd        	776	# Zerg\AVENGER\ZAvDth00.WAV
	imgol          	59 0 0	# ZergAirDeathSmall (thingy\zAirDthS.grp)
	wait           	1
	end            	

ScourgeAirAttkInit:
	playsnd        	778	# Zerg\AVENGER\ZAvHit00.WAV
	sprol          	136 0 0	# ScourgeExplosion (zerg\zavExplo.grp)
	wait           	1
	attackwith     	2
	goto           	ScourgeLocal00

ScourgeLocal00:
	wait           	125
	goto           	ScourgeLocal00

ScourgeWalking:
	setvertpos     	0
ScourgeLocal01:
	playfram       	0
	wait           	1
	playfram       	17
	wait           	1
	playfram       	34
	wait           	1
	playfram       	51
	wait           	1
	playfram       	68
	wait           	1
	playfram       	85
	wait           	1
	goto           	ScourgeLocal01


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