# ----------------------------------------------------------------------------- #
# This header is used by images.dat entries:
# 342 BengalassJungle (neutral\Jcritter.grp)
.headerstart
IsId           	200
Type           	13
Init           	BengalaasInit
Death          	BengalaasDeath
GndAttkInit    	BengalaasGndAttkInit
AirAttkInit    	BengalaasGndAttkInit
Unused1        	[NONE]
GndAttkRpt     	BengalaasGndAttkRpt
AirAttkRpt     	BengalaasGndAttkRpt
CastSpell      	BengalaasCastSpell
GndAttkToIdle  	BengalaasGndAttkToIdle
AirAttkToIdle  	BengalaasGndAttkToIdle
Unused2        	[NONE]
Walking        	BengalaasWalking
WalkingToIdle  	BengalaasWalkingToIdle
SpecialState1  	[NONE]
.headerend
# ----------------------------------------------------------------------------- #

BengalaasInit:
	imgul          	343 0 19	# BengalassShad (neutral\njcShad.grp)
BengalaasWalkingToIdle:
	playfram       	0x66	# frame set 6
BengalaasLocal03:
	waitrand       	63 75
	randcondjmp    	25 BengalaasLocal00
	randcondjmp    	128 BengalaasLocal01
	goto           	BengalaasLocal03

BengalaasLocal00:
	playfram       	0x00	# frame set 0
	wait           	1
	playfram       	0x11	# frame set 1
	wait           	1
	playfram       	0x22	# frame set 2
	wait           	25
	playfram       	0x33	# frame set 3
	wait           	1
	playfram       	0x44	# frame set 4
	wait           	1
	playfram       	0x55	# frame set 5
	wait           	1
	goto           	BengalaasWalkingToIdle

BengalaasLocal01:
	randcondjmp    	128 BengalaasLocal02
	playfram       	0x77	# frame set 7
	wait           	1
	turnccwise     	1
	playfram       	0x88	# frame set 8
	wait           	1
	turnccwise     	1
	playfram       	0x99	# frame set 9
	wait           	1
	turnccwise     	1
	playfram       	0xaa	# frame set 10
	wait           	1
	turnccwise     	1
	playfram       	0x99	# frame set 9
	wait           	1
	turnccwise     	1
	playfram       	0x88	# frame set 8
	wait           	1
	turnccwise     	1
	playfram       	0x77	# frame set 7
	wait           	1
	turnccwise     	1
	goto           	BengalaasWalkingToIdle

BengalaasLocal02:
	playfram       	0x132	# frame set 18
	wait           	1
	turncwise      	1
	playfram       	0x121	# frame set 17
	wait           	1
	turncwise      	1
	playfram       	0x110	# frame set 16
	wait           	1
	turncwise      	1
	playfram       	0x121	# frame set 17
	wait           	1
	turncwise      	1
	playfram       	0x132	# frame set 18
	wait           	1
	turncwise      	1
	goto           	BengalaasWalkingToIdle

BengalaasDeath:
	setfldirect    	0
	playfram       	0x143	# frame set 19
	playsnd        	1126	# Zerg\ZergDuran\ZDnYes01.wav
	wait           	2
	playfram       	0x144	# frame set 19
	wait           	2
	playfram       	0x145	# frame set 19
	wait           	2
	playfram       	0x146	# frame set 19
	wait           	2
	playfram       	0x147	# frame set 19
	wait           	2
	playfram       	0x148	# frame set 19
	wait           	2
	playfram       	0x149	# frame set 19
	wait           	2
	playfram       	0x14a	# frame set 19
	wait           	2
	lowsprul       	505 0 0	# Unknown960 (thingy\bsmoke.grp)
	wait           	1
	end            	

BengalaasGndAttkInit:
	playfram       	0x66	# frame set 6
BengalaasGndAttkRpt:
	wait           	1
	nobrkcodestart 	
	playfram       	0x66	# frame set 6
	wait           	1
	playfram       	0x00	# frame set 0
	wait           	1
	playfram       	0x11	# frame set 1
	playsnd        	1125	# Zerg\ZergDuran\ZDnYes00.wav
	imgoluselo     	970 0 0	# Unknown970 (thingy\tmeHealM.grp)
	wait           	1
	playfram       	0x22	# frame set 2
	wait           	1
	playfram       	0x33	# frame set 3
	wait           	1
	playfram       	0x44	# frame set 4
	wait           	1
	playfram       	0x55	# frame set 5
	wait           	1
	attack         	
	playfram       	0x66	# frame set 6
	wait           	1
	nobrkcodeend   	
	gotorepeatattk 	
	ignorerest     	
BengalaasGndAttkToIdle:
	playfram       	0x66	# frame set 6
	wait           	1
	goto           	BengalaasWalkingToIdle

BengalaasCastSpell:
	nobrkcodestart 	
	wait           	1
	playfram       	0x00	# frame set 0
	wait           	1
	playfram       	0x11	# frame set 1
	wait           	1
	playfram       	0x22	# frame set 2
	playsnd        	1125	# Zerg\ZergDuran\ZDnYes00.wav
	imgoluselo     	970 0 0	# Unknown970 (thingy\tmeHealM.grp)
	wait           	1
	playfram       	0x33	# frame set 3
	wait           	1
	playfram       	0x44	# frame set 4
	wait           	1
	playfram       	0x55	# frame set 5
	castspell      	
	wait           	1
	nobrkcodeend   	
	gotorepeatattk 	
	sigorder       	2
	goto           	BengalaasGndAttkToIdle

BengalaasWalking:
	move           	4
	wait           	1
	playfram       	0x77	# frame set 7
	move           	4
	wait           	1
	playfram       	0x88	# frame set 8
	move           	4
	wait           	1
	playfram       	0x99	# frame set 9
	move           	4
	wait           	1
	playfram       	0xaa	# frame set 10
	move           	4
	wait           	1
	playfram       	0xbb	# frame set 11
	move           	4
	wait           	1
	playfram       	0xcc	# frame set 12
	move           	4
	wait           	1
	playfram       	0xdd	# frame set 13
	move           	4
	wait           	1
	playfram       	0xee	# frame set 14
	move           	4
	wait           	1
	playfram       	0xff	# frame set 15
	move           	4
	wait           	1
	playfram       	0x110	# frame set 16
	move           	4
	wait           	1
	playfram       	0x121	# frame set 17
	move           	4
	wait           	1
	playfram       	0x132	# frame set 18
	move           	4
	wait           	1
	playfram       	0x66	# frame set 6
	goto           	BengalaasWalking


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