;=============================================
;=============================================
;SuckOppai_CODIGO
;BY_SHADALOO_666
;rp_HORSE
[Statedef 898766]
type = S
physics = S
movetype = A
ctrl = 0
anim = 898766
velset = 0,0

[State 896061,00 ]
type = NotHitBy
trigger1 = Time >= 0
value = SCA

[State 40000, 1]
type = PlaySnd
trigger1 = AnimElem = 1
value = 5,3
Volume = 200

[State 896061]
type = TargetState
trigger1 = MoveHit = 1
trigger1 = NumTarget
value = 896064

[State 896061,] 
type = ChangeState 
trigger1 = MoveHit = 1
trigger1 = NumTarget
value = 896072

[State 896061]
type = HitDef
trigger1 = time >= 10
attr = S, ST         
hitflag = M   
priority = 7, miss  
sparkno = -1     
sprpriority = 2   
p2facing = 1   
fall = 0  

[State 40000, 4]
type = changeState
trigger1 = animtime = 0
value = 0
ctrl = 1

[Statedef 896072,]
type = S
movetype = A
physics = N
velset = 0,0
anim = 898017
ctrl = 0
sprpriority = 3

[State 898016, ooxx]
type =Explod
triggerall=numexplod(898021)=0
trigger1 = p2stateno !=896065
trigger2 = animelem = 1
;trigger2 =time=0; animelem = 1
id=898021
anim = 898016
pos = 0,0
postype = p1
sprpriority = 0;-99
supermove = 1
bindtime = -1
ownpal = 1

;bug
;[State 558016, ooxx]
;type = null ;explod
;trigger1 = p2stateno !=6065
;trigger2 = animelem = 1
;anim = 558016                     
;pos = 0,0
;postype = p1
;sprpriority = -99
;supermove = 1
;bindtime = -1
;ownpal = 1

[State 896072]
type = AssertSpecial
trigger1 = 1
flag = noshadow

[State 896072, ]
type = NotHitBy
trigger1 = Time >= 0
value = SCA,NA,SA,HA,NT,ST,HT

[State 896072]
type = PlaySnd
trigger1 = time = 0
value = 0,44

[State 896072]
type = PlaySnd
trigger1 = AnimElem = 3 || AnimElem = 8 || AnimElem = 14 || AnimElem = 20 || AnimElem = 26
trigger2 = AnimElem = 32 || AnimElem = 38 || AnimElem = 44 || AnimElem = 50
trigger3 = AnimElem = 56 || AnimElem = 62 || AnimElem = 68 || AnimElem = 74
trigger4 = AnimElem = 80 || AnimElem = 86 || AnimElem = 92 || AnimElem = 98
trigger5 = AnimElem = 104 || AnimElem = 110 || AnimElem = 116 || AnimElem = 122
trigger6 = AnimElem = 128 || AnimElem = 134 || AnimElem = 140
trigger7 = AnimElem = 146 || AnimElem = 152 || AnimElem = 158
trigger8 = AnimElem = 164 || AnimElem = 170 
value = 0, 43

[State 896072]
type = PlaySnd
trigger1 = AnimElem = 4 || AnimElem = 11 || AnimElem = 17 || AnimElem = 23
trigger2 = AnimElem = 29 || AnimElem = 35 || AnimElem = 41 || AnimElem = 47
trigger3 = AnimElem = 53 || AnimElem = 59 || AnimElem = 65 || AnimElem = 71
trigger4 = AnimElem = 77 || AnimElem = 83 || AnimElem = 89 || AnimElem = 95
trigger5 = AnimElem = 101 || AnimElem = 107 || AnimElem = 113 || AnimElem = 119
trigger6 = AnimElem = 125 || AnimElem = 131 || AnimElem = 137 || AnimElem = 143
trigger7 = AnimElem = 149 || AnimElem = 155 || AnimElem = 161 || AnimElem = 168
trigger8 = AnimElem = 181 
value = 0, 42

[State 896072]
type = PlaySnd
trigger1 = AnimElem = 181
value = 0, 41

[State 896072]
type = PlaySnd
trigger1 = AnimElem = 173 || AnimElem = 175 || AnimElem = 177 || AnimElem = 179 
value = 0, 40

[State 896072]
type = PlaySnd
trigger1 = AnimElem = 173
value = 0, 39

[State 896072]
type = PlaySnd
trigger1 = AnimElem = 173
value = 0, 38

[State 896072]
type = BindToTarget
trigger1 = Time >= 0
id = -1
pos = 0, 20,food 

[State 896072,]
type = TargetState
trigger1 = AnimTime = 0    
value = 6065

[State 896072,]
type = ChangeState
trigger1 = AnimTime = 0
value = 5020


[Statedef 896064]
type    = A
movetype= H
physics = N
velset = 0,0

[State 896064] 
type = ChangeAnim2
Trigger1 = Time = 0
trigger1 = SelfAnimExist(30710) = 1;15920
value = 896621
;trigger1 = SelfAnimExist(15920) = 1;15920
;value = 896621

[State 896064]   
type = ChangeAnim2
Trigger1 = Time = 0
trigger1 != SelfAnimExist(30710) = 0;15920
value = 893631
;trigger1 != SelfAnimExist(15920) = 0;15920
;value = 893631





[State 896064,ＯＸ开始]  
type = PlaySnd
trigger1 = AnimElem = 3
value = 4218,22
[State 896064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 9
value = 4218,21
[State 896064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 15
value = 4218,22
[State 896064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 21
value = 4218,21
[State 896064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 27
value = 4218,21
[State 896064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 33
value = 4218,22
[State 896064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 39
value = 4218,21
[State 896064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 45
value = 4218,21
[State 896064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 51
value = 4218,21
[State 896064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 57
value = 4218,22
[State 896064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 63
value = 4218,22
[State 896064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 69
value = 4218,21
[State 896064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 75
value = 4218,21
[State 896064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 81
value = 4218,22
[State 896064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 87
value = 4218,21
[State 896064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 93
value = 4218,22
[State 896064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 99
value = 4218,21
[State 896064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 111
value = 4218,21
[State 896064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 123
value = 4218,21
[State 896064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 135
value = 4218,21
[State 896064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 147
value = 4218,21
[State 896064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 159
value = 4218,21
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 171
value = 4218,21
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 179
value = 4218,22
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 175
value = 4218,23
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 183
value = 4218,21


[State 896064,多次伤害]
type = LifeAdd
trigger1 = AnimElem = 9 || AnimElem = 15 || AnimElem = 21 || AnimElem = 27
trigger2 = AnimElem = 33 || AnimElem = 39 || AnimElem = 45 || AnimElem = 51
trigger3 = AnimElem = 57 || AnimElem = 63 || AnimElem = 69 || AnimElem = 75
trigger4 = AnimElem = 81 || AnimElem = 87 || AnimElem = 93 || AnimElem = 99
trigger5 = AnimElem = 105 || AnimElem = 111 || AnimElem = 117 || AnimElem = 123
trigger6 = AnimElem = 129 || AnimElem = 135 || AnimElem = 141
trigger7 = AnimElem = 147 || AnimElem = 153 || AnimElem = 159
trigger8 = AnimElem = 165 || AnimElem = 171
value = -3

[State 896064, 继续伤害] 
type = LifeAdd
trigger1 = AnimElem = 175
value = -30

[State 896064, 最后伤害]
type = LifeAdd
trigger1 = AnimElem = 177 || AnimElem = 179 || AnimElem = 181
value = -20

[State 896064, 减气]
type = PowerAdd
trigger1 = AnimElem = 3
value = -25

[State 896064, 多次减气]
type = PowerAdd
trigger1 = AnimElem = 9 || AnimElem = 15 || AnimElem = 21 || AnimElem = 27
trigger2 = AnimElem = 33 || AnimElem = 39 || AnimElem = 45 || AnimElem = 51
trigger3 = AnimElem = 57 || AnimElem = 63 || AnimElem = 69 || AnimElem = 75
trigger4 = AnimElem = 81 || AnimElem = 87 || AnimElem = 93 || AnimElem = 99
trigger5 = AnimElem = 105 || AnimElem = 111 || AnimElem = 117 || AnimElem = 123
trigger6 = AnimElem = 129 || AnimElem = 135 || AnimElem = 141
trigger7 = AnimElem = 147 || AnimElem = 153 || AnimElem = 159
trigger8 = AnimElem = 165 || AnimElem = 171
value = -12

[State 896064, 继续减气]
type = PowerAdd
trigger1 = AnimElem = 175
value = -100

[State 896064, 最后减气]
type = PowerAdd
trigger1 = AnimElem = 177 || AnimElem = 179 || AnimElem = 181
value = -50

[Statedef 896065]
type    = A
movetype= H
physics = N
velset = 0,0
poweradd = 40

[State 896065, 调整]
type = VelAdd
Trigger1 = 1
y = 10

[State 896065, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 1
value = 4218,22

[State 896065, aa1]
type = ChangeState
triggerall = Vel Y > 0   
triggerall = Pos Y >= -20
triggerall = alive
triggerall = CanRecover
trigger1 = Command = "recovery"
value = 5110

[State 896065, aa2]
type = SelfState
triggerall = Vel Y > 0
triggerall = alive
triggerall = CanRecover
trigger1 = Command = "recovery"
value = 5110

[State 896065, aa3]
type = SelfState
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 0
value = 5110


;FINN_DEL_CODIGO_SuckOppai
;=====================================;
;======================================
;=======================================;



;=============================================
;=============================================
;HORSE_CODIGO
;BY_SHADALOO_666
;rp_HORSE
[Statedef 888766]
type = S
physics = S
movetype = A
ctrl = 0
anim = 888766
velset = 0,0

[State 886061,00 ]
type = NotHitBy
trigger1 = Time >= 0
value = SCA

[State 40000, 1]
type = PlaySnd
trigger1 = AnimElem = 1
value = 5,3
Volume = 200

[State 886061]
type = TargetState
trigger1 = MoveHit = 1
trigger1 = NumTarget
value = 886064

[State 886061,] 
type = ChangeState 
trigger1 = MoveHit = 1
trigger1 = NumTarget
value = 886072

[State 886061]
type = HitDef
trigger1 = time >= 10
attr = S, ST         
hitflag = M   
priority = 7, miss  
sparkno = -1     
sprpriority = 2   
p2facing = 1   
fall = 0  

[State 40000, 4]
type = changeState
trigger1 = animtime = 0
value = 0
ctrl = 1

[Statedef 886072,]
type = S
movetype = A
physics = N
velset = 0,0
anim = 888017
ctrl = 0
sprpriority = 3

[State 888016, ooxx]
type =Explod
triggerall=numexplod(888021)=0
trigger1 = p2stateno !=886065
trigger2 = animelem = 1
;trigger2 =time=0; animelem = 1
id=888021
anim = 888016
pos = 0,0
postype = p1
sprpriority = 0;-99
supermove = 1
bindtime = -1
ownpal = 1

;bug
;[State 558016, ooxx]
;type = null ;explod
;trigger1 = p2stateno !=6065
;trigger2 = animelem = 1
;anim = 558016                     
;pos = 0,0
;postype = p1
;sprpriority = -99
;supermove = 1
;bindtime = -1
;ownpal = 1

[State 886072]
type = AssertSpecial
trigger1 = 1
flag = noshadow

[State 886072, ]
type = NotHitBy
trigger1 = Time >= 0
value = SCA,NA,SA,HA,NT,ST,HT

[State 886072]
type = PlaySnd
trigger1 = time = 0
value = 0,44

[State 886072]
type = PlaySnd
trigger1 = AnimElem = 3 || AnimElem = 8 || AnimElem = 14 || AnimElem = 20 || AnimElem = 26
trigger2 = AnimElem = 32 || AnimElem = 38 || AnimElem = 44 || AnimElem = 50
trigger3 = AnimElem = 56 || AnimElem = 62 || AnimElem = 68 || AnimElem = 74
trigger4 = AnimElem = 80 || AnimElem = 86 || AnimElem = 92 || AnimElem = 98
trigger5 = AnimElem = 104 || AnimElem = 110 || AnimElem = 116 || AnimElem = 122
trigger6 = AnimElem = 128 || AnimElem = 134 || AnimElem = 140
trigger7 = AnimElem = 146 || AnimElem = 152 || AnimElem = 158
trigger8 = AnimElem = 164 || AnimElem = 170 
value = 0, 43

[State 886072]
type = PlaySnd
trigger1 = AnimElem = 4 || AnimElem = 11 || AnimElem = 17 || AnimElem = 23
trigger2 = AnimElem = 29 || AnimElem = 35 || AnimElem = 41 || AnimElem = 47
trigger3 = AnimElem = 53 || AnimElem = 59 || AnimElem = 65 || AnimElem = 71
trigger4 = AnimElem = 77 || AnimElem = 83 || AnimElem = 89 || AnimElem = 95
trigger5 = AnimElem = 101 || AnimElem = 107 || AnimElem = 113 || AnimElem = 119
trigger6 = AnimElem = 125 || AnimElem = 131 || AnimElem = 137 || AnimElem = 143
trigger7 = AnimElem = 149 || AnimElem = 155 || AnimElem = 161 || AnimElem = 168
trigger8 = AnimElem = 181 
value = 0, 42

[State 886072]
type = PlaySnd
trigger1 = AnimElem = 181
value = 0, 41

[State 886072]
type = PlaySnd
trigger1 = AnimElem = 173 || AnimElem = 175 || AnimElem = 177 || AnimElem = 179 
value = 0, 40

[State 886072]
type = PlaySnd
trigger1 = AnimElem = 173
value = 0, 39

[State 886072]
type = PlaySnd
trigger1 = AnimElem = 173
value = 0, 38

[State 886072]
type = BindToTarget
trigger1 = Time >= 0
id = -1
pos = 0, 20,food 

[State 886072,]
type = TargetState
trigger1 = AnimTime = 0    
value = 6065

[State 886072,]
type = ChangeState
trigger1 = AnimTime = 0
value = 5020


[Statedef 886064]
type    = A
movetype= H
physics = N
velset = 0,0

[State 886064] 
type = ChangeAnim2
Trigger1 = Time = 0
trigger1 = SelfAnimExist(19230) = 1;15920
value = 886621
;trigger1 = SelfAnimExist(15920) = 1;15920
;value = 886621

[State 886064]   
type = ChangeAnim2
Trigger1 = Time = 0
trigger1 != SelfAnimExist(19230) = 0;15920
value = 883631
;trigger1 != SelfAnimExist(15920) = 0;15920
;value = 883631





[State 886064,ＯＸ开始]  
type = PlaySnd
trigger1 = AnimElem = 3
value = 4218,22
[State 886064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 9
value = 4218,21
[State 886064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 15
value = 4218,22
[State 886064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 21
value = 4218,21
[State 886064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 27
value = 4218,21
[State 886064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 33
value = 4218,22
[State 886064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 39
value = 4218,21
[State 886064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 45
value = 4218,21
[State 886064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 51
value = 4218,21
[State 886064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 57
value = 4218,22
[State 886064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 63
value = 4218,22
[State 886064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 69
value = 4218,21
[State 886064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 75
value = 4218,21
[State 886064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 81
value = 4218,22
[State 886064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 87
value = 4218,21
[State 886064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 93
value = 4218,22
[State 886064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 99
value = 4218,21
[State 886064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 111
value = 4218,21
[State 886064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 123
value = 4218,21
[State 886064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 135
value = 4218,21
[State 886064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 147
value = 4218,21
[State 886064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 159
value = 4218,21
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 171
value = 4218,21
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 179
value = 4218,22
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 175
value = 4218,23
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 183
value = 4218,21


[State 886064,多次伤害]
type = LifeAdd
trigger1 = AnimElem = 9 || AnimElem = 15 || AnimElem = 21 || AnimElem = 27
trigger2 = AnimElem = 33 || AnimElem = 39 || AnimElem = 45 || AnimElem = 51
trigger3 = AnimElem = 57 || AnimElem = 63 || AnimElem = 69 || AnimElem = 75
trigger4 = AnimElem = 81 || AnimElem = 87 || AnimElem = 93 || AnimElem = 99
trigger5 = AnimElem = 105 || AnimElem = 111 || AnimElem = 117 || AnimElem = 123
trigger6 = AnimElem = 129 || AnimElem = 135 || AnimElem = 141
trigger7 = AnimElem = 147 || AnimElem = 153 || AnimElem = 159
trigger8 = AnimElem = 165 || AnimElem = 171
value = -3

[State 886064, 继续伤害] 
type = LifeAdd
trigger1 = AnimElem = 175
value = -30

[State 886064, 最后伤害]
type = LifeAdd
trigger1 = AnimElem = 177 || AnimElem = 179 || AnimElem = 181
value = -20

[State 886064, 减气]
type = PowerAdd
trigger1 = AnimElem = 3
value = -25

[State 886064, 多次减气]
type = PowerAdd
trigger1 = AnimElem = 9 || AnimElem = 15 || AnimElem = 21 || AnimElem = 27
trigger2 = AnimElem = 33 || AnimElem = 39 || AnimElem = 45 || AnimElem = 51
trigger3 = AnimElem = 57 || AnimElem = 63 || AnimElem = 69 || AnimElem = 75
trigger4 = AnimElem = 81 || AnimElem = 87 || AnimElem = 93 || AnimElem = 99
trigger5 = AnimElem = 105 || AnimElem = 111 || AnimElem = 117 || AnimElem = 123
trigger6 = AnimElem = 129 || AnimElem = 135 || AnimElem = 141
trigger7 = AnimElem = 147 || AnimElem = 153 || AnimElem = 159
trigger8 = AnimElem = 165 || AnimElem = 171
value = -12

[State 886064, 继续减气]
type = PowerAdd
trigger1 = AnimElem = 175
value = -100

[State 886064, 最后减气]
type = PowerAdd
trigger1 = AnimElem = 177 || AnimElem = 179 || AnimElem = 181
value = -50

[Statedef 886065]
type    = A
movetype= H
physics = N
velset = 0,0
poweradd = 40

[State 886065, 调整]
type = VelAdd
Trigger1 = 1
y = 10

[State 886065, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 1
value = 4218,22

[State 886065, aa1]
type = ChangeState
triggerall = Vel Y > 0   
triggerall = Pos Y >= -20
triggerall = alive
triggerall = CanRecover
trigger1 = Command = "recovery"
value = 5110

[State 886065, aa2]
type = SelfState
triggerall = Vel Y > 0
triggerall = alive
triggerall = CanRecover
trigger1 = Command = "recovery"
value = 5110

[State 886065, aa3]
type = SelfState
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 0
value = 5110


;FINN_DEL_CODIGO_HORSE
;=====================================;
;======================================
;=======================================;








;=============================================
;=============================================
;NELSON_CODIGO
;BY_SHADALOO_666
;rp_NELSON
[Statedef 838766]
type = S
physics = S
movetype = A
ctrl = 0
anim = 838766
velset = 0,0

[State 836061,00 ]
type = NotHitBy
trigger1 = Time >= 0
value = SCA

[State 40000, 1]
type = PlaySnd
trigger1 = AnimElem = 1
value = 5,3
Volume = 200

[State 836061]
type = TargetState
trigger1 = MoveHit = 1
trigger1 = NumTarget
value = 836064

[State 836061,] 
type = ChangeState 
trigger1 = MoveHit = 1
trigger1 = NumTarget
value = 836072

[State 836061]
type = HitDef
trigger1 = time >= 10
attr = S, ST         
hitflag = M   
priority = 7, miss  
sparkno = -1     
sprpriority = 2   
p2facing = 1   
fall = 0  

[State 40000, 4]
type = changeState
trigger1 = animtime = 0
value = 0
ctrl = 1

[Statedef 836072,]
type = S
movetype = A
physics = N
velset = 0,0
anim = 838017
ctrl = 0
sprpriority = 3

[State 838016, ooxx]
type =Explod
triggerall=numexplod(838021)=0
trigger1 = p2stateno !=836065
trigger2 = animelem = 1
;trigger2 =time=0; animelem = 1
id=838021
anim = 838016
pos = 0,0
postype = p1
sprpriority = 0;-99
supermove = 1
bindtime = -1
ownpal = 1

;bug
;[State 558016, ooxx]
;type = null ;explod
;trigger1 = p2stateno !=6065
;trigger2 = animelem = 1
;anim = 558016                     
;pos = 0,0
;postype = p1
;sprpriority = -99
;supermove = 1
;bindtime = -1
;ownpal = 1

[State 836072]
type = AssertSpecial
trigger1 = 1
flag = noshadow

[State 836072, ]
type = NotHitBy
trigger1 = Time >= 0
value = SCA,NA,SA,HA,NT,ST,HT

[State 836072]
type = PlaySnd
trigger1 = time = 0
value = 0,44

[State 836072]
type = PlaySnd
trigger1 = AnimElem = 3 || AnimElem = 8 || AnimElem = 14 || AnimElem = 20 || AnimElem = 26
trigger2 = AnimElem = 32 || AnimElem = 38 || AnimElem = 44 || AnimElem = 50
trigger3 = AnimElem = 56 || AnimElem = 62 || AnimElem = 68 || AnimElem = 74
trigger4 = AnimElem = 80 || AnimElem = 86 || AnimElem = 92 || AnimElem = 98
trigger5 = AnimElem = 104 || AnimElem = 110 || AnimElem = 116 || AnimElem = 122
trigger6 = AnimElem = 128 || AnimElem = 134 || AnimElem = 140
trigger7 = AnimElem = 146 || AnimElem = 152 || AnimElem = 158
trigger8 = AnimElem = 164 || AnimElem = 170 
value = 0, 43

[State 836072]
type = PlaySnd
trigger1 = AnimElem = 4 || AnimElem = 11 || AnimElem = 17 || AnimElem = 23
trigger2 = AnimElem = 29 || AnimElem = 35 || AnimElem = 41 || AnimElem = 47
trigger3 = AnimElem = 53 || AnimElem = 59 || AnimElem = 65 || AnimElem = 71
trigger4 = AnimElem = 77 || AnimElem = 83 || AnimElem = 89 || AnimElem = 95
trigger5 = AnimElem = 101 || AnimElem = 107 || AnimElem = 113 || AnimElem = 119
trigger6 = AnimElem = 125 || AnimElem = 131 || AnimElem = 137 || AnimElem = 143
trigger7 = AnimElem = 149 || AnimElem = 155 || AnimElem = 161 || AnimElem = 168
trigger8 = AnimElem = 181 
value = 0, 42

[State 836072]
type = PlaySnd
trigger1 = AnimElem = 181
value = 0, 41

[State 836072]
type = PlaySnd
trigger1 = AnimElem = 173 || AnimElem = 175 || AnimElem = 177 || AnimElem = 179 
value = 0, 40

[State 836072]
type = PlaySnd
trigger1 = AnimElem = 173
value = 0, 39

[State 836072]
type = PlaySnd
trigger1 = AnimElem = 173
value = 0, 38

[State 836072]
type = BindToTarget
trigger1 = Time >= 0
id = -1
pos = 0, 20,food 

[State 836072,]
type = TargetState
trigger1 = AnimTime = 0    
value = 6065

[State 836072,]
type = ChangeState
trigger1 = AnimTime = 0
value = 5020


[Statedef 836064]
type    = A
movetype= H
physics = N
velset = 0,0

[State 836064] 
type = ChangeAnim2
Trigger1 = Time = 0
trigger1 = SelfAnimExist(19230) = 1;17240
value = 836621
;trigger1 = SelfAnimExist(17240) = 1;17240
;value = 836621

[State 836064]   
type = ChangeAnim2
Trigger1 = Time = 0
trigger1 != SelfAnimExist(19230) = 0;17240
value = 833631
;trigger1 != SelfAnimExist(19230) = 0;17240
;value = 833631





[State 836064,ＯＸ开始]  
type = PlaySnd
trigger1 = AnimElem = 3
value = 4218,22
[State 836064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 9
value = 4218,21
[State 836064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 15
value = 4218,22
[State 836064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 21
value = 4218,21
[State 836064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 27
value = 4218,21
[State 836064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 33
value = 4218,22
[State 836064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 39
value = 4218,21
[State 836064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 45
value = 4218,21
[State 836064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 51
value = 4218,21
[State 836064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 57
value = 4218,22
[State 836064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 63
value = 4218,22
[State 836064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 69
value = 4218,21
[State 836064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 75
value = 4218,21
[State 836064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 81
value = 4218,22
[State 836064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 87
value = 4218,21
[State 836064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 93
value = 4218,22
[State 836064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 99
value = 4218,21
[State 836064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 111
value = 4218,21
[State 836064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 123
value = 4218,21
[State 836064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 135
value = 4218,21
[State 836064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 147
value = 4218,21
[State 836064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 159
value = 4218,21
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 171
value = 4218,21
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 179
value = 4218,22
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 175
value = 4218,23
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 183
value = 4218,21


[State 836064,多次伤害]
type = LifeAdd
trigger1 = AnimElem = 9 || AnimElem = 15 || AnimElem = 21 || AnimElem = 27
trigger2 = AnimElem = 33 || AnimElem = 39 || AnimElem = 45 || AnimElem = 51
trigger3 = AnimElem = 57 || AnimElem = 63 || AnimElem = 69 || AnimElem = 75
trigger4 = AnimElem = 81 || AnimElem = 87 || AnimElem = 93 || AnimElem = 99
trigger5 = AnimElem = 105 || AnimElem = 111 || AnimElem = 117 || AnimElem = 123
trigger6 = AnimElem = 129 || AnimElem = 135 || AnimElem = 141
trigger7 = AnimElem = 147 || AnimElem = 153 || AnimElem = 159
trigger8 = AnimElem = 165 || AnimElem = 171
value = -3

[State 836064, 继续伤害] 
type = LifeAdd
trigger1 = AnimElem = 175
value = -30

[State 836064, 最后伤害]
type = LifeAdd
trigger1 = AnimElem = 177 || AnimElem = 179 || AnimElem = 181
value = -20

[State 836064, 减气]
type = PowerAdd
trigger1 = AnimElem = 3
value = -25

[State 836064, 多次减气]
type = PowerAdd
trigger1 = AnimElem = 9 || AnimElem = 15 || AnimElem = 21 || AnimElem = 27
trigger2 = AnimElem = 33 || AnimElem = 39 || AnimElem = 45 || AnimElem = 51
trigger3 = AnimElem = 57 || AnimElem = 63 || AnimElem = 69 || AnimElem = 75
trigger4 = AnimElem = 81 || AnimElem = 87 || AnimElem = 93 || AnimElem = 99
trigger5 = AnimElem = 105 || AnimElem = 111 || AnimElem = 117 || AnimElem = 123
trigger6 = AnimElem = 129 || AnimElem = 135 || AnimElem = 141
trigger7 = AnimElem = 147 || AnimElem = 153 || AnimElem = 159
trigger8 = AnimElem = 165 || AnimElem = 171
value = -12

[State 836064, 继续减气]
type = PowerAdd
trigger1 = AnimElem = 175
value = -100

[State 836064, 最后减气]
type = PowerAdd
trigger1 = AnimElem = 177 || AnimElem = 179 || AnimElem = 181
value = -50

[Statedef 836065]
type    = A
movetype= H
physics = N
velset = 0,0
poweradd = 40

[State 836065, 调整]
type = VelAdd
Trigger1 = 1
y = 10

[State 836065, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 1
value = 4218,22

[State 836065, aa1]
type = ChangeState
triggerall = Vel Y > 0   
triggerall = Pos Y >= -20
triggerall = alive
triggerall = CanRecover
trigger1 = Command = "recovery"
value = 5110

[State 836065, aa2]
type = SelfState
triggerall = Vel Y > 0
triggerall = alive
triggerall = CanRecover
trigger1 = Command = "recovery"
value = 5110

[State 836065, aa3]
type = SelfState
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 0
value = 5110


;FINN_DEL_CODIGO_HORSE
;=====================================;
;======================================
;=======================================;





























;TETEO_CODIGO_77
;BY_SHADALOO_666
;rp_TETEO
[Statedef 778766]
type = S
physics = S
movetype = A
ctrl = 0
anim = 778766
velset = 0,0

[State 776061,00 ]
type = NotHitBy
trigger1 = Time >= 0
value = SCA

[State 40000, 1]
type = PlaySnd
trigger1 = AnimElem = 1
value = 5,3
Volume = 200

[State 776061]
type = TargetState
trigger1 = MoveHit = 1
trigger1 = NumTarget
value = 776064

[State 776061,] 
type = ChangeState 
trigger1 = MoveHit = 1
trigger1 = NumTarget
value = 776072

[State 776061]
type = HitDef
trigger1 = time >= 10
attr = S, ST         
hitflag = M   
priority = 7, miss  
sparkno = -1     
sprpriority = 2   
p2facing = 1   
fall = 0  

[State 40000, 4]
type = changeState
trigger1 = animtime = 0
value = 0
ctrl = 1

[Statedef 776072,]
type = S
movetype = A
physics = N
velset = 0,0
anim = 778017
ctrl = 0
sprpriority = 3

[State 778016, ooxx]
type =Explod
triggerall=numexplod(8021)=0
trigger1 = p2stateno !=6065
trigger2 = animelem = 1
;trigger2 =time=0; animelem = 1
id=8021
anim = 778016
pos = 0,0
postype = p1
sprpriority = 0;-99
supermove = 1
bindtime = -1
ownpal = 1

;bug
;[State 558016, ooxx]
;type = null ;explod
;trigger1 = p2stateno !=6065
;trigger2 = animelem = 1
;anim = 558016                     
;pos = 0,0
;postype = p1
;sprpriority = -99
;supermove = 1
;bindtime = -1
;ownpal = 1

[State 776072]
type = AssertSpecial
trigger1 = 1
flag = noshadow

[State 776072, ]
type = NotHitBy
trigger1 = Time >= 0
value = SCA,NA,SA,HA,NT,ST,HT

[State 776072]
type = PlaySnd
trigger1 = time = 0
value = 0,44

[State 776072]
type = PlaySnd
trigger1 = AnimElem = 3 || AnimElem = 8 || AnimElem = 14 || AnimElem = 20 || AnimElem = 26
trigger2 = AnimElem = 32 || AnimElem = 38 || AnimElem = 44 || AnimElem = 50
trigger3 = AnimElem = 56 || AnimElem = 62 || AnimElem = 68 || AnimElem = 74
trigger4 = AnimElem = 80 || AnimElem = 86 || AnimElem = 92 || AnimElem = 98
trigger5 = AnimElem = 104 || AnimElem = 110 || AnimElem = 116 || AnimElem = 122
trigger6 = AnimElem = 128 || AnimElem = 134 || AnimElem = 140
trigger7 = AnimElem = 146 || AnimElem = 152 || AnimElem = 158
trigger8 = AnimElem = 164 || AnimElem = 170 
value = 777, 777

[State 776072]
type = PlaySnd
trigger1 = AnimElem = 4 || AnimElem = 11 || AnimElem = 17 || AnimElem = 23
trigger2 = AnimElem = 29 || AnimElem = 35 || AnimElem = 41 || AnimElem = 47
trigger3 = AnimElem = 53 || AnimElem = 59 || AnimElem = 65 || AnimElem = 71
trigger4 = AnimElem = 77 || AnimElem = 83 || AnimElem = 89 || AnimElem = 95
trigger5 = AnimElem = 101 || AnimElem = 107 || AnimElem = 113 || AnimElem = 119
trigger6 = AnimElem = 125 || AnimElem = 131 || AnimElem = 137 || AnimElem = 143
trigger7 = AnimElem = 149 || AnimElem = 155 || AnimElem = 161 || AnimElem = 168
trigger8 = AnimElem = 181 
value = 777, 777

[State 776072]
type = PlaySnd
trigger1 = AnimElem = 181
value = 777, 777

[State 776072]
type = PlaySnd
trigger1 = AnimElem = 173 || AnimElem = 175 || AnimElem = 177 || AnimElem = 179 
value = 777, 777

[State 776072]

type = PlaySnd
trigger1 = AnimElem = 173
value = 777, 777

[State 776072]
type = PlaySnd
trigger1 = AnimElem = 173
value = 777,777

[State 776072]
type = BindToTarget
trigger1 = Time >= 0
id = -1
pos = 0, 20,food 

[State 776072,]
type = TargetState
trigger1 = AnimTime = 0    
value = 6065

[State 776072,]
type = ChangeState
trigger1 = AnimTime = 0
value = 5020


[Statedef 776064]
type    = A
movetype= H
physics = N
velset = 0,0

;animation_teteo_777
[State 776064] 
type = ChangeAnim2
Trigger1 = Time = 0
trigger1 = SelfAnimExist(19230) = 1;777
value = 776621
;trigger1 = SelfAnimExist(777) = 1 ;777
;value = 776621


;animation_teteo_777
[State 776064]   
type = ChangeAnim2
Trigger1 = Time = 0
trigger1 != SelfAnimExist(19230) = 0 ;777
value = 773631
;trigger1 != SelfAnimExist(777) = 0 ;777
;value = 773631





[State 776064,ＯＸ开始]  
type = PlaySnd
trigger1 = AnimElem = 3
value = 4218,22
[State 776064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 9
value = 4218,21
[State 776064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 15
value = 4218,22
[State 776064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 21
value = 4218,21
[State 776064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 27
value = 4218,21
[State 776064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 33
value = 4218,22
[State 776064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 39
value = 4218,21
[State 776064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 45
value = 4218,21
[State 776064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 51
value = 4218,21
[State 776064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 57
value = 4218,22
[State 776064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 63
value = 4218,22
[State 776064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 69
value = 4218,21
[State 776064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 75
value = 4218,21
[State 776064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 81
value = 4218,22
[State 776064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 87
value = 4218,21
[State 776064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 93
value = 4218,22
[State 776064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 99
value = 4218,21
[State 776064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 111
value = 4218,21
[State 776064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 123
value = 4218,21
[State 776064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 135
value = 4218,21
[State 776064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 147
value = 4218,21
[State 776064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 159
value = 4218,21
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 171
value = 4218,21
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 179
value = 4218,22
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 175
value = 4218,23
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 183
value = 4218,21


[State 776064,多次伤害]
type = LifeAdd
trigger1 = AnimElem = 9 || AnimElem = 15 || AnimElem = 21 || AnimElem = 27
trigger2 = AnimElem = 33 || AnimElem = 39 || AnimElem = 45 || AnimElem = 51
trigger3 = AnimElem = 57 || AnimElem = 63 || AnimElem = 69 || AnimElem = 75
trigger4 = AnimElem = 81 || AnimElem = 87 || AnimElem = 93 || AnimElem = 99
trigger5 = AnimElem = 105 || AnimElem = 111 || AnimElem = 117 || AnimElem = 123
trigger6 = AnimElem = 129 || AnimElem = 135 || AnimElem = 141
trigger7 = AnimElem = 147 || AnimElem = 153 || AnimElem = 159
trigger8 = AnimElem = 165 || AnimElem = 171
value = -3

[State 776064, 继续伤害] 
type = LifeAdd
trigger1 = AnimElem = 175
value = -30

[State 776064, 最后伤害]
type = LifeAdd
trigger1 = AnimElem = 177 || AnimElem = 179 || AnimElem = 181
value = -20

[State 776064, 减气]
type = PowerAdd
trigger1 = AnimElem = 3
value = -25

[State 776064, 多次减气]
type = PowerAdd
trigger1 = AnimElem = 9 || AnimElem = 15 || AnimElem = 21 || AnimElem = 27
trigger2 = AnimElem = 33 || AnimElem = 39 || AnimElem = 45 || AnimElem = 51
trigger3 = AnimElem = 57 || AnimElem = 63 || AnimElem = 69 || AnimElem = 75
trigger4 = AnimElem = 81 || AnimElem = 87 || AnimElem = 93 || AnimElem = 99
trigger5 = AnimElem = 105 || AnimElem = 111 || AnimElem = 117 || AnimElem = 123
trigger6 = AnimElem = 129 || AnimElem = 135 || AnimElem = 141
trigger7 = AnimElem = 147 || AnimElem = 153 || AnimElem = 159
trigger8 = AnimElem = 165 || AnimElem = 171
value = -12

[State 776064, 继续减气]
type = PowerAdd
trigger1 = AnimElem = 175
value = -100

[State 776064, 最后减气]
type = PowerAdd
trigger1 = AnimElem = 177 || AnimElem = 179 || AnimElem = 181
value = -50

[Statedef 776065]
type    = A
movetype= H
physics = N
velset = 0,0
poweradd = 40

[State 776065, 调整]
type = VelAdd
Trigger1 = 1
y = 10

[State 776065, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 1
value = 4218,22

[State 776065, aa1]
type = ChangeState
triggerall = Vel Y > 0   
triggerall = Pos Y >= -20
triggerall = alive
triggerall = CanRecover
trigger1 = Command = "recovery"
value = 5110

[State 776065, aa2]
type = SelfState
triggerall = Vel Y > 0
triggerall = alive
triggerall = CanRecover
trigger1 = Command = "recovery"
value = 5110

[State 776065, aa3]
type = SelfState
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 0
value = 5110
;========================================
;=========================================;
;=========================================;
;teteo_fin
;==========================================;


;AnalTeo
;BY_SHADALOO_666
;rp_AnalTeo
[Statedef 688766]
type = S
physics = S
movetype = A
ctrl = 0
anim = 688766
velset = 0,0

[State 686061,00 ]
type = NotHitBy
trigger1 = Time >= 0
value = SCA

[State 40000, 1]
type = PlaySnd
trigger1 = AnimElem = 1
value = 5,3
Volume = 200

[State 686061]
type = TargetState
trigger1 = MoveHit = 1
trigger1 = NumTarget
value = 686064

[State 686061,] 
type = ChangeState 
trigger1 = MoveHit = 1
trigger1 = NumTarget
value = 686072

[State 686061]
type = HitDef
trigger1 = time >= 10
attr = S, ST         
hitflag = M   
priority = 7, miss  
sparkno = -1     
sprpriority = 2   
p2facing = 1   
fall = 0  

[State 40000, 4]
type = changeState
trigger1 = animtime = 0
value = 0
ctrl = 1

[Statedef 686072,]
type = S
movetype = A
physics = N
velset = 0,0
anim = 688017
ctrl = 0
sprpriority = 3

[State 688016, ooxx]
type =Explod
triggerall=numexplod(8021)=0
trigger1 = p2stateno !=6065
trigger2 = animelem = 1
;trigger2 =time=0; animelem = 1
id=8021
anim = 688016
pos = 0,0
postype = p1
sprpriority = 0;-99
supermove = 1
bindtime = -1
ownpal = 1

;bug
;[State 558016, ooxx]
;type = null ;explod
;trigger1 = p2stateno !=6065
;trigger2 = animelem = 1
;anim = 558016                     
;pos = 0,0
;postype = p1
;sprpriority = -99
;supermove = 1
;bindtime = -1
;ownpal = 1

[State 686072]
type = AssertSpecial
trigger1 = 1
flag = noshadow

[State 686072, ]
type = NotHitBy
trigger1 = Time >= 0
value = SCA,NA,SA,HA,NT,ST,HT

[State 686072]
type = PlaySnd
trigger1 = time = 0
value = 0,44

[State 686072]
type = PlaySnd
trigger1 = AnimElem = 3 || AnimElem = 8 || AnimElem = 14 || AnimElem = 20 || AnimElem = 26
trigger2 = AnimElem = 32 || AnimElem = 38 || AnimElem = 44 || AnimElem = 50
trigger3 = AnimElem = 56 || AnimElem = 62 || AnimElem = 68 || AnimElem = 74
trigger4 = AnimElem = 80 || AnimElem = 86 || AnimElem = 92 || AnimElem = 98
trigger5 = AnimElem = 104 || AnimElem = 110 || AnimElem = 116 || AnimElem = 122
trigger6 = AnimElem = 128 || AnimElem = 134 || AnimElem = 140
trigger7 = AnimElem = 146 || AnimElem = 152 || AnimElem = 158
trigger8 = AnimElem = 164 || AnimElem = 170 
value = 0, 43

[State 686072]
type = PlaySnd
trigger1 = AnimElem = 4 || AnimElem = 11 || AnimElem = 17 || AnimElem = 23
trigger2 = AnimElem = 29 || AnimElem = 35 || AnimElem = 41 || AnimElem = 47
trigger3 = AnimElem = 53 || AnimElem = 59 || AnimElem = 65 || AnimElem = 71
trigger4 = AnimElem = 77 || AnimElem = 83 || AnimElem = 89 || AnimElem = 95
trigger5 = AnimElem = 101 || AnimElem = 107 || AnimElem = 113 || AnimElem = 119
trigger6 = AnimElem = 125 || AnimElem = 131 || AnimElem = 137 || AnimElem = 143
trigger7 = AnimElem = 149 || AnimElem = 155 || AnimElem = 161 || AnimElem = 168
trigger8 = AnimElem = 181 
value = 0, 42

[State 686072]
type = PlaySnd
trigger1 = AnimElem = 181
value = 0, 41

[State 686072]
type = PlaySnd
trigger1 = AnimElem = 173 || AnimElem = 175 || AnimElem = 177 || AnimElem = 179 
value = 0, 40

[State 686072]
type = PlaySnd
trigger1 = AnimElem = 173
value = 0, 39

[State 686072]
type = PlaySnd
trigger1 = AnimElem = 173
value = 0, 38

[State 686072]
type = BindToTarget
trigger1 = Time >= 0
id = -1
pos = 0, 20,food 

[State 686072,]
type = TargetState
trigger1 = AnimTime = 0    
value = 6065

[State 686072,]
type = ChangeState
trigger1 = AnimTime = 0
value = 5020


[Statedef 686064]
type    = A
movetype= H
physics = N
velset = 0,0

[State 686064] 
type = ChangeAnim2
Trigger1 = Time = 0
trigger1 = SelfAnimExist(19230) = 1 ;20299
value = 686621
;trigger1 = SelfAnimExist(19230) = 1
;value = 686621

[State 686064]   
type = ChangeAnim2
Trigger1 = Time = 0
trigger1 != SelfAnimExist(19230) = 0 ;20299
value = 683631
;trigger1 != SelfAnimExist(19230) = 0
;value = 683631





[State 686064,ＯＸ开始]  
type = PlaySnd
trigger1 = AnimElem = 3
value = 4218,22
[State 686064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 9
value = 4218,21
[State 686064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 15
value = 4218,22
[State 686064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 21
value = 4218,21
[State 686064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 27
value = 4218,21
[State 686064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 33
value = 4218,22
[State 686064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 39
value = 4218,21
[State 686064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 45
value = 4218,21
[State 686064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 51
value = 4218,21
[State 686064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 57
value = 4218,22
[State 686064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 63
value = 4218,22
[State 686064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 69
value = 4218,21
[State 686064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 75
value = 4218,21
[State 686064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 81
value = 4218,22
[State 686064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 87
value = 4218,21
[State 686064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 93
value = 4218,22
[State 686064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 99
value = 4218,21
[State 686064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 111
value = 4218,21
[State 686064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 123
value = 4218,21
[State 686064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 135
value = 4218,21
[State 686064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 147
value = 4218,21
[State 686064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 159
value = 4218,21
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 171
value = 4218,21
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 179
value = 4218,22
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 175
value = 4218,23
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 183
value = 4218,21


[State 686064,多次伤害]
type = LifeAdd
trigger1 = AnimElem = 9 || AnimElem = 15 || AnimElem = 21 || AnimElem = 27
trigger2 = AnimElem = 33 || AnimElem = 39 || AnimElem = 45 || AnimElem = 51
trigger3 = AnimElem = 57 || AnimElem = 63 || AnimElem = 69 || AnimElem = 75
trigger4 = AnimElem = 81 || AnimElem = 87 || AnimElem = 93 || AnimElem = 99
trigger5 = AnimElem = 105 || AnimElem = 111 || AnimElem = 117 || AnimElem = 123
trigger6 = AnimElem = 129 || AnimElem = 135 || AnimElem = 141
trigger7 = AnimElem = 147 || AnimElem = 153 || AnimElem = 159
trigger8 = AnimElem = 165 || AnimElem = 171
value = -3

[State 686064, 继续伤害] 
type = LifeAdd
trigger1 = AnimElem = 175
value = -30

[State 686064, 最后伤害]
type = LifeAdd
trigger1 = AnimElem = 177 || AnimElem = 179 || AnimElem = 181
value = -20

[State 686064, 减气]
type = PowerAdd
trigger1 = AnimElem = 3
value = -25

[State 686064, 多次减气]
type = PowerAdd
trigger1 = AnimElem = 9 || AnimElem = 15 || AnimElem = 21 || AnimElem = 27
trigger2 = AnimElem = 33 || AnimElem = 39 || AnimElem = 45 || AnimElem = 51
trigger3 = AnimElem = 57 || AnimElem = 63 || AnimElem = 69 || AnimElem = 75
trigger4 = AnimElem = 81 || AnimElem = 87 || AnimElem = 93 || AnimElem = 99
trigger5 = AnimElem = 105 || AnimElem = 111 || AnimElem = 117 || AnimElem = 123
trigger6 = AnimElem = 129 || AnimElem = 135 || AnimElem = 141
trigger7 = AnimElem = 147 || AnimElem = 153 || AnimElem = 159
trigger8 = AnimElem = 165 || AnimElem = 171
value = -12

[State 686064, 继续减气]
type = PowerAdd
trigger1 = AnimElem = 175
value = -100

[State 686064, 最后减气]
type = PowerAdd
trigger1 = AnimElem = 177 || AnimElem = 179 || AnimElem = 181
value = -50

[Statedef 686065]
type    = A
movetype= H
physics = N
velset = 0,0
poweradd = 40

[State 686065, 调整]
type = VelAdd
Trigger1 = 1
y = 10

[State 686065, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 1
value = 4218,22

[State 686065, aa1]
type = ChangeState
triggerall = Vel Y > 0   
triggerall = Pos Y >= -20
triggerall = alive
triggerall = CanRecover
trigger1 = Command = "recovery"
value = 5110

[State 686065, aa2]
type = SelfState
triggerall = Vel Y > 0
triggerall = alive
triggerall = CanRecover
trigger1 = Command = "recovery"
value = 5110

[State 686065, aa3]
type = SelfState
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 0
value = 5110



;=====================================;
;======================================
;=======================================;




;=======================================;
;======================================;
;Jack-O-pose
;BY_SHADALOO_666
;rp_Jack-O-pose
[Statedef 678766]
type = S
physics = S
movetype = A
ctrl = 0
anim = 678766
velset = 0,0

[State 676061,00 ]
type = NotHitBy
trigger1 = Time >= 0
value = SCA

[State 40000, 1]
type = PlaySnd
trigger1 = AnimElem = 1
value = 5,3
Volume = 200

[State 676061]
type = TargetState
trigger1 = MoveHit = 1
trigger1 = NumTarget
value = 676064

[State 676061,] 
type = ChangeState 
trigger1 = MoveHit = 1
trigger1 = NumTarget
value = 676072

[State 676061]
type = HitDef
trigger1 = time >= 10
attr = S, ST         
hitflag = M   
priority = 7, miss  
sparkno = -1     
sprpriority = 2   
p2facing = 1   
fall = 0  

[State 40000, 4]
type = changeState
trigger1 = animtime = 0
value = 0
ctrl = 1

[Statedef 676072,]
type = S
movetype = A
physics = N
velset = 0,0
anim = 678017
ctrl = 0
sprpriority = 3

[State 678016, ooxx]
type =Explod
triggerall=numexplod(8021)=0
trigger1 = p2stateno !=6065
trigger2 = animelem = 1
;trigger2 =time=0; animelem = 1
id=8021
anim = 678016
pos = 0,0
postype = p1
sprpriority = 0;-99
supermove = 1
bindtime = -1
ownpal = 1

;bug
;[State 558016, ooxx]
;type = null ;explod
;trigger1 = p2stateno !=6065
;trigger2 = animelem = 1
;anim = 558016                     
;pos = 0,0
;postype = p1
;sprpriority = -99
;supermove = 1
;bindtime = -1
;ownpal = 1

[State 676072]
type = AssertSpecial
trigger1 = 1
flag = noshadow

[State 676072, ]
type = NotHitBy
trigger1 = Time >= 0
value = SCA,NA,SA,HA,NT,ST,HT

[State 676072]
type = PlaySnd
trigger1 = time = 0
value = 0,44

[State 676072]
type = PlaySnd
trigger1 = AnimElem = 3 || AnimElem = 8 || AnimElem = 14 || AnimElem = 20 || AnimElem = 26
trigger2 = AnimElem = 32 || AnimElem = 38 || AnimElem = 44 || AnimElem = 50
trigger3 = AnimElem = 56 || AnimElem = 62 || AnimElem = 68 || AnimElem = 74
trigger4 = AnimElem = 80 || AnimElem = 86 || AnimElem = 92 || AnimElem = 98
trigger5 = AnimElem = 104 || AnimElem = 110 || AnimElem = 116 || AnimElem = 122
trigger6 = AnimElem = 128 || AnimElem = 134 || AnimElem = 140
trigger7 = AnimElem = 146 || AnimElem = 152 || AnimElem = 158
trigger8 = AnimElem = 164 || AnimElem = 170 
value = 0, 43

[State 676072]
type = PlaySnd
trigger1 = AnimElem = 4 || AnimElem = 11 || AnimElem = 17 || AnimElem = 23
trigger2 = AnimElem = 29 || AnimElem = 35 || AnimElem = 41 || AnimElem = 47
trigger3 = AnimElem = 53 || AnimElem = 59 || AnimElem = 65 || AnimElem = 71
trigger4 = AnimElem = 77 || AnimElem = 83 || AnimElem = 89 || AnimElem = 95
trigger5 = AnimElem = 101 || AnimElem = 107 || AnimElem = 113 || AnimElem = 119
trigger6 = AnimElem = 125 || AnimElem = 131 || AnimElem = 137 || AnimElem = 143
trigger7 = AnimElem = 149 || AnimElem = 155 || AnimElem = 161 || AnimElem = 168
trigger8 = AnimElem = 181 
value = 0, 42

[State 676072]
type = PlaySnd
trigger1 = AnimElem = 181
value = 0, 41

[State 676072]
type = PlaySnd
trigger1 = AnimElem = 173 || AnimElem = 175 || AnimElem = 177 || AnimElem = 179 
value = 0, 40

[State 676072]
type = PlaySnd
trigger1 = AnimElem = 173
value = 0, 39

[State 676072]
type = PlaySnd
trigger1 = AnimElem = 173
value = 0, 38

[State 676072]
type = BindToTarget
trigger1 = Time >= 0
id = -1
pos = 0, 20,food 

[State 676072,]
type = TargetState
trigger1 = AnimTime = 0    
value = 6065

[State 676072,]
type = ChangeState
trigger1 = AnimTime = 0
value = 5020


[Statedef 676064]
type    = A
movetype= H
physics = N
velset = 0,0

[State 676064] 
type = ChangeAnim2
Trigger1 = Time = 0
trigger1 = SelfAnimExist(19230) = 1 ;20260
value = 676621
;trigger1 = SelfAnimExist(20260) = 1;20260
;value = 676621

[State 676064]   
type = ChangeAnim2
Trigger1 = Time = 0
trigger1 != SelfAnimExist(19230) = 0 ;20260
value = 673631
;trigger1 != SelfAnimExist(20260) = 0;20260
;value = 673631





[State 676064,ＯＸ开始]  
type = PlaySnd
trigger1 = AnimElem = 3
value = 4218,22
[State 676064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 9
value = 4218,21
[State 676064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 15
value = 4218,22
[State 676064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 21
value = 4218,21
[State 676064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 27
value = 4218,21
[State 676064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 33
value = 4218,22
[State 676064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 39
value = 4218,21
[State 676064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 45
value = 4218,21
[State 676064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 51
value = 4218,21
[State 676064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 57
value = 4218,22
[State 676064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 63
value = 4218,22
[State 676064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 69
value = 4218,21
[State 676064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 75
value = 4218,21
[State 676064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 81
value = 4218,22
[State 676064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 87
value = 4218,21
[State 676064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 93
value = 4218,22
[State 676064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 99
value = 4218,21
[State 676064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 111
value = 4218,21
[State 676064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 123
value = 4218,21
[State 676064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 135
value = 4218,21
[State 676064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 147
value = 4218,21
[State 676064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 159
value = 4218,21
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 171
value = 4218,21
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 179
value = 4218,22
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 175
value = 4218,23
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 183
value = 4218,21


[State 676064,多次伤害]
type = LifeAdd
trigger1 = AnimElem = 9 || AnimElem = 15 || AnimElem = 21 || AnimElem = 27
trigger2 = AnimElem = 33 || AnimElem = 39 || AnimElem = 45 || AnimElem = 51
trigger3 = AnimElem = 57 || AnimElem = 63 || AnimElem = 69 || AnimElem = 75
trigger4 = AnimElem = 81 || AnimElem = 87 || AnimElem = 93 || AnimElem = 99
trigger5 = AnimElem = 105 || AnimElem = 111 || AnimElem = 117 || AnimElem = 123
trigger6 = AnimElem = 129 || AnimElem = 135 || AnimElem = 141
trigger7 = AnimElem = 147 || AnimElem = 153 || AnimElem = 159
trigger8 = AnimElem = 165 || AnimElem = 171
value = -3

[State 676064, 继续伤害] 
type = LifeAdd
trigger1 = AnimElem = 175
value = -30

[State 676064, 最后伤害]
type = LifeAdd
trigger1 = AnimElem = 177 || AnimElem = 179 || AnimElem = 181
value = -20

[State 676064, 减气]
type = PowerAdd
trigger1 = AnimElem = 3
value = -25

[State 676064, 多次减气]
type = PowerAdd
trigger1 = AnimElem = 9 || AnimElem = 15 || AnimElem = 21 || AnimElem = 27
trigger2 = AnimElem = 33 || AnimElem = 39 || AnimElem = 45 || AnimElem = 51
trigger3 = AnimElem = 57 || AnimElem = 63 || AnimElem = 69 || AnimElem = 75
trigger4 = AnimElem = 81 || AnimElem = 87 || AnimElem = 93 || AnimElem = 99
trigger5 = AnimElem = 105 || AnimElem = 111 || AnimElem = 117 || AnimElem = 123
trigger6 = AnimElem = 129 || AnimElem = 135 || AnimElem = 141
trigger7 = AnimElem = 147 || AnimElem = 153 || AnimElem = 159
trigger8 = AnimElem = 165 || AnimElem = 171
value = -12

[State 676064, 继续减气]
type = PowerAdd
trigger1 = AnimElem = 175
value = -100

[State 676064, 最后减气]
type = PowerAdd
trigger1 = AnimElem = 177 || AnimElem = 179 || AnimElem = 181
value = -50

[Statedef 676065]
type    = A
movetype= H
physics = N
velset = 0,0
poweradd = 40

[State 676065, 调整]
type = VelAdd
Trigger1 = 1
y = 10

[State 676065, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 1
value = 4218,22

[State 676065, aa1]
type = ChangeState
triggerall = Vel Y > 0   
triggerall = Pos Y >= -20
triggerall = alive
triggerall = CanRecover
trigger1 = Command = "recovery"
value = 5110

[State 676065, aa2]
type = SelfState
triggerall = Vel Y > 0
triggerall = alive
triggerall = CanRecover
trigger1 = Command = "recovery"
value = 5110

[State 676065, aa3]
type = SelfState
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 0
value = 5110



;=====================================;
;======================================
;=======================================;









;===============================================;
;==============================================;
;Birdie_Blow
;BY_SHADALOO_666
;rp_BLOW_birdie
[Statedef 668766]
type = S
physics = S
movetype = A
ctrl = 0
anim = 668766
velset = 0,0

[State 666061,00 ]
type = NotHitBy
trigger1 = Time >= 0
value = SCA

[State 40000, 1]
type = PlaySnd
trigger1 = AnimElem = 1
value = 5,3
Volume = 200

[State 666061]
type = TargetState
trigger1 = MoveHit = 1
trigger1 = NumTarget
value = 666064

[State 666061,] 
type = ChangeState 
trigger1 = MoveHit = 1
trigger1 = NumTarget
value = 666072

[State 666061]
type = HitDef
trigger1 = time >= 10
attr = S, ST         
hitflag = M   
priority = 7, miss  
sparkno = -1     
sprpriority = 2   
p2facing = 1   
fall = 0  

[State 40000, 4]
type = changeState
trigger1 = animtime = 0
value = 0
ctrl = 1

[Statedef 666072,]
type = S
movetype = A
physics = N
velset = 0,0
anim = 668017
ctrl = 0
sprpriority = 3

[State 668016, ooxx]
type =Explod
triggerall=numexplod(8021)=0
trigger1 = p2stateno !=6065
trigger2 = animelem = 1
;trigger2 =time=0; animelem = 1
id=8021
anim = 668016
pos = 0,0
postype = p1
sprpriority = 0;-99
supermove = 1
bindtime = -1
ownpal = 1

;bug
;[State 558016, ooxx]
;type = null ;explod
;trigger1 = p2stateno !=6065
;trigger2 = animelem = 1
;anim = 558016                     
;pos = 0,0
;postype = p1
;sprpriority = -99
;supermove = 1
;bindtime = -1
;ownpal = 1

[State 666072]
type = AssertSpecial
trigger1 = 1
flag = noshadow

[State 666072, ]
type = NotHitBy
trigger1 = Time >= 0
value = SCA,NA,SA,HA,NT,ST,HT

[State 666072]
type = PlaySnd
trigger1 = time = 0
value = 0,44

[State 666072]
type = PlaySnd
trigger1 = AnimElem = 3 || AnimElem = 8 || AnimElem = 14 || AnimElem = 20 || AnimElem = 26
trigger2 = AnimElem = 32 || AnimElem = 38 || AnimElem = 44 || AnimElem = 50
trigger3 = AnimElem = 56 || AnimElem = 62 || AnimElem = 68 || AnimElem = 74
trigger4 = AnimElem = 80 || AnimElem = 86 || AnimElem = 92 || AnimElem = 98
trigger5 = AnimElem = 104 || AnimElem = 110 || AnimElem = 116 || AnimElem = 122
trigger6 = AnimElem = 128 || AnimElem = 134 || AnimElem = 140
trigger7 = AnimElem = 146 || AnimElem = 152 || AnimElem = 158
trigger8 = AnimElem = 164 || AnimElem = 170 
value = 0, 43

[State 666072]
type = PlaySnd
trigger1 = AnimElem = 4 || AnimElem = 11 || AnimElem = 17 || AnimElem = 23
trigger2 = AnimElem = 29 || AnimElem = 35 || AnimElem = 41 || AnimElem = 47
trigger3 = AnimElem = 53 || AnimElem = 59 || AnimElem = 65 || AnimElem = 71
trigger4 = AnimElem = 77 || AnimElem = 83 || AnimElem = 89 || AnimElem = 95
trigger5 = AnimElem = 101 || AnimElem = 107 || AnimElem = 113 || AnimElem = 119
trigger6 = AnimElem = 125 || AnimElem = 131 || AnimElem = 137 || AnimElem = 143
trigger7 = AnimElem = 149 || AnimElem = 155 || AnimElem = 161 || AnimElem = 168
trigger8 = AnimElem = 181 
value = 0, 42

[State 666072]
type = PlaySnd
trigger1 = AnimElem = 181
value = 0, 41

[State 666072]
type = PlaySnd
trigger1 = AnimElem = 173 || AnimElem = 175 || AnimElem = 177 || AnimElem = 179 
value = 0, 40

[State 666072]
type = PlaySnd
trigger1 = AnimElem = 173
value = 0, 39

[State 666072]
type = PlaySnd
trigger1 = AnimElem = 173
value = 0, 38

[State 666072]
type = BindToTarget
trigger1 = Time >= 0
id = -1
pos = 0, 20,food 

[State 666072,]
type = TargetState
trigger1 = AnimTime = 0    
value = 6065

[State 666072,]
type = ChangeState
trigger1 = AnimTime = 0
value = 5020


[Statedef 666064]
type    = A
movetype= H
physics = N
velset = 0,0

[State 666064] 
type = ChangeAnim2
Trigger1 = Time = 0
trigger1 = SelfAnimExist(19230) =1;16777
value = 666621
;trigger1 = SelfAnimExist(16777) =1;16777
;value = 666621

[State 656064]   
type = ChangeAnim2
Trigger1 = Time = 0
trigger1 != SelfAnimExist(19230) = 0;16777
value = 663631
;trigger1 != SelfAnimExist(16777) = 0;16777
;value = 663631





[State 666064,ＯＸ开始]  
type = PlaySnd
trigger1 = AnimElem = 3
value = 4218,22
[State 666064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 9
value = 4218,21
[State 666064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 15
value = 4218,22
[State 666064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 21
value = 4218,21
[State 666064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 27
value = 4218,21
[State 666064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 33
value = 4218,22
[State 666064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 39
value = 4218,21
[State 666064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 45
value = 4218,21
[State 666064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 51
value = 4218,21
[State 666064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 57
value = 4218,22
[State 666064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 63
value = 4218,22
[State 666064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 69
value = 4218,21
[State 666064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 75
value = 4218,21
[State 666064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 81
value = 4218,22
[State 666064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 87
value = 4218,21
[State 666064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 93
value = 4218,22
[State 666064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 99
value = 4218,21
[State 666064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 111
value = 4218,21
[State 666064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 123
value = 4218,21
[State 666064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 135
value = 4218,21
[State 666064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 147
value = 4218,21
[State 666064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 159
value = 4218,21
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 171
value = 4218,21
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 179
value = 4218,22
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 175
value = 4218,23
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 183
value = 4218,21


[State 666064,多次伤害]
type = LifeAdd
trigger1 = AnimElem = 9 || AnimElem = 15 || AnimElem = 21 || AnimElem = 27
trigger2 = AnimElem = 33 || AnimElem = 39 || AnimElem = 45 || AnimElem = 51
trigger3 = AnimElem = 57 || AnimElem = 63 || AnimElem = 69 || AnimElem = 75
trigger4 = AnimElem = 81 || AnimElem = 87 || AnimElem = 93 || AnimElem = 99
trigger5 = AnimElem = 105 || AnimElem = 111 || AnimElem = 117 || AnimElem = 123
trigger6 = AnimElem = 129 || AnimElem = 135 || AnimElem = 141
trigger7 = AnimElem = 147 || AnimElem = 153 || AnimElem = 159
trigger8 = AnimElem = 165 || AnimElem = 171
value = -3

[State 666064, 继续伤害] 
type = LifeAdd
trigger1 = AnimElem = 175
value = -30

[State 666064, 最后伤害]
type = LifeAdd
trigger1 = AnimElem = 177 || AnimElem = 179 || AnimElem = 181
value = -20

[State 666064, 减气]
type = PowerAdd
trigger1 = AnimElem = 3
value = -25

[State 666064, 多次减气]
type = PowerAdd
trigger1 = AnimElem = 9 || AnimElem = 15 || AnimElem = 21 || AnimElem = 27
trigger2 = AnimElem = 33 || AnimElem = 39 || AnimElem = 45 || AnimElem = 51
trigger3 = AnimElem = 57 || AnimElem = 63 || AnimElem = 69 || AnimElem = 75
trigger4 = AnimElem = 81 || AnimElem = 87 || AnimElem = 93 || AnimElem = 99
trigger5 = AnimElem = 105 || AnimElem = 111 || AnimElem = 117 || AnimElem = 123
trigger6 = AnimElem = 129 || AnimElem = 135 || AnimElem = 141
trigger7 = AnimElem = 147 || AnimElem = 153 || AnimElem = 159
trigger8 = AnimElem = 165 || AnimElem = 171
value = -12

[State 666064, 继续减气]
type = PowerAdd
trigger1 = AnimElem = 175
value = -100

[State 666064, 最后减气]
type = PowerAdd
trigger1 = AnimElem = 177 || AnimElem = 179 || AnimElem = 181
value = -50

[Statedef 666065]
type    = A
movetype= H
physics = N
velset = 0,0
poweradd = 40

[State 666065, 调整]
type = VelAdd
Trigger1 = 1
y = 10

[State 666065, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 1
value = 4218,22

[State 666065, aa1]
type = ChangeState
triggerall = Vel Y > 0   
triggerall = Pos Y >= -20
triggerall = alive
triggerall = CanRecover
trigger1 = Command = "recovery"
value = 5110

[State 666065, aa2]
type = SelfState
triggerall = Vel Y > 0
triggerall = alive
triggerall = CanRecover
trigger1 = Command = "recovery"
value = 5110

[State 666065, aa3]
type = SelfState
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 0
value = 5110



;=====================================;
;======================================
;=======================================;




























;================================================;

;BLOWJOB_CODIGO
;BY_SHADALOO_666
;rp_BLOWJOB
[Statedef 658766]
type = S
physics = S
movetype = A
ctrl = 0
anim = 658766
velset = 0,0

[State 656061,00 ]
type = NotHitBy
trigger1 = Time >= 0
value = SCA

[State 40000, 1]
type = PlaySnd
trigger1 = AnimElem = 1
value = 5,3
Volume = 200

[State 656061]
type = TargetState
trigger1 = MoveHit = 1
trigger1 = NumTarget
value = 656064

[State 656061,] 
type = ChangeState 
trigger1 = MoveHit = 1
trigger1 = NumTarget
value = 656072

[State 656061]
type = HitDef
trigger1 = time >= 10
attr = S, ST         
hitflag = M   
priority = 7, miss  
sparkno = -1     
sprpriority = 2   
p2facing = 1   
fall = 0  

[State 40000, 4]
type = changeState
trigger1 = animtime = 0
value = 0
ctrl = 1

[Statedef 656072,]
type = S
movetype = A
physics = N
velset = 0,0
anim = 658017
ctrl = 0
sprpriority = 3

[State 658016, ooxx]
type =Explod
triggerall=numexplod(8021)=0
trigger1 = p2stateno !=6065
trigger2 = animelem = 1
;trigger2 =time=0; animelem = 1
id=8021
anim = 658016
pos = 0,0
postype = p1
sprpriority = 0;-99
supermove = 1
bindtime = -1
ownpal = 1

;bug
;[State 558016, ooxx]
;type = null ;explod
;trigger1 = p2stateno !=6065
;trigger2 = animelem = 1
;anim = 558016                     
;pos = 0,0
;postype = p1
;sprpriority = -99
;supermove = 1
;bindtime = -1
;ownpal = 1

[State 656072]
type = AssertSpecial
trigger1 = 1
flag = noshadow

[State 656072, ]
type = NotHitBy
trigger1 = Time >= 0
value = SCA,NA,SA,HA,NT,ST,HT

[State 656072]
type = PlaySnd
trigger1 = time = 0
value = 0,44

[State 656072]
type = PlaySnd
trigger1 = AnimElem = 3 || AnimElem = 8 || AnimElem = 14 || AnimElem = 20 || AnimElem = 26
trigger2 = AnimElem = 32 || AnimElem = 38 || AnimElem = 44 || AnimElem = 50
trigger3 = AnimElem = 56 || AnimElem = 62 || AnimElem = 68 || AnimElem = 74
trigger4 = AnimElem = 80 || AnimElem = 86 || AnimElem = 92 || AnimElem = 98
trigger5 = AnimElem = 104 || AnimElem = 110 || AnimElem = 116 || AnimElem = 122
trigger6 = AnimElem = 128 || AnimElem = 134 || AnimElem = 140
trigger7 = AnimElem = 146 || AnimElem = 152 || AnimElem = 158
trigger8 = AnimElem = 164 || AnimElem = 170 
value = 0, 43

[State 656072]
type = PlaySnd
trigger1 = AnimElem = 4 || AnimElem = 11 || AnimElem = 17 || AnimElem = 23
trigger2 = AnimElem = 29 || AnimElem = 35 || AnimElem = 41 || AnimElem = 47
trigger3 = AnimElem = 53 || AnimElem = 59 || AnimElem = 65 || AnimElem = 71
trigger4 = AnimElem = 77 || AnimElem = 83 || AnimElem = 89 || AnimElem = 95
trigger5 = AnimElem = 101 || AnimElem = 107 || AnimElem = 113 || AnimElem = 119
trigger6 = AnimElem = 125 || AnimElem = 131 || AnimElem = 137 || AnimElem = 143
trigger7 = AnimElem = 149 || AnimElem = 155 || AnimElem = 161 || AnimElem = 168
trigger8 = AnimElem = 181 
value = 0, 42

[State 656072]
type = PlaySnd
trigger1 = AnimElem = 181
value = 0, 41

[State 656072]
type = PlaySnd
trigger1 = AnimElem = 173 || AnimElem = 175 || AnimElem = 177 || AnimElem = 179 
value = 0, 40

[State 656072]
type = PlaySnd
trigger1 = AnimElem = 173
value = 0, 39

[State 656072]
type = PlaySnd
trigger1 = AnimElem = 173
value = 0, 38

[State 656072]
type = BindToTarget
trigger1 = Time >= 0
id = -1
pos = 0, 20,food 

[State 656072,]
type = TargetState
trigger1 = AnimTime = 0    
value = 6065

[State 656072,]
type = ChangeState
trigger1 = AnimTime = 0
value = 5020


[Statedef 656064]
type    = A
movetype= H
physics = N
velset = 0,0

[State 656064] 
type = ChangeAnim2
Trigger1 = Time = 0
trigger1 = SelfAnimExist(19230) = 1
value = 656621
;trigger1 = SelfAnimExist(16007) = 1
;value = 656621

[State 656064]   
type = ChangeAnim2
Trigger1 = Time = 0
trigger1 != SelfAnimExist(19230) = 0
value = 653631
;trigger1 != SelfAnimExist(16007) = 0
;value = 653631





[State 656064,ＯＸ开始]  
type = PlaySnd
trigger1 = AnimElem = 3
value = 4218,22
[State 656064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 9
value = 4218,21
[State 656064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 15
value = 4218,22
[State 656064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 21
value = 4218,21
[State 656064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 27
value = 4218,21
[State 656064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 33
value = 4218,22
[State 656064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 39
value = 4218,21
[State 656064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 45
value = 4218,21
[State 656064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 51
value = 4218,21
[State 656064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 57
value = 4218,22
[State 656064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 63
value = 4218,22
[State 656064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 69
value = 4218,21
[State 656064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 75
value = 4218,21
[State 656064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 81
value = 4218,22
[State 656064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 87
value = 4218,21
[State 656064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 93
value = 4218,22
[State 656064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 99
value = 4218,21
[State 656064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 111
value = 4218,21
[State 656064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 123
value = 4218,21
[State 656064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 135
value = 4218,21
[State 656064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 147
value = 4218,21
[State 656064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 159
value = 4218,21
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 171
value = 4218,21
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 179
value = 4218,22
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 175
value = 4218,23
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 183
value = 4218,21


[State 656064,多次伤害]
type = LifeAdd
trigger1 = AnimElem = 9 || AnimElem = 15 || AnimElem = 21 || AnimElem = 27
trigger2 = AnimElem = 33 || AnimElem = 39 || AnimElem = 45 || AnimElem = 51
trigger3 = AnimElem = 57 || AnimElem = 63 || AnimElem = 69 || AnimElem = 75
trigger4 = AnimElem = 81 || AnimElem = 87 || AnimElem = 93 || AnimElem = 99
trigger5 = AnimElem = 105 || AnimElem = 111 || AnimElem = 117 || AnimElem = 123
trigger6 = AnimElem = 129 || AnimElem = 135 || AnimElem = 141
trigger7 = AnimElem = 147 || AnimElem = 153 || AnimElem = 159
trigger8 = AnimElem = 165 || AnimElem = 171
value = -3

[State 656064, 继续伤害] 
type = LifeAdd
trigger1 = AnimElem = 175
value = -30

[State 656064, 最后伤害]
type = LifeAdd
trigger1 = AnimElem = 177 || AnimElem = 179 || AnimElem = 181
value = -20

[State 656064, 减气]
type = PowerAdd
trigger1 = AnimElem = 3
value = -25

[State 656064, 多次减气]
type = PowerAdd
trigger1 = AnimElem = 9 || AnimElem = 15 || AnimElem = 21 || AnimElem = 27
trigger2 = AnimElem = 33 || AnimElem = 39 || AnimElem = 45 || AnimElem = 51
trigger3 = AnimElem = 57 || AnimElem = 63 || AnimElem = 69 || AnimElem = 75
trigger4 = AnimElem = 81 || AnimElem = 87 || AnimElem = 93 || AnimElem = 99
trigger5 = AnimElem = 105 || AnimElem = 111 || AnimElem = 117 || AnimElem = 123
trigger6 = AnimElem = 129 || AnimElem = 135 || AnimElem = 141
trigger7 = AnimElem = 147 || AnimElem = 153 || AnimElem = 159
trigger8 = AnimElem = 165 || AnimElem = 171
value = -12

[State 656064, 继续减气]
type = PowerAdd
trigger1 = AnimElem = 175
value = -100

[State 656064, 最后减气]
type = PowerAdd
trigger1 = AnimElem = 177 || AnimElem = 179 || AnimElem = 181
value = -50

[Statedef 656065]
type    = A
movetype= H
physics = N
velset = 0,0
poweradd = 40

[State 656065, 调整]
type = VelAdd
Trigger1 = 1
y = 10

[State 656065, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 1
value = 4218,22

[State 656065, aa1]
type = ChangeState
triggerall = Vel Y > 0   
triggerall = Pos Y >= -20
triggerall = alive
triggerall = CanRecover
trigger1 = Command = "recovery"
value = 5110

[State 656065, aa2]
type = SelfState
triggerall = Vel Y > 0
triggerall = alive
triggerall = CanRecover
trigger1 = Command = "recovery"
value = 5110

[State 656065, aa3]
type = SelfState
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 0
value = 5110



;=====================================;
;======================================
;=======================================;

;press_CODIGO
;BY_SHADALOO_666
;rp_press_12255
[Statedef 648766]
type = S
physics = S
movetype = A
ctrl = 0
anim = 648766
velset = 0,0

[State 646061,00 ]
type = NotHitBy
trigger1 = Time >= 0
value = SCA

[State 40000, 1]
type = PlaySnd
trigger1 = AnimElem = 1
value = 5,3
Volume = 200

[State 646061]
type = TargetState
trigger1 = MoveHit = 1
trigger1 = NumTarget
value = 646064

[State 646061,] 
type = ChangeState 
trigger1 = MoveHit = 1
trigger1 = NumTarget
value = 646072

[State 646061]
type = HitDef
trigger1 = time >= 10
attr = S, ST         
hitflag = M   
priority = 7, miss  
sparkno = -1     
sprpriority = 2   
p2facing = 1   
fall = 0  

[State 40000, 4]
type = changeState
trigger1 = animtime = 0
value = 0
ctrl = 1

[Statedef 646072,]
type = S
movetype = A
physics = N
velset = 0,0
anim = 648017
ctrl = 0
sprpriority = 3

[State 648016, ooxx]
type =Explod
triggerall=numexplod(8021)=0
trigger1 = p2stateno !=6065
trigger2 = animelem = 1
;trigger2 =time=0; animelem = 1
id=8021
anim = 648016
pos = 0,0
postype = p1
sprpriority = 0;-99
supermove = 1
bindtime = -1
ownpal = 1

;bug
;[State 558016, ooxx]
;type = null ;explod
;trigger1 = p2stateno !=6065
;trigger2 = animelem = 1
;anim = 558016                     
;pos = 0,0
;postype = p1
;sprpriority = -99
;supermove = 1
;bindtime = -1
;ownpal = 1

[State 646072]
type = AssertSpecial
trigger1 = 1
flag = noshadow

[State 646072, ]
type = NotHitBy
trigger1 = Time >= 0
value = SCA,NA,SA,HA,NT,ST,HT

[State 646072]
type = PlaySnd
trigger1 = time = 0
value = 0,44

[State 646072]
type = PlaySnd
trigger1 = AnimElem = 3 || AnimElem = 8 || AnimElem = 14 || AnimElem = 20 || AnimElem = 26
trigger2 = AnimElem = 32 || AnimElem = 38 || AnimElem = 44 || AnimElem = 50
trigger3 = AnimElem = 56 || AnimElem = 62 || AnimElem = 68 || AnimElem = 74
trigger4 = AnimElem = 80 || AnimElem = 86 || AnimElem = 92 || AnimElem = 98
trigger5 = AnimElem = 104 || AnimElem = 110 || AnimElem = 116 || AnimElem = 122
trigger6 = AnimElem = 128 || AnimElem = 134 || AnimElem = 140
trigger7 = AnimElem = 146 || AnimElem = 152 || AnimElem = 158
trigger8 = AnimElem = 164 || AnimElem = 170 
value = 0, 43

[State 646072]
type = PlaySnd
trigger1 = AnimElem = 4 || AnimElem = 11 || AnimElem = 17 || AnimElem = 23
trigger2 = AnimElem = 29 || AnimElem = 35 || AnimElem = 41 || AnimElem = 47
trigger3 = AnimElem = 53 || AnimElem = 59 || AnimElem = 65 || AnimElem = 71
trigger4 = AnimElem = 77 || AnimElem = 83 || AnimElem = 89 || AnimElem = 95
trigger5 = AnimElem = 101 || AnimElem = 107 || AnimElem = 113 || AnimElem = 119
trigger6 = AnimElem = 125 || AnimElem = 131 || AnimElem = 137 || AnimElem = 143
trigger7 = AnimElem = 149 || AnimElem = 155 || AnimElem = 161 || AnimElem = 168
trigger8 = AnimElem = 181 
value = 0, 42

[State 646072]
type = PlaySnd
trigger1 = AnimElem = 181
value = 0, 41

[State 646072]
type = PlaySnd
trigger1 = AnimElem = 173 || AnimElem = 175 || AnimElem = 177 || AnimElem = 179 
value = 0, 40

[State 646072]
type = PlaySnd
trigger1 = AnimElem = 173
value = 0, 39

[State 646072]
type = PlaySnd
trigger1 = AnimElem = 173
value = 0, 38

[State 646072]
type = BindToTarget
trigger1 = Time >= 0
id = -1
pos = 0, 20,food 

[State 646072,]
type = TargetState
trigger1 = AnimTime = 0    
value = 6065

[State 646072,]
type = ChangeState
trigger1 = AnimTime = 0
value = 5020


[Statedef 646064]
type    = A
movetype= H
physics = N
velset = 0,0

[State 646064] 
type = ChangeAnim2
Trigger1 = Time = 0
trigger1 = SelfAnimExist(19230) = 1 ;12250_03_press
value = 646621
;trigger1 = SelfAnimExist(19230) = 1
;value = 556621

[State 646064]   
type = ChangeAnim2
Trigger1 = Time = 0
trigger1 != SelfAnimExist(19230) = 0 ;12250_03_press
value = 643631
;trigger1 != SelfAnimExist(19230) = 0
;value = 553631





[State 646064,ＯＸ开始]  
type = PlaySnd
trigger1 = AnimElem = 3
value = 4218,22
[State 646064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 9
value = 4218,21
[State 646064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 15
value = 4218,22
[State 646064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 21
value = 4218,21
[State 646064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 27
value = 4218,21
[State 646064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 33
value = 4218,22
[State 646064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 39
value = 4218,21
[State 646064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 45
value = 4218,21
[State 646064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 51
value = 4218,21
[State 646064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 57
value = 4218,22
[State 646064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 63
value = 4218,22
[State 646064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 69
value = 4218,21
[State 646064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 75
value = 4218,21
[State 646064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 81
value = 4218,22
[State 646064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 87
value = 4218,21
[State 646064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 93
value = 4218,22
[State 646064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 99
value = 4218,21
[State 646064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 111
value = 4218,21
[State 646064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 123
value = 4218,21
[State 646064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 135
value = 4218,21
[State 646064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 147
value = 4218,21
[State 646064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 159
value = 4218,21
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 171
value = 4218,21
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 179
value = 4218,22
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 175
value = 4218,23
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 183
value = 4218,21


[State 646064,多次伤害]
type = LifeAdd
trigger1 = AnimElem = 9 || AnimElem = 15 || AnimElem = 21 || AnimElem = 27
trigger2 = AnimElem = 33 || AnimElem = 39 || AnimElem = 45 || AnimElem = 51
trigger3 = AnimElem = 57 || AnimElem = 63 || AnimElem = 69 || AnimElem = 75
trigger4 = AnimElem = 81 || AnimElem = 87 || AnimElem = 93 || AnimElem = 99
trigger5 = AnimElem = 105 || AnimElem = 111 || AnimElem = 117 || AnimElem = 123
trigger6 = AnimElem = 129 || AnimElem = 135 || AnimElem = 141
trigger7 = AnimElem = 147 || AnimElem = 153 || AnimElem = 159
trigger8 = AnimElem = 165 || AnimElem = 171
value = -3

[State 646064, 继续伤害] 
type = LifeAdd
trigger1 = AnimElem = 175
value = -30

[State 646064, 最后伤害]
type = LifeAdd
trigger1 = AnimElem = 177 || AnimElem = 179 || AnimElem = 181
value = -20

[State 646064, 减气]
type = PowerAdd
trigger1 = AnimElem = 3
value = -25

[State 646064, 多次减气]
type = PowerAdd
trigger1 = AnimElem = 9 || AnimElem = 15 || AnimElem = 21 || AnimElem = 27
trigger2 = AnimElem = 33 || AnimElem = 39 || AnimElem = 45 || AnimElem = 51
trigger3 = AnimElem = 57 || AnimElem = 63 || AnimElem = 69 || AnimElem = 75
trigger4 = AnimElem = 81 || AnimElem = 87 || AnimElem = 93 || AnimElem = 99
trigger5 = AnimElem = 105 || AnimElem = 111 || AnimElem = 117 || AnimElem = 123
trigger6 = AnimElem = 129 || AnimElem = 135 || AnimElem = 141
trigger7 = AnimElem = 147 || AnimElem = 153 || AnimElem = 159
trigger8 = AnimElem = 165 || AnimElem = 171
value = -12

[State 646064, 继续减气]
type = PowerAdd
trigger1 = AnimElem = 175
value = -100

[State 646064, 最后减气]
type = PowerAdd
trigger1 = AnimElem = 177 || AnimElem = 179 || AnimElem = 181
value = -50

[Statedef 646065]
type    = A
movetype= H
physics = N
velset = 0,0
poweradd = 40

[State 646065, 调整]
type = VelAdd
Trigger1 = 1
y = 10

[State 646065, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 1
value = 4218,22

[State 646065, aa1]
type = ChangeState
triggerall = Vel Y > 0   
triggerall = Pos Y >= -20
triggerall = alive
triggerall = CanRecover
trigger1 = Command = "recovery"
value = 5110

[State 646065, aa2]
type = SelfState
triggerall = Vel Y > 0
triggerall = alive
triggerall = CanRecover
trigger1 = Command = "recovery"
value = 5110

[State 646065, aa3]
type = SelfState
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 0
value = 5110



;=====================================;
;======================================
;=======================================;



;====================================;
;====================================;
;====================================;
;DOGGY_STAND_CODIGO
;BY_SHADALOO_666
;rp_doggy
[Statedef 558766]
type = S
physics = S
movetype = A
ctrl = 0
anim = 558766
velset = 0,0

[State 556061,00 ]
type = NotHitBy
trigger1 = Time >= 0
value = SCA

[State 40000, 1]
type = PlaySnd
trigger1 = AnimElem = 1
value = 5,3
Volume = 200

[State 556061]
type = TargetState
trigger1 = MoveHit = 1
trigger1 = NumTarget
value = 556064

[State 556061,] 
type = ChangeState 
trigger1 = MoveHit = 1
trigger1 = NumTarget
value = 556072

[State 556061]
type = HitDef
trigger1 = time >= 10
attr = S, ST         
hitflag = M   
priority = 7, miss  
sparkno = -1     
sprpriority = 2   
p2facing = 1   
fall = 0  

[State 40000, 4]
type = changeState
trigger1 = animtime = 0
value = 0
ctrl = 1

[Statedef 556072,]
type = S
movetype = A
physics = N
velset = 0,0
anim = 558017
ctrl = 0
sprpriority = 3

[State 558016, ooxx]
type =Explod
triggerall=numexplod(8021)=0
trigger1 = p2stateno !=6065
trigger2 = animelem = 1
;trigger2 =time=0; animelem = 1
id=8021
anim = 558016
pos = 0,0
postype = p1
sprpriority = 0;-99
supermove = 1
bindtime = -1
ownpal = 1



[State 556072]
type = AssertSpecial
trigger1 = 1
flag = noshadow

[State 556072, ]
type = NotHitBy
trigger1 = Time >= 0
value = SCA,NA,SA,HA,NT,ST,HT

[State 556072]
type = PlaySnd
trigger1 = time = 0
value = 0,44

[State 556072]
type = PlaySnd
trigger1 = AnimElem = 3 || AnimElem = 8 || AnimElem = 14 || AnimElem = 20 || AnimElem = 26
trigger2 = AnimElem = 32 || AnimElem = 38 || AnimElem = 44 || AnimElem = 50
trigger3 = AnimElem = 56 || AnimElem = 62 || AnimElem = 68 || AnimElem = 74
trigger4 = AnimElem = 80 || AnimElem = 86 || AnimElem = 92 || AnimElem = 98
trigger5 = AnimElem = 104 || AnimElem = 110 || AnimElem = 116 || AnimElem = 122
trigger6 = AnimElem = 128 || AnimElem = 134 || AnimElem = 140
trigger7 = AnimElem = 146 || AnimElem = 152 || AnimElem = 158
trigger8 = AnimElem = 164 || AnimElem = 170 
value = 0, 43

[State 556072]
type = PlaySnd
trigger1 = AnimElem = 4 || AnimElem = 11 || AnimElem = 17 || AnimElem = 23
trigger2 = AnimElem = 29 || AnimElem = 35 || AnimElem = 41 || AnimElem = 47
trigger3 = AnimElem = 53 || AnimElem = 59 || AnimElem = 65 || AnimElem = 71
trigger4 = AnimElem = 77 || AnimElem = 83 || AnimElem = 89 || AnimElem = 95
trigger5 = AnimElem = 101 || AnimElem = 107 || AnimElem = 113 || AnimElem = 119
trigger6 = AnimElem = 125 || AnimElem = 131 || AnimElem = 137 || AnimElem = 143
trigger7 = AnimElem = 149 || AnimElem = 155 || AnimElem = 161 || AnimElem = 168
trigger8 = AnimElem = 181 
value = 0, 42

[State 556072]
type = PlaySnd
trigger1 = AnimElem = 181
value = 0, 41

[State 556072]
type = PlaySnd
trigger1 = AnimElem = 173 || AnimElem = 175 || AnimElem = 177 || AnimElem = 179 
value = 0, 40

[State 556072]
type = PlaySnd
trigger1 = AnimElem = 173
value = 0, 39

[State 556072]
type = PlaySnd
trigger1 = AnimElem = 173
value = 0, 38

[State 556072]
type = BindToTarget
trigger1 = Time >= 0
id = -1
pos = 0, 20,food 

[State 556072,]
type = TargetState
trigger1 = AnimTime = 0    
value = 6065

[State 556072,]
type = ChangeState
trigger1 = AnimTime = 0
value = 5020


[Statedef 556064]
type    = A
movetype= H
physics = N
velset = 0,0

[State 556064] 
type = ChangeAnim2
Trigger1 = Time = 0
trigger1 = SelfAnimExist(19230) = 1
value = 556621

[State 556064]   
type = ChangeAnim2
Trigger1 = Time = 0
trigger1 != SelfAnimExist(19230) = 0
value = 553631

[State 556064,ＯＸ开始]  
type = PlaySnd
trigger1 = AnimElem = 3
value = 4218,22
[State 556064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 9
value = 4218,21
[State 556064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 15
value = 4218,22
[State 556064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 21
value = 4218,21
[State 556064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 27
value = 4218,21
[State 556064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 33
value = 4218,22
[State 556064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 39
value = 4218,21
[State 556064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 45
value = 4218,21
[State 556064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 51
value = 4218,21
[State 556064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 57
value = 4218,22
[State 556064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 63
value = 4218,22
[State 556064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 69
value = 4218,21
[State 556064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 75
value = 4218,21
[State 556064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 81
value = 4218,22
[State 556064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 87
value = 4218,21
[State 556064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 93
value = 4218,22
[State 556064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 99
value = 4218,21
[State 556064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 111
value = 4218,21
[State 556064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 123
value = 4218,21
[State 556064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 135
value = 4218,21
[State 556064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 147
value = 4218,21
[State 556064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 159
value = 4218,21
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 171
value = 4218,21
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 179
value = 4218,22
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 175
value = 4218,23
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 183
value = 4218,21


[State 556064,多次伤害]
type = LifeAdd
trigger1 = AnimElem = 9 || AnimElem = 15 || AnimElem = 21 || AnimElem = 27
trigger2 = AnimElem = 33 || AnimElem = 39 || AnimElem = 45 || AnimElem = 51
trigger3 = AnimElem = 57 || AnimElem = 63 || AnimElem = 69 || AnimElem = 75
trigger4 = AnimElem = 81 || AnimElem = 87 || AnimElem = 93 || AnimElem = 99
trigger5 = AnimElem = 105 || AnimElem = 111 || AnimElem = 117 || AnimElem = 123
trigger6 = AnimElem = 129 || AnimElem = 135 || AnimElem = 141
trigger7 = AnimElem = 147 || AnimElem = 153 || AnimElem = 159
trigger8 = AnimElem = 165 || AnimElem = 171
value = -3

[State 556064, 继续伤害] 
type = LifeAdd
trigger1 = AnimElem = 175
value = -30

[State 556064, 最后伤害]
type = LifeAdd
trigger1 = AnimElem = 177 || AnimElem = 179 || AnimElem = 181
value = -20

[State 556064, 减气]
type = PowerAdd
trigger1 = AnimElem = 3
value = -25

[State 556064, 多次减气]
type = PowerAdd
trigger1 = AnimElem = 9 || AnimElem = 15 || AnimElem = 21 || AnimElem = 27
trigger2 = AnimElem = 33 || AnimElem = 39 || AnimElem = 45 || AnimElem = 51
trigger3 = AnimElem = 57 || AnimElem = 63 || AnimElem = 69 || AnimElem = 75
trigger4 = AnimElem = 81 || AnimElem = 87 || AnimElem = 93 || AnimElem = 99
trigger5 = AnimElem = 105 || AnimElem = 111 || AnimElem = 117 || AnimElem = 123
trigger6 = AnimElem = 129 || AnimElem = 135 || AnimElem = 141
trigger7 = AnimElem = 147 || AnimElem = 153 || AnimElem = 159
trigger8 = AnimElem = 165 || AnimElem = 171
value = -12

[State 556064, 继续减气]
type = PowerAdd
trigger1 = AnimElem = 175
value = -100

[State 556064, 最后减气]
type = PowerAdd
trigger1 = AnimElem = 177 || AnimElem = 179 || AnimElem = 181
value = -50

[Statedef 556065]
type    = A
movetype= H
physics = N
velset = 0,0
poweradd = 40

[State 556065, 调整]
type = VelAdd
Trigger1 = 1
y = 10

[State 556065, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 1
value = 4218,22

[State 556065, aa1]
type = ChangeState
triggerall = Vel Y > 0   
triggerall = Pos Y >= -20
triggerall = alive
triggerall = CanRecover
trigger1 = Command = "recovery"
value = 5110

[State 556065, aa2]
type = SelfState
triggerall = Vel Y > 0
triggerall = alive
triggerall = CanRecover
trigger1 = Command = "recovery"
value = 5110

;fin
[State 556065, aa3];fin
type = SelfState
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 0
value = 5110






;=====================================;
;======================================
;=======================================;

;====================================;
;====================================;
;====================================;
;PRONE_BONE_CODIGO
;BY_SHADALOO_666
;rp_doggy
[Statedef 548766]
type = S
physics = S
movetype = A
ctrl = 0
anim = 548766
velset = 0,0

[State 546061,00 ]
type = NotHitBy
trigger1 = Time >= 0
value = SCA

[State 40000, 1]
type = PlaySnd
trigger1 = AnimElem = 1
value = 5,3
Volume = 200

[State 546061]
type = TargetState
trigger1 = MoveHit = 1
trigger1 = NumTarget
value = 546064

[State 546061,] 
type = ChangeState 
trigger1 = MoveHit = 1
trigger1 = NumTarget
value = 546072

[State 546061]
type = HitDef
trigger1 = time >= 10
attr = S, ST         
hitflag = M   
priority = 7, miss  
sparkno = -1     
sprpriority = 2   
p2facing = 1   
fall = 0  

[State 40000, 4]
type = changeState
trigger1 = animtime = 0
value = 0
ctrl = 1

[Statedef 546072,]
type = S
movetype = A
physics = N
velset = 0,0
anim = 548017
ctrl = 0
sprpriority = 3

[State 548016, ooxx]
type =Explod
triggerall=numexplod(8021)=0
trigger1 = p2stateno !=6065
trigger2 = animelem = 1
;trigger2 =time=0; animelem = 1
id=8021
anim = 548016
pos = 0,0
postype = p1
sprpriority = 0;-99
supermove = 1
bindtime = -1
ownpal = 1



[State 546072]
type = AssertSpecial
trigger1 = 1
flag = noshadow

[State 546072, ]
type = NotHitBy
trigger1 = Time >= 0
value = SCA,NA,SA,HA,NT,ST,HT

[State 546072]
type = PlaySnd
trigger1 = time = 0
value = 0,44

[State 546072]
type = PlaySnd
trigger1 = AnimElem = 3 || AnimElem = 8 || AnimElem = 14 || AnimElem = 20 || AnimElem = 26
trigger2 = AnimElem = 32 || AnimElem = 38 || AnimElem = 44 || AnimElem = 50
trigger3 = AnimElem = 56 || AnimElem = 62 || AnimElem = 68 || AnimElem = 74
trigger4 = AnimElem = 80 || AnimElem = 86 || AnimElem = 92 || AnimElem = 98
trigger5 = AnimElem = 104 || AnimElem = 110 || AnimElem = 116 || AnimElem = 122
trigger6 = AnimElem = 128 || AnimElem = 134 || AnimElem = 140
trigger7 = AnimElem = 146 || AnimElem = 152 || AnimElem = 158
trigger8 = AnimElem = 164 || AnimElem = 170 
value = 0, 43

[State 546072]
type = PlaySnd
trigger1 = AnimElem = 4 || AnimElem = 11 || AnimElem = 17 || AnimElem = 23
trigger2 = AnimElem = 29 || AnimElem = 35 || AnimElem = 41 || AnimElem = 47
trigger3 = AnimElem = 53 || AnimElem = 59 || AnimElem = 65 || AnimElem = 71
trigger4 = AnimElem = 77 || AnimElem = 83 || AnimElem = 89 || AnimElem = 95
trigger5 = AnimElem = 101 || AnimElem = 107 || AnimElem = 113 || AnimElem = 119
trigger6 = AnimElem = 125 || AnimElem = 131 || AnimElem = 137 || AnimElem = 143
trigger7 = AnimElem = 149 || AnimElem = 155 || AnimElem = 161 || AnimElem = 168
trigger8 = AnimElem = 181 
value = 0, 42

[State 546072]
type = PlaySnd
trigger1 = AnimElem = 181
value = 0, 41

[State 546072]
type = PlaySnd
trigger1 = AnimElem = 173 || AnimElem = 175 || AnimElem = 177 || AnimElem = 179 
value = 0, 40

[State 546072]
type = PlaySnd
trigger1 = AnimElem = 173
value = 0, 39

[State 546072]
type = PlaySnd
trigger1 = AnimElem = 173
value = 0, 38

[State 546072]
type = BindToTarget
trigger1 = Time >= 0
id = -1
pos = 0, 20,food 

[State 546072,]
type = TargetState
trigger1 = AnimTime = 0    
value = 6065

[State 546072,]
type = ChangeState
trigger1 = AnimTime = 0
value = 5020


[Statedef 546064]
type    = A
movetype= H
physics = N
velset = 0,0

[State 546064] 
type = ChangeAnim2
Trigger1 = Time = 0
trigger1 = SelfAnimExist(19230) =1;16245
value = 546621
;trigger1 = SelfAnimExist(16245) =1;16245
;value = 546621

[State 543631]   
type = changeanim2  
Trigger1 = Time = 0
trigger1 != SelfAnimExist(19230)=0;16245
value = 543631
;trigger1 != SelfAnimExist(16245) =016245
;value = 543631



[State 543631]   
type =Explod
triggerall=numexplod(8021)=0
trigger1 = p2stateno !=6065
trigger2 = animelem = 1
;trigger2 =time=0; animelem = 1
id=8021
anim = 16244
pos = 0,0
postype = p2
sprpriority = 0;99
supermove = 1
bindtime = -1
ownpal = 1
 




[State 546064,ＯＸ开始]  
type = PlaySnd
trigger1 = AnimElem = 3
value = 4218,22
[State 546064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 9
value = 4218,21
[State 546064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 15
value = 4218,22
[State 546064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 21
value = 4218,21
[State 546064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 27
value = 4218,21
[State 546064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 33
value = 4218,22
[State 546064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 39
value = 4218,21
[State 546064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 45
value = 4218,21
[State 546064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 51
value = 4218,21
[State 546064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 57
value = 4218,22
[State 546064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 63
value = 4218,22
[State 546064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 69
value = 4218,21
[State 546064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 75
value = 4218,21
[State 546064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 81
value = 4218,22
[State 546064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 87
value = 4218,21
[State 546064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 93
value = 4218,22
[State 546064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 99
value = 4218,21
[State 546064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 111
value = 4218,21
[State 546064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 123
value = 4218,21
[State 546064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 135
value = 4218,21
[State 546064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 147
value = 4218,21
[State 546064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 159
value = 4218,21
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 171
value = 4218,21
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 179
value = 4218,22
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 175
value = 4218,23
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 183
value = 4218,21


[State 546064,多次伤害]
type = LifeAdd
trigger1 = AnimElem = 9 || AnimElem = 15 || AnimElem = 21 || AnimElem = 27
trigger2 = AnimElem = 33 || AnimElem = 39 || AnimElem = 45 || AnimElem = 51
trigger3 = AnimElem = 57 || AnimElem = 63 || AnimElem = 69 || AnimElem = 75
trigger4 = AnimElem = 81 || AnimElem = 87 || AnimElem = 93 || AnimElem = 99
trigger5 = AnimElem = 105 || AnimElem = 111 || AnimElem = 117 || AnimElem = 123
trigger6 = AnimElem = 129 || AnimElem = 135 || AnimElem = 141
trigger7 = AnimElem = 147 || AnimElem = 153 || AnimElem = 159
trigger8 = AnimElem = 165 || AnimElem = 171
value = -3

[State 546064, 继续伤害] 
type = LifeAdd
trigger1 = AnimElem = 175
value = -30

[State 546064, 最后伤害]
type = LifeAdd
trigger1 = AnimElem = 177 || AnimElem = 179 || AnimElem = 181
value = -20

[State 546064, 减气]
type = PowerAdd
trigger1 = AnimElem = 3
value = -25

[State 546064, 多次减气]
type = PowerAdd
trigger1 = AnimElem = 9 || AnimElem = 15 || AnimElem = 21 || AnimElem = 27
trigger2 = AnimElem = 33 || AnimElem = 39 || AnimElem = 45 || AnimElem = 51
trigger3 = AnimElem = 57 || AnimElem = 63 || AnimElem = 69 || AnimElem = 75
trigger4 = AnimElem = 81 || AnimElem = 87 || AnimElem = 93 || AnimElem = 99
trigger5 = AnimElem = 105 || AnimElem = 111 || AnimElem = 117 || AnimElem = 123
trigger6 = AnimElem = 129 || AnimElem = 135 || AnimElem = 141
trigger7 = AnimElem = 147 || AnimElem = 153 || AnimElem = 159
trigger8 = AnimElem = 165 || AnimElem = 171
value = -12

[State 546064, 继续减气]
type = PowerAdd
trigger1 = AnimElem = 175
value = -100

[State 546064, 最后减气]
type = PowerAdd
trigger1 = AnimElem = 177 || AnimElem = 179 || AnimElem = 181
value = -50

[Statedef 546065]
type    = A
movetype= H
physics = N
velset = 0,0
poweradd = 40

[State 546065, 调整]
type = VelAdd
Trigger1 = 1
y = 10

[State 546065, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 1
value = 4218,22

[State 546065, aa1]
type = ChangeState
triggerall = Vel Y > 0   
triggerall = Pos Y >= -20
triggerall = alive
triggerall = CanRecover
trigger1 = Command = "recovery"
value = 5110

[State 546065, aa2]
type = SelfState
triggerall = Vel Y > 0
triggerall = alive
triggerall = CanRecover
trigger1 = Command = "recovery"
value = 5110

;fin
[State 546065, aa3];fin
type = SelfState
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 0
value = 5110








;=================================================================
;=================================================================
;====================================;
;====================================;
;====================================;
;CHAIR_CODIGO
;BY_SHADALOO_666
;CHAIR_EROTIC
[Statedef 308766]
type = S
physics = S
movetype = A
ctrl = 0
anim = 308766
velset = 0,0

[State 306061,00 ]
type = NotHitBy
trigger1 = Time >= 0
value = SCA

[State 40000, 1]
type = PlaySnd
trigger1 = AnimElem = 1
value = 5,3
Volume = 200

[State 306061]
type = TargetState
trigger1 = MoveHit = 1
trigger1 = NumTarget
value = 306064

[State 306061,] 
type = ChangeState 
trigger1 = MoveHit = 1
trigger1 = NumTarget
value = 306072

[State 306061]
type = HitDef
trigger1 = time >= 10
attr = S, ST         
hitflag = M   
priority = 7, miss  
sparkno = -1     
sprpriority = 2   
p2facing = 1   
fall = 0  

[State 40000, 4]
type = changeState
trigger1 = animtime = 0
value = 0
ctrl = 1

[Statedef 306072,]
type = S
movetype = A
physics = N
velset = 0,0
anim = 308017
ctrl = 0
sprpriority = 3

[State 308016, ooxx]
type =Explod
triggerall=numexplod(8021)=0
trigger1 = p2stateno !=6065
trigger2 = animelem = 1
;trigger2 =time=0; animelem = 1
id=8021
anim = 308016
pos = 0,0
postype = p1
sprpriority = 0;-99
supermove = 1
bindtime = -1
ownpal = 1



[State 306072]
type = AssertSpecial
trigger1 = 1
flag = noshadow

[State 306072, ]
type = NotHitBy
trigger1 = Time >= 0
value = SCA,NA,SA,HA,NT,ST,HT

[State 306072]
type = PlaySnd
trigger1 = time = 0
value = 0,44

[State 306072]
type = PlaySnd
trigger1 = AnimElem = 3 || AnimElem = 8 || AnimElem = 14 || AnimElem = 20 || AnimElem = 26
trigger2 = AnimElem = 32 || AnimElem = 38 || AnimElem = 44 || AnimElem = 50
trigger3 = AnimElem = 56 || AnimElem = 62 || AnimElem = 68 || AnimElem = 74
trigger4 = AnimElem = 80 || AnimElem = 86 || AnimElem = 92 || AnimElem = 98
trigger5 = AnimElem = 104 || AnimElem = 110 || AnimElem = 116 || AnimElem = 122
trigger6 = AnimElem = 128 || AnimElem = 134 || AnimElem = 140
trigger7 = AnimElem = 146 || AnimElem = 152 || AnimElem = 158
trigger8 = AnimElem = 164 || AnimElem = 170 
value = 0, 43

[State 306072]
type = PlaySnd
trigger1 = AnimElem = 4 || AnimElem = 11 || AnimElem = 17 || AnimElem = 23
trigger2 = AnimElem = 29 || AnimElem = 35 || AnimElem = 41 || AnimElem = 47
trigger3 = AnimElem = 53 || AnimElem = 59 || AnimElem = 65 || AnimElem = 71
trigger4 = AnimElem = 77 || AnimElem = 83 || AnimElem = 89 || AnimElem = 95
trigger5 = AnimElem = 101 || AnimElem = 107 || AnimElem = 113 || AnimElem = 119
trigger6 = AnimElem = 125 || AnimElem = 131 || AnimElem = 137 || AnimElem = 143
trigger7 = AnimElem = 149 || AnimElem = 155 || AnimElem = 161 || AnimElem = 168
trigger8 = AnimElem = 181 
value = 0, 42

[State 306072]
type = PlaySnd
trigger1 = AnimElem = 181
value = 0, 41

[State 306072]
type = PlaySnd
trigger1 = AnimElem = 173 || AnimElem = 175 || AnimElem = 177 || AnimElem = 179 
value = 0, 40

[State 306072]
type = PlaySnd
trigger1 = AnimElem = 173
value = 0, 39

[State 306072]
type = PlaySnd
trigger1 = AnimElem = 173
value = 0, 38

[State 306072]
type = BindToTarget
trigger1 = Time >= 0
id = -1
pos = 0, 20,food 

[State 306072,]
type = TargetState
trigger1 = AnimTime = 0    
value = 6065

[State 306072,]
type = ChangeState
trigger1 = AnimTime = 0
value = 5020


[Statedef 306064]
type    = A
movetype= H
physics = N
velset = 0,0

[State 306064] 
type = ChangeAnim2
Trigger1 = Time = 0
trigger1=SelfAnimExist(14811)=1;30710
value = 306621
;trigger1=SelfAnimExist(30710)=1;30710
;value = 306621


[State 303631]   
type = changeanim2  
Trigger1 = Time = 0
trigger1 != SelfAnimExist(14811)=0;30710
value=303631
;trigger1 !=SelfAnimExist(30710)=0;30710
;value=303631

;bug_chipar_pechos
;[State 303631]   
;type =Explod
;triggerall=numexplod(8021)=0
;trigger1 = p2stateno !=6065
;trigger2 = animelem = 1
;;trigger2 =time=0; animelem = 1
;id=8021
;anim = 16244
;pos = 0,0
;postype = p2
;sprpriority = 0;99
;supermove = 1
;bindtime = -1
;ownpal = 1
 




[State 306064,ＯＸ开始]  
type = PlaySnd
trigger1 = AnimElem = 3
value = 4218,22
[State 306064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 9
value = 4218,21
[State 306064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 15
value = 4218,22
[State 306064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 21
value = 4218,21
[State 306064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 27
value = 4218,21
[State 306064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 33
value = 4218,22
[State 306064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 39
value = 4218,21
[State 306064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 45
value = 4218,21
[State 306064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 51
value = 4218,21
[State 306064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 57
value = 4218,22
[State 306064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 63
value = 4218,22
[State 306064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 69
value = 4218,21
[State 306064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 75
value = 4218,21
[State 306064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 81
value = 4218,22
[State 306064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 87
value = 4218,21
[State 306064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 93
value = 4218,22
[State 306064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 99
value = 4218,21
[State 306064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 111
value = 4218,21
[State 306064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 123
value = 4218,21
[State 306064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 135
value = 4218,21
[State 306064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 147
value = 4218,21
[State 306064, ＯＸ2]
type = PlaySnd
trigger1 = AnimElem = 159
value = 4218,21
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 171
value = 4218,21
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 179
value = 4218,22
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 175
value = 4218,23
[State 3522, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 183
value = 4218,21


[State 306064,多次伤害]
type = LifeAdd
trigger1 = AnimElem = 9 || AnimElem = 15 || AnimElem = 21 || AnimElem = 27
trigger2 = AnimElem = 33 || AnimElem = 39 || AnimElem = 45 || AnimElem = 51
trigger3 = AnimElem = 57 || AnimElem = 63 || AnimElem = 69 || AnimElem = 75
trigger4 = AnimElem = 81 || AnimElem = 87 || AnimElem = 93 || AnimElem = 99
trigger5 = AnimElem = 105 || AnimElem = 111 || AnimElem = 117 || AnimElem = 123
trigger6 = AnimElem = 129 || AnimElem = 135 || AnimElem = 141
trigger7 = AnimElem = 147 || AnimElem = 153 || AnimElem = 159
trigger8 = AnimElem = 165 || AnimElem = 171
value = -3

[State 306064, 继续伤害] 
type = LifeAdd
trigger1 = AnimElem = 175
value = -30

[State 306064, 最后伤害]
type = LifeAdd
trigger1 = AnimElem = 177 || AnimElem = 179 || AnimElem = 181
value = -20

[State 306064, 减气]
type = PowerAdd
trigger1 = AnimElem = 3
value = -25

[State 306064, 多次减气]
type = PowerAdd
trigger1 = AnimElem = 9 || AnimElem = 15 || AnimElem = 21 || AnimElem = 27
trigger2 = AnimElem = 33 || AnimElem = 39 || AnimElem = 45 || AnimElem = 51
trigger3 = AnimElem = 57 || AnimElem = 63 || AnimElem = 69 || AnimElem = 75
trigger4 = AnimElem = 81 || AnimElem = 87 || AnimElem = 93 || AnimElem = 99
trigger5 = AnimElem = 105 || AnimElem = 111 || AnimElem = 117 || AnimElem = 123
trigger6 = AnimElem = 129 || AnimElem = 135 || AnimElem = 141
trigger7 = AnimElem = 147 || AnimElem = 153 || AnimElem = 159
trigger8 = AnimElem = 165 || AnimElem = 171
value = -12

[State 306064, 继续减气]
type = PowerAdd
trigger1 = AnimElem = 175
value = -100

[State 306064, 最后减气]
type = PowerAdd
trigger1 = AnimElem = 177 || AnimElem = 179 || AnimElem = 181
value = -50

[Statedef 306065]
type    = A
movetype= H
physics = N
velset = 0,0
poweradd = 40

[State 306065, 调整]
type = VelAdd
Trigger1 = 1
y = 10

[State 306065, ＯＸ3]
type = PlaySnd
trigger1 = AnimElem = 1
value = 4218,22

[State 546065, aa1]
type = ChangeState
triggerall = Vel Y > 0   
triggerall = Pos Y >= -20
triggerall = alive
triggerall = CanRecover
trigger1 = Command = "recovery"
value = 5110

[State 306065, aa2]
type = SelfState
triggerall = Vel Y > 0
triggerall = alive
triggerall = CanRecover
trigger1 = Command = "recovery"
value = 5110

;fin
[State 306065, aa3];fin
type = SelfState
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 0
value = 5110












