# ----------------------------------------------------------------------------- #
# This header is used by images.dat entries:
# ### Private (private.grp)
.headerstart
IsId          	372
Type          	12
Init          	PrivateInit
Death         	PrivateDeath
GndAttkInit   	PrivateGndAttkInit
AirAttkInit   	[NONE]
Unused1       	[NONE]
GndAttkRpt    	PrivateGndAttkInit
AirAttkRpt    	[NONE]
CastSpell     	PrivateCastSpell
GndAttkToIdle 	PrivateGndAttkToIdle
AirAttkToIdle 	[NONE]
Unused2       	[NONE]
Walking       	PrivateWalking
WalkingToIdle 	PrivateInit
SpecialState1 	[NONE]
.headerend
# ----------------------------------------------------------------------------- #

PrivateInit:
	imgul             	### 0 0 # Private Shadow (private-shad.grp)
	playfram          	0x00
	goto				PrivateLocal00
	
PrivateGndAttkToIdle:
	playfram			0x99
	wait				1
	playfram          	0x00
	goto              	PrivateLocal00

PrivateLocal00:
	wait              	1 
	waitrand          	62 74 
	randcondjmp       	43 PrivateLocal01
	goto              	PrivateLocal00

PrivateLocal01:
	randcondjmp       	128 PrivateLocal02
	playfram          	0x11
	wait              	1 
	turnccwise        	1 
	playfram          	0x22
	wait              	1 
	turnccwise        	1 
	playfram          	0x11
	wait              	1 
	turnccwise        	1 
	playfram          	0x00
	wait              	1 
	turnccwise        	1 
	goto              	PrivateGndAttkToIdle

PrivateLocal02:
	playfram          	0x11
	wait              	1 
	turnccwise        	1 
	playfram          	0x22
	wait              	1 
	turnccwise        	1 
	playfram          	0x33
	wait              	1 
	turnccwise        	1 
	playfram          	0x22
	wait              	1 
	turnccwise        	1 
	playfram          	0x11
	wait              	1 
	turnccwise        	1 
	playfram          	0x00
	wait              	1 
	turnccwise        	1 
	goto              	PrivateGndAttkToIdle

PrivateDeath:
	playsnd           	638	# Protoss\TRILOBYTE\PTrDth00.WAV
	imgol             	214 0 0	# Explosion1 (Medium) (thingy\tBangL.grp)
	wait              	3 
	end

PrivateGndAttkInit:
	playfram          	0x99
	wait              	1 
	nobrkcodestart
	playfram          	0xaa
	wait              	1 
	playfram          	0xbb
	wait              	1 
	playfram          	0xcc
	attackmelee       	1 664	# Protoss\ZEALOT\pzeHit00.WAV
	wait              	1 
	playfram			0xdd
	wait				1
	playfram			0xee
	wait				1
	playfram			0xff
	attackmelee       	1 664	# Protoss\ZEALOT\pzeHit00.WAV
	wait				1
	playfram			0x110
	nobrkcodeend
	gotorepeatattk
	ignorerest
	goto              	PrivateGndAttkToIdle

PrivateWalking:
	move              	5 
	wait              	1 
	playfram          	0x11
	move              	5 
	wait              	1 
	playfram          	0x22
	move              	5 
	wait              	1 
	playfram          	0x33
	move              	5 
	wait              	1 
	playfram          	0x44
	move              	5 
	wait              	1 
	playfram          	0x55
	move              	5 
	wait              	1 
	playfram          	0x66
	move              	5 
	wait              	1 
	playfram          	0x77
	move              	5 
	wait              	1 
	playfram          	0x88
	goto              	PrivateWalking