# ----------------------------------------------------------------------------- #
# This header is used by images.dat entries:
# 319 Starport (terran\starport.grp)
.headerstart
IsId          	134
Type          	20
Init          	StarportInit
Death         	StarportDeath
GndAttkInit   	[NONE]
AirAttkInit   	[NONE]
Unused1       	[NONE]
GndAttkRpt    	[NONE]
AirAttkRpt    	[NONE]
CastSpell     	[NONE]
GndAttkToIdle 	[NONE]
AirAttkToIdle 	[NONE]
Unused2       	[NONE]
Walking       	StarportWalking
WalkingToIdle 	StarportWalking
SpecialState1 	[NONE]
SpecialState2 	[NONE]
AlmostBuilt   	StarportAlmostBuilt
Built         	StarportBuilt
Landing       	[NONE]
LiftOff       	[NONE]
IsWorking     	StarportIsWorking
WorkingToIdle 	StarportBuilt
WarpIn        	[NONE]
.headerend
# ----------------------------------------------------------------------------- #

StarportInit:
	imgul             	321 0 0	# Starport Shadow (terran\tspShad.grp)
StarportBuilt:
	playfram          	0x00	# Frame set 0
	goto              	StarportWalking

StarportWalking:
	playfram          	1	# Frame set 0, direction 1
	wait              	2 
	playfram          	2	# Frame set 0, direction 2
	wait              	2 
	playfram          	3	# Frame set 0, direction 3
	wait              	2 
	playfram          	4	# Frame set 0, direction 4
	wait              	2 
	playfram          	5	# Frame set 0, direction 5
	wait              	2 
	playfram          	6	# Frame set 0, direction 6
	wait              	2 
	playfram          	0x00	# Frame set 0
	wait              	2 
	goto              	StarportWalking

StarportDeath:
	playsnd           	7	# Misc\ExploLrg.wav
	imgol             	334 0 0	# Building Explosion (Large) (thingy\tBangX.grp)
	wait              	3 
	lowsprul          	274 0 0	# Terran Building Rubble (Large) (thingy\RubbleL.grp)
	wait              	1 
	end

StarportAlmostBuilt:
	playfram           13	# Frame set 0, direction 5
	goto              	StarportWalking

StarportIsWorking:
	playfram          	7	# Frame set 0, direction 7
	wait              	2 
	playfram          	8	# Frame set 0, direction 8
	wait              	2 
	playfram          	9	# Frame set 0, direction 9
	wait              	2 
	playfram          	10	# Frame set 0, direction 10
	wait              	2 
	playfram          	11	# Frame set 0, direction 11
	wait              	2 
	playfram          	12	# Frame set 0, direction 12
	wait              	2 
	goto              	StarportIsWorking
