;-------------------------------------------------------------
;CNS file for Gohan HD (from SNES,"Dragon Ball Z HD") 
;Made by MugenGuy & Redspider for Mugen 04.14.01
;-------------------------------------------------------------

;Constant file for Gohan HD:
;Contains all the states needed for the character.
;-------------------------------------------------------------

;-------------------------------------------------------------
;=======| HYPER STATES |=======
;-------------------------------------------------------------

;SSj Transform
[Statedef 2999]
type = S
movetype = I
physics = S
anim = 2999
ctrl = 0
velset = 0,0

[State 730, PlaySND]
type = PlaySnd
trigger1 = Time = 0
value = 1800,0
volume = 255

[State 730, PlaySND]
type = PlaySnd
trigger1 = Time = 0
value = 732,0
volume = 155

[State 730, PlaySND]
type = PlaySnd
trigger1 = TimeMod = 20,0
value = 732,1
volume = 155

[State 9999, Wind Effect]
type = Explod
trigger1 = time = 25
anim = 748
id = 748
postype = p1
facing = 1
vfacing = 1
pos = 0,5
;vel = 0,0
;random = 0,0
;supermove = 0
;pausemovetime = 0
scale = 1, 1
sprpriority = -1
ontop = 1
;shadow = 0,0,0
ownpal = 1
;removeongethit = 0
;ignorehitpause = 0
;persistent = 1

[State 730: SSjAura]
type = Explod
trigger1 = Time = 25
anim = 734
ID = 734
sprpriority = 5
removetime = 75
removeongethit = 1
bindtime = 75

[State 2999: Ground Waves]
type = explod
triggerall = Pos Y = 0
trigger1 = Time = 0
anim = 737
id = 737
postype = p1
sprpriority = -5
removetime = 100
bindtime = 100
ownpal = 1

;[State 2999: Player Push]
;type = Helper
;trigger1 = TimeMod = 15,0
;helpertype = Normal
;name = "push"
;id = 733
;pos = 0,0
;postype	= p1
;facing	= 1
;stateno	= 733
;keyctrl	= 0
;ownpal	= 1

[State 730, Dirt Left]
type = Explod
triggerall = Pos Y = 0
trigger1 = Time = 25
anim = 752
ID = 752
pos = 25,5
sprpriority = -3 
bindtime = 52
removetime = 52
removeongethit = 1
ownpal = 1

[State 730, Dirt Right]
type = Explod
triggerall = Pos Y = 0
trigger1 = Time = 25
anim = 753
ID = 753
pos = -25,5
sprpriority = -3 
bindtime = 52
removetime = 52
removeongethit = 1
ownpal = 1

[State 2999: 3]
type = varset
trigger1 = AnimTime = 0
v = 1
value = 1

[State 2999: 1]
type = changestate
trigger1 = animtime = 0
value = 0
ctrl = 1
;----------------------------------------
;SSj2 Transform
[Statedef 3999]
type = S
movetype = I
physics = S
anim = 3999
ctrl = 0
velset = 0,0

[State 730, PlaySND]
type = PlaySnd
trigger1 = Time = 0
value = 1800,0
volume = 255

[State 730, PlaySND]
type = PlaySnd
trigger1 = Time = 50
value = 2000,1
volume = 255

[State 730, PlaySND]
type = PlaySnd
trigger1 = Time = 0
value = 732,0
volume = 155

[State 730, PlaySND]
type = PlaySnd
trigger1 = TimeMod = 20,0
value = 732,1
volume = 155

[State 730: SSjAura]
type = Explod
trigger1 = Time = 0
anim = 756
ID = 734
sprpriority = 5
removetime = 175
removeongethit = 1
bindtime = 175

[State 3999: Air Electricity]
type = explod
trigger1 = Time = 0
anim = 757
id = 757
postype = p1
sprpriority = 10
removetime = 100
bindtime = 100
ownpal = 1

[State 730, Lighning]
type = Helper
trigger1 = TimeMod = 15,0
helpertype = normal
name = "Lightning Bolts"
ID = 0050
pos = 0,0
postype = p1
facing = 1
stateno = 754
keyctrl = 0
ownpal = 0

[State 2999: Screen Dark]
type = explod
trigger1 = Time = 0
anim = 9989
id = 9989
postype = p1
sprpriority = -5
removetime = -1
bindtime = -1
ownpal = 1

[State 2999: Ground Waves]
type = explod
triggerall = Pos Y = 0
trigger1 = Time = 0
anim = 737
id = 737
postype = p1
sprpriority = -5
removetime = 100
bindtime = 100
ownpal = 1

[State 730, Dirt Left]
type = Explod
triggerall = Pos Y = 0
trigger1 = Time = 25
anim = 752
ID = 752
pos = 25,5
sprpriority = -3 
bindtime = 52
removetime = 52
removeongethit = 1
ownpal = 1

[State 730, Dirt Right]
type = Explod
triggerall = Pos Y = 0
trigger1 = Time = 25
anim = 753
ID = 753
pos = -25,5
sprpriority = -3 
bindtime = 52
removetime = 52
removeongethit = 1
ownpal = 1

[State 3999: SSj2 Sparks]
type = Explod
trigger1 = (Time = 50)
anim = 789
ID = 789
pos = 0,0
postype = p1
facing = 1
bindtime = -1
removetime = -1
sprpriority = 20
ownpal = 1
ignorehitpause = 1

[State 3999: 2]
type = removeexplod
trigger1 = Time = 175
id = 9989

[State 2999: 3]
type = varset
trigger1 = Time = 50
v = 1
value = 2

[State 2999: 1]
type = changestate
trigger1 = Time = 175
value = 0
ctrl = 1
;----------------------------------------
;SSj2 Transform
[Statedef 4999]
type = S
movetype = I
physics = S
anim = 4999
ctrl = 0
velset = 0,0

[State 730, PlaySND]
type = PlaySnd
trigger1 = Time = 0
value = 1800,0
volume = 255

[State 730, PlaySND]
type = PlaySnd
trigger1 = Time = 25
value = 2000,1
volume = 255

[State 730, PlaySND]
type = PlaySnd
trigger1 = Time = 0
value = 732,0
volume = 155

[State 730, PlaySND]
type = PlaySnd
trigger1 = TimeMod = 20,0
value = 732,1
volume = 155

[State 730: SSjAura]
type = Explod
trigger1 = Time = 0
anim = 756
ID = 734
sprpriority = 5
removetime = 100
removeongethit = 1
bindtime = 100

[State 2999: Electricity]
type = explod
trigger1 = Time = 0
anim = 757
id = 737
postype = p1
sprpriority = 5
removetime = 100
bindtime = 100
ownpal = 1

[State 730, Lighning]
type = Helper
trigger1 = TimeMod = 20,0
helpertype = normal
name = "Lightning Bolts"
ID = 0050
pos = 0,0
postype = p1
facing = 1
stateno = 754
keyctrl = 0
ownpal = 0

[State 2999: Ground Waves]
type = explod
triggerall = Pos Y = 0
trigger1 = Time = 0
anim = 737
id = 737
postype = p1
sprpriority = -5
removetime = 100
bindtime = 100
ownpal = 1

[State 730, Dirt Left]
type = Explod
triggerall = Pos Y = 0
trigger1 = Time = 25
anim = 752
ID = 752
pos = 25,5
sprpriority = -3 
bindtime = 52
removetime = 52
removeongethit = 1
ownpal = 1

[State 730, Dirt Right]
type = Explod
triggerall = Pos Y = 0
trigger1 = Time = 25
anim = 753
ID = 753
pos = -25,5
sprpriority = -3 
bindtime = 52
removetime = 52
removeongethit = 1
ownpal = 1

[State -2: SSj2 Sparks]
type = Explod
trigger1 = (Time = 50)
anim = 789
ID = 789
pos = 0,0
postype = p1
facing = 1
bindtime = -1
removetime = -1
sprpriority = 20
ownpal = 1
ignorehitpause = 1

[State 2999: Screen Dark]
type = explod
trigger1 = Time = 0
anim = 9989
id = 9989
postype = p1
sprpriority = -5
removetime = -1
bindtime = -1
ownpal = 1

[State 3999: 2]
type = removeexplod
trigger1 = Time = 100
id = 9989

[State 2999: 3]
type = varset
trigger1 = Time = 25
v = 1
value = 2

[State 2999: 1]
type = changestate
trigger1 = Time = 100
value = 0
ctrl = 1
