; このキャラクターの基本データ、サイズ等を決めるための第一CNSファイル。
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------

[Data];データ
life              = 110000  ;最大HP。改変により、変更すると変なことになるかもしれないので調整非推奨。
power             = 5000    ;最大ゲージ。改変により、変更すると使えない技が出て来るので非推奨。
attack            = 100     ;攻撃力。改変により、変更するとバランスがぶっ壊れるので非推奨。
defence           = 1       ;攻撃力。改変により、変更するとバランスがぶっ壊れるので非推奨。
                            ;バランス調整はES-SDファイル冒頭のコンフィグ部分でお願いします。
fall.defence_up   = 0       ;ダウン時に攻撃された時に一時的に上がる防御力
liedown.time      = 30      ;倒れてから起き上がるまでの最大時間
airjuggle         = 15000   ;エアジャグルポイント
sparkno           = -1      ;hitdefで設定していない時の基本ヒットスパークナンバー
guard.sparkno     = -1      ;hitdefで設定していない時の基本ガードスパークナンバー
KO.echo           = 0       ;0にするとKOされた時に声にエコーがかからない
volume            = 255     ;音量
intpersistindex   = 0       ;Varの次ラウンド持ち越し設定
floatpersistindex = 0       ;同じくFVarの次ラウンド持ち越し設定

; 変数持ち越しの例
; IntPersistIndex = 20（Var(20)以降の変数が次のラウンドへ持ち越され、それ以外は0に戻る）
; FloatPersistIndex = 25（FVar(25)以降の変数が次のラウンドへ持ち越され、それ以外は0に戻る）


;---------------------------------------------------------------------------

[Size];サイズ
xscale           = 1        ;水平方向の縮尺
yscale           = 1        ;垂直方向の縮尺
ground.back      = 15       ;キャラクターの幅（後方、地上）
ground.front     = 16       ;キャラクターの幅（前方、地上）
air.back         = 12       ;キャラクターの幅（後方、空中）
air.front        = 12       ;キャラクターの幅（前方、空中）
height           = 60       ;キャラの高さ(の3分の2くらいを指定)
attack.dist      = 30       ;攻撃時に相手がガード体勢に入る最低距離
proj.attack.dist = 30       ;相手がガード体勢に入る発射物との最低距離
proj.doscale     = 0        ;xscale, yscaleの設定が発射物にも有効かどうかの設定（1なら有効）
head.pos         = 0, -90   ;頭の大体の座標（BindToTarget使用時に必要）
mid.pos          = 0, -53   ;体中心の大体の座標（BindToTarget使用時に必要）
shadowoffset     = 0        ;影の垂直方向オフセット(画像位置ズレ補正手段)
draw.offset      = 0,0      ;描画位置オフセット(画像位置ズレ補正最終手段)

;---------------------------------------------------------------------------

[Velocity];移動速度
walk.fwd     = 4.2        ;前に歩く時の速度
walk.back    = -2.8         ;後ろに歩く時の速度
run.fwd      = 7.6,0;6.8, 0       ;前に走る時の速度 (x, y) ホップさせる時は y を 0 以下にする
run.back     = 0, 0    ;後ろに走る時の速度 (x, y) 走らせる時は y を 0 にします
jump.neu     = 0,-11.8       ;ジャンプ時の垂直移動速度 (x, y)
jump.back    = -3         ;後ろにジャンプした時の水平移動速度
jump.fwd     = 3         ;前にジャンプした時の水平移動速度
runjump.back = -2.55,-8.1   ;後ろに走りながらのジャンプ時の速度指定
runjump.fwd  = 4.5,-3.2       ;前に走りながらのジャンプ時の速度指定
airjump.neu  = 0,-11.8       ;空中ジャンプ時の垂直移動速度
airjump.back = -2.55         ;空中で後ろにジャンプした時の水平移動速度
airjump.fwd  = 2.5        ;空中で前にジャンプした時の水平移動速度
air.gethit.groundrecover   = -.15,-3.5  ;地上受身の速度（x,y）
air.gethit.airrecover.mul = .5,.2      ;空中受身に掛かる加速度（x,y）ブレーキ効果
air.gethit.airrecover.add = 0,-4.5     ;空中受身の速度（x,y）
air.gethit.airrecover.back = -1         ;空中受身時に後ろを押した場合の追加速度 x
air.gethit.airrecover.fwd  = 0          ;空中受身時に前を押した場合の追加速度 x
air.gethit.airrecover.up   = -2         ;空中受身時に上を押した場合の追加速度 y
air.gethit.airrecover.down = 1.5        ;空中受身時に下を押した場合の追加速度 y
 
;---------------------------------------------------------------------------

[Movement];動作
airjump.num     = 2                     ;空中ジャンプの回数
airjump.height  = 1                    ;空中ジャンプに必要な最低限の高さ
yaccel          = .76;.68;.44                   ;垂直方向にかかる加速度（重力）
stand.friction  = .85                   ;立ち状態の摩擦係数
crouch.friction = .82                   ;屈み状態の摩擦係数
stand.friction.threshold     = 2                ;立ち状態で滑っている時、この速度未満になると止まる
crouch.friction.threshold    = .05              ;屈み状態で滑っている時、この速度未満になると止まる
air.gethit.groundlevel       = 25               ;この数値以上床下に落ちると、地面にぶつかる
air.gethit.groundrecover.ground.threshold = -20 ;Y座標がこの値以上で、地上受身が出来る
air.gethit.groundrecover.groundlevel      = 10  ;Y座標がこの位置になると地上受身開始
air.gethit.airrecover.threshold           = -1  ;Y速度がこの値以上になると空中受身が出来る
air.gethit.airrecover.yaccel = .35              ;受身中に掛かる重力
air.gethit.trip.groundlevel  = 15               ;転倒技を受けた時、この値以上床下に落ちると地面にぶつかる
down.bounce.offset           = 0, 20            ;地面でバウンドする瞬間、この位置に補正される（x,y）
down.bounce.yaccel           = .4               ;バウンド中の重力
down.bounce.groundlevel      = 12               ;バウンド後、Y座標がこの値でダウンモーションに入る
down.friction.threshold      = .05              ;ダウン状態で滑っている時、この速度未満になると止まる


;---------------------------------------------------------------------------
;勝利台詞（英語）
;[Quotes]
; victory0～99まで設定可能

;日本語
[ja.Quotes]
victory1 = "おっしゃあ！\n罰としてラーメン奢りな！"
victory2 = "盛者必衰…勝ってばかりが勝負じゃないが…\n今回は私の勝ちだッ！！"
victory3 = "立てるか？ケガはない？\nないなら…一緒にメシでも食いに行こうぜ！"
victory4 = "我が名は愁子！恵曇愁子！！\n無限に轟く、確乎不抜の乙女の名よッ！！"
victory5 = "愁いは五月の雨になり\n森羅を舞いて浮世に落つ……\nなんつって"
victory6 = "アンタの技はそんなもんかい？\nもっと見せてよ！"


;---------------------------------------------------------------------------
; Varの使用状況
; ここに自分が使ったvarをメモしておくといろいろと好都合です。
; var(0)  - そのstatedef内での相手の怯み時間基礎値            ☆
; var(1)  - CSAS表示用汎用                                    ☆☆☆☆  汎用的な一時計算にも使用。
; var(2)  - ゲジマユスイッチ用
; var(3)  - ゲージ消費用汎用                                  ☆☆
; var(4)  - 狙う敵の番号
; var(5)  - AI用一時計算
; var(6)  - AI用一時計算２
; var(7)  - 攻めor待ち評価
; var(8)  - ぶっぱor固め評価
; var(9)  - 超反応or牽制評価
; var(10) - 即死返しの発生条件                                ☆
; var(11) - 即死返しステート記憶用                            ☆
; var(12) - !time貫通及びnone型攻撃の発生条件                 ☆
; var(13) - ステート開始処理で利用                            ☆
; var(14) - CSAS上限値
; var(15) - 凶悪攻撃の開始ライン                              ☆
; var(16) - anim表示時間管理用                                ☆
; var(17) - broste
; var(18) - oath
; var(19) - そのstatedef内での攻撃の威力基礎値                ☆
; var(20) - そのstatedef内での相手の怯み時間固定値            ☆
;
; var(21) - ディゾルブカウント用
; var(22) - ジャンプ判断
; var(23) - コンボ判断用変数
; var(24) - ステートno記憶用
; var(25) - アニメ記憶用
; var(26) - ペナルティスイッチ
; var(27) - カラー差スイッチ
; var(30) - statedefの番号管理用。                            ☆
; var(31) - broste上昇値
; var(32) - CSAS上昇値
; var(33) - CSAS削り値
; var(34) - CSASフレーム減少値
; var(35) - ステート奪われている間のCSAS上昇スイッチ
; var(36) - ダメキャン
; var(37) - CSAS下限値
; var(38) - CSAS当身仕込み開始ライン                          ☆
; var(39) - CSAS特殊性能化開始ライン                          ☆
; var(40) - KO判定
; var(41) - CSAS即死解禁                                      ☆
; var(42) - ガー不攻撃開始ライン                              ☆
; var(43) - projや常時無敵の開始ライン                        ☆
; var(44) - 転倒開始ライン                                    ☆
; var(45) - 凶悪攻撃時のダメージ量                            ☆
; var(46) - 凶悪攻撃時のfall.damage量                         ☆
; var(47) - キャンセル判定汎用                                ☆
; var(48) - AI用相手アニメ監視
; var(49) - 攻撃のHITした相手animの記憶
; var(50) - 攻撃のHITした相手animの記憶
; var(51) - 攻撃のHITした相手animの記憶
; var(52) - 攻撃のHITした相手animの記憶
; var(53) - 攻撃のHITした相手animの記憶
; var(54) - 攻撃のHITした相手animの記憶
; var(55) - AIctrl代理フラグ
; var(56) - AIコマンド代理フラグ
; var(57) - AI与ダメ評価
; var(58) - AI被ダメ評価
; var(59) - AIスイッチ
;
; fvar(0)  - AI用一時計算１
; fvar(1)  - AI用一時計算２
; fvar(2)  - チャンス判断
; fvar(3)  - 現在AI種類判断
; fvar(4)  - 
; fvar(5)  - explod拡大率管理
; fvar(6)  - 被ダメ時の間合い判断X
; fvar(7)  - 被ダメ時の間合い判断Y
; fvar(8)  - 予ダメ時の間合い判断X
; fvar(9)  - 予ダメ時の間合い判断Y
; fvar(10) - enemy(0),pos X
; fvar(11) - enemy(0),pos Y
; fvar(12) - enemy(1),pos X
; fvar(13) - enemy(1),pos Y
; fvar(14) - enemy(var(4))との距離X
; fvar(15) - enemy(var(4))との距離Y
;
; sysvar(0) - アニメ管理
; sysvar(1) - 即死返し記憶
; sysvar(2) - 
; sysvar(3) - ライフ管理補助
; sysvar(4) - ライフ管理
;
; sysfvar(0) - ヘルパー最大数
; sysfvar(1) - 自分認識用変数
; sysfvar(2) - CSAS値
; sysfvar(3) - 
; sysfvar(4) - gametime式ステート奪われ感知用変数
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
; 基本行動のステート
;---------------------------------------------------------------------------
; タイムオーバー時

[Statedef 170]
type   = S
ctrl   = 0   ;ここでCtrlSetを簡略化できます。　1=自由に動かせる
velset = 0,0 ;ここでVelSetを簡略化できます。　x方向,y方向 の順
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
trigger2=var(47)=stateno
trigger2=1||var(47):=0
value=stateno
ignorehitpause=1

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1


;---------------------------------------------------------------------------
; 勝利ポーズ分岐
;
;ここで勝利ポーズを選択する。　MatchOverは試合終了を判定するので、
;一回目と二回目勝利を別のポーズにしたい時に便利。

[Statedef 180]
type = S
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
trigger2=var(47)=stateno
trigger2=1||var(47):=0
value=stateno
ignorehitpause=1

[State 190, 2]
type = AssertSpecial
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = 1
flag = roundnotover

[State 180, win1]
type = ChangeState
triggerall = RoundState != 0 ;エンディング対策
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = MatchOver = 0     ;0なら次の試合がまだ残ってるということ
value = ifelse(random < 600, 181, 182)

[state 180,win2]
type = changestate
triggerall = random < 333
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = MatchOver = 1     ;これが1だと試合終了したとき
trigger2 = TeamMode = Simul
value = 184

[state 180,win3]
type = changestate
triggerall = random = [333,666]
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = MatchOver = 1
value = 189

[state 180,win4]
type = changestate
triggerall = MatchOver = 1
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = 1
value = 183

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1

;---------------------------------------------------------------------------

[Statedef 189];四次元カバン
type   = S
ctrl   = 0
velset = 0,0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
trigger2=var(47)=stateno
trigger2=1||var(47):=0
value=stateno
ignorehitpause=1

[State -2,voice]
type = playsnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 10
value = s5,38
channel = 2

[State -2,voice]
type = playsnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 7
value = s5,49
channel = 2

[State -2, kaban]
type = playsnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 4
value = s0,0
channel = 1

[State -2, kutsu]
type = playsnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 8
value = s40,0
channel = 1

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1

;---------------------------------------------------------------------------

;一撃勝利
[Statedef 188]
type = S
ctrl = 0
movetype= I
physics = S
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
trigger2=var(47)=stateno
trigger2=1||var(47):=0
value=stateno
ignorehitpause=1

;演出
[state 3400,]
type = assertSpecial
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = 1
flag = nomusic
flag2 = globalnoshadow
flag3 = nobardisplay
supermovetime = 99999999
pausemovetime = 99999999
IgnoreHitpause = 1

[state ]
type = EnvColor
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = 1
value = 255, 255, 255
time = 1
under = 1
supermovetime = 9999
pausemovetime = 9999

[State -2,];振り向かない
type = AssertSpecial
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
flag = NoAutoTurn
trigger1 = 1
ignorehitpause = 1

[State -2, 風]
type = playsnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 5
value = 9,4
channel = 0

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1

[Statedef 181];どすこい
type   = S
ctrl   = 0
velset = 0,0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
trigger2=var(47)=stateno
trigger2=1||var(47):=0
value=stateno
ignorehitpause=1

[State -2, おしまいor成敗]
type = playsnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 5
value = s5,29+(Random%2)*31
channel = 2

[State 210, 地鳴り]
type = PlaySnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 5
value = s1,2
channel = 1

[State -1]
Type = EnvShake
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 5
Time  = 15
Ampl  = 5
Freq  = 60

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1

[Statedef 187];どすこい
type   = S
ctrl   = 0
velset = 0,0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
trigger2=var(47)=stateno
trigger2=1||var(47):=0
value=stateno
ignorehitpause=1

[State -2, おしまい]
type = playsnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 5
value = s5,60
channel = 2

[State 210, 地鳴り]
type = PlaySnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 5
value = s1,2
channel = 1

[State -1]
Type = EnvShake
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 5
Time  = 15
Ampl  = 5
Freq  = 60

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1

[Statedef 182];もう終わり？
type   = S
ctrl   = 0
velset = 0,0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
trigger2=var(47)=stateno
trigger2=1||var(47):=0
value=stateno
ignorehitpause=1

[State -2, はっ]
type = playsnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 5
value = s5,0
channel = 0

[State -2, せい]
type = playsnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 8
value = s5,5
channel = 0

[State -2, そりゃあ！]
type = playsnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 11
value = s5,6
channel = 0

[State -2, もう終わり？]
type = playsnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 30
value = s5,128+(Random%2)*22
channel = 0

[State 210,風切]
type = PlaySnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 5
value = s0,1
channel = 2

[State 210,風切]
type = PlaySnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 8
value = s0,3
channel = 2

[State 210,風切]
type = PlaySnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 11
value = s0,4
channel = 2

[State 210,風切]
type = PlaySnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 30
value = s0,1
channel = 2

[State 210, 地鳴り]
type = PlaySnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 30
value = s1,2
channel = 1

[State 1027, 岩]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 30
anim = 6100
scale = 1,1
pos = 0,0
;postype = p1
sprpriority = 5
bindtime = 5

[State 1027, 砂埃]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 5
anim = 6002
pos = -30,0
;postype = p1
sprpriority = 5
bindtime = 1

[State 1027, 砂埃]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 8
anim = 6002
pos = -30,0
;postype = p1
sprpriority = 5
bindtime = 1

[State 1027, 砂埃]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 11
anim = 6001
pos = -30,0
;postype = p1
sprpriority = 5
bindtime = 1

[State -1]
Type = EnvShake
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 5
Time  = 5
Ampl  = 5
Freq  = 90

[State -1]
Type = EnvShake
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 8
Time  = 5
Ampl  = 5
Freq  = 90

[State -1]
Type = EnvShake
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 11
Time  = 5
Ampl  = 5
Freq  = 90

[State -1]
Type = EnvShake
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 30
Time  = 30
Ampl  = 5
Freq  = 60

[State 1027, 円]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 30
anim = 6320
scale = 1,0.1
pos = 0,0
;postype = p1
sprpriority = -1
bindtime = 1
ownpal = 1

[State 1027, 円]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 30
anim = 6330
scale = 1,0.1
pos = 0,0
;postype = p1
sprpriority = 5
bindtime = 1
ownpal = 1

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1

;-------------------------------------------------------

[Statedef 184];やった！よっしゃあ！
type   = S
ctrl   = 0
velset = 0,0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
trigger2=var(47)=stateno
trigger2=1||var(47):=0
value=stateno
ignorehitpause=1

[State 1027, 砂埃]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 7
trigger2 = animelem = 14
anim = 6000
pos = 0,0
;postype = p1
sprpriority = 5
bindtime = 1

[State -2, やった！]
type = playsnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 3
value = s5,178
channel = 0

[State -2, よっしゃあ！]
type = playsnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 9
value = s5,179
channel = 0

[State -2, 私の勝ちだ！];一人の時
type = playsnd
triggerall = !(TeamMode = Simul)
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 18
value = s5,180
channel = 0

[State -2, 私達の勝ちだ！];二人の時
type = playsnd
triggerall = TeamMode = Simul
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 18
value = s5,181
channel = 0

[State 210, 靴]
type = PlaySnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 7
trigger2 = animelem = 14
value = s40,0
channel = 1

[State 210, 風切]
type = PlaySnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 19
value = s0,1
channel = 1

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1

;-----------------------------------------------------

[Statedef 185];因果桜砲勝利
type   = S
ctrl   = 0
velset = 0,0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
trigger2=var(47)=stateno
trigger2=1||var(47):=0
value=stateno
ignorehitpause=1

[State -2, 風よりも疾く]
type = playsnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 2
value = s5,182
channel = 0

[State -2, 炎よりも熱い]
type = playsnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 21
value = s5,183
channel = 0

[State -2, 聞けや我が名は]
type = playsnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 44
value = s5,184
channel = 0

[State -2, 恵曇愁子]
type = playsnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 51
value = s500,5
channel = 0

[State 210,風切]
type = PlaySnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 22
value = s0,1
channel = 2

[State 210,風切]
type = PlaySnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 25
value = s0,3
channel = 2

[State 210,風切]
type = PlaySnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 28
value = s0,4
channel = 2

[State 210,風切]
type = PlaySnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 32
value = s0,1
channel = 2

[State 210, 地鳴り]
type = PlaySnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 32
value = s1,2
channel = 1

[State 1027, 岩]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 32
anim = 6100
scale = 1,1
pos = 0,0
;postype = p1
sprpriority = 5
bindtime = 5

[State 1027, 砂埃]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 22
anim = 6002
pos = -30,0
;postype = p1
sprpriority = 5
bindtime = 1

[State 1027, 砂埃]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 25
anim = 6002
pos = -30,0
;postype = p1
sprpriority = 5
bindtime = 1

[State 1027, 砂埃]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 28
anim = 6001
pos = -30,0
;postype = p1
sprpriority = 5
bindtime = 1

[State -1]
Type = EnvShake
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 22
Time  = 5
Ampl  = 5
Freq  = 90

[State -1]
Type = EnvShake
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 25
Time  = 5
Ampl  = 5
Freq  = 90

[State -1]
Type = EnvShake
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 28
Time  = 5
Ampl  = 5
Freq  = 90

[State -1]
Type = EnvShake
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 32
Time  = 30
Ampl  = 5
Freq  = 60

[State 1027, 円]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 32
anim = 6320
scale = 1,0.1
pos = 0,0
;postype = p1
sprpriority = -1
bindtime = 1
ownpal = 1

[State 1027, 円]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 32
anim = 6330
scale = 1,0.1
pos = 0,0
;postype = p1
sprpriority = 5
bindtime = 1
ownpal = 1

[State 210, wind]
type = playSnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 49
value = s0,4
channel = 2

[State 210, 地鳴り]
type = playSnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 49
value = s1,7
channel = 1

[State 1027, 砂埃]
type = explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 49
anim = 6003
pos = 0,0
;postype = p1
sprpriority = 4
bindtime = 1

[State 1027, 砂埃]
type = explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 49
anim = 6001
scale = -1,1
pos = 60,0
;postype = p1
sprpriority = -1
bindtime = 1

[State 1027, 砂埃]
type = explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 49
anim = 6001
scale = 1,1
pos = -30,0
;postype = p1
sprpriority = -1
bindtime = 1

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1

[Statedef 183];決着ゥ
type   = S
ctrl   = 0
velset = 0,0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
trigger2=var(47)=stateno
trigger2=1||var(47):=0
value=stateno
ignorehitpause=1

[State -2, 決着]
type = playsnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 5
value = s5,45
channel = 0

[State 210, 風切]
type = PlaySnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 5
value = s0,1
channel = 1

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1

;---------------------------------------------------------------------------
; イントロ

[Statedef 191]
type   = S
ctrl   = 0
velset = 0,0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
trigger2=var(47)=stateno
trigger2=1||var(47):=0
value=stateno
ignorehitpause=1

[State 191, 特殊効果]
type = AssertSpecial
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = 1
flag = Intro

[State -2, 足音]
type = playsnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 3
value = s40,0
channel = 1

[State -2, 包帯]
type = playsnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 5
value = s0,4
channel = 2

[State -2, 包帯]
type = playsnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 14
value = s0,5
channel = 1

[State -2, おっしゃあ！来い！]
type = playsnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 19
value = s5,35
channel = 2

[State 210, 地鳴り]
type = PlaySnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 23
value = s1,2
channel = 1

[State -1]
Type = EnvShake
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 23
Time  = 15
Ampl  = 5
Freq  = 60


[State 191, ステート変更]
type = ChangeState
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = AnimTime = 0
value = 0

;GH440

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1

[Statedef 192]
type = S
ctrl = 0
velset = 0,0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
trigger2=var(47)=stateno
trigger2=1||var(47):=0
value=stateno
ignorehitpause=1

[State 192, イントロ用フラグ]
type = AssertSpecial
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = 1
flag = Intro

[State -2, 立ち向かうならば]
type = playsnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 2
value = s5,72
channel = 2

[State -2, 恐れない！]
type = playsnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 19
value = s5,73
channel = 2

[State 191, ステート変更]
type = ChangeState
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = AnimTime = 0
value = 0

;カバンは投げ捨てるもの

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1

[Statedef 193]
type = S
ctrl = 0
velset = 0,0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
trigger2=var(47)=stateno
trigger2=1||var(47):=0
value=stateno
ignorehitpause=1

[State 192, イントロ用フラグ]
type = AssertSpecial
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = 1
flag = Intro

[State -2, 立ち向かうならば]
type = playsnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 2
value = s5,72
channel = 2

[State -2, 恐れない！]
type = playsnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 19
value = s5,73
channel = 2

[State 191, ステート変更]
type = ChangeState
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = AnimTime = 0
value = 0

[state evileye_changestate]
type=changestate
triggerall=(sysfvar(1)!=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id)||(name!="through_Lightning_Shuko")
trigger1=1
value=4771893
persistent=256
ignorehitpause=1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;ディゾルブ一回目
[Statedef 3500]
type     = S
movetype = I
physics  = S
velset   = 0,0
ctrl     = 0
facep2 = 1      ;相手の方を向いてから（結構重要）
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
trigger2=var(47)=stateno
trigger2=1||var(47):=0
value=stateno
ignorehitpause=1

[State 200, 掛け声]
type = PlaySnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 4
value = s5,15
channel = 0

[State 210, 地鳴り]
type = PlaySnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 4
value = s1,2
channel = 1

[State 210, 着火]
type = PlaySnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 1
value = s1,6
channel = 3

[State 1027, ]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 1
anim = 3510
scale = 1,1
pos = 0,-66
;postype = p1
sprpriority = 5
bindtime = 54
ownpal = 1
ID = 3510

[State 1027, 岩]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 4
anim = 6100
scale = 1,1
pos = 0,0
;postype = p1
sprpriority = 5
bindtime = 5

[State -1]
Type = EnvShake
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = AnimElem = 4
Time  = 30
Ampl  = 5
Freq  = 90

[State 1027, 円]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 4
anim = 6320
scale = 1,0.1
pos = 0,0
;postype = p1
sprpriority = -1
bindtime = 1
ownpal = 1

[State 1027, 円]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 4
anim = 6330
scale = 1,0.1
pos = 0,0
;postype = p1
sprpriority = 5
bindtime = 1
ownpal = 1

[State 1055, varSet]
type = VarSet
var(21) = 1
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 4

[State 195, ステート変更]
type = ChangeState
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = AnimTime = 0
value = 0
ctrl = 1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1

;ディゾルブ二回目
[Statedef 3501]
type     = S
movetype = I
physics  = S
velset   = 0,0
ctrl     = 0
facep2 = 1      ;相手の方を向いてから（結構重要）
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
trigger2=var(47)=stateno
trigger2=1||var(47):=0
value=stateno
ignorehitpause=1

[State 200, 掛け声]
type = PlaySnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 4
value = s5,10
channel = 0

[State 210, 地鳴り]
type = PlaySnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 4
value = s1,3
channel = 1

[State 210, 着火]
type = PlaySnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 1
value = s1,6
channel = 3

[State 1027, 焔]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 1
anim = 3510
scale = 1,1
pos = 0,-66
;postype = p1
sprpriority = 5
bindtime = 54
ownpal = 1
ID = 3510

[State 1027, 岩]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 4
anim = 6100
scale = 1.5,1.5
pos = 0,0
;postype = p1
sprpriority = 5
bindtime = 5

[State -1]
Type = EnvShake
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = AnimElem = 4
Time  = 30
Ampl  = 5
Freq  = 90

[State 1027, 円]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 4
anim = 6320
scale = 1.5,0.1
pos = 0,0
;postype = p1
sprpriority = -1
ownpal = 1
bindtime = 1

[State 1027, 円]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 4
anim = 6330
scale = 1.5,0.1
pos = 0,0
;postype = p1
sprpriority = 5
ownpal = 1
bindtime = 1


[State 1027, 砂埃]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 4
anim = 6002
pos = -30,0
;postype = p1
sprpriority = 6
bindtime = 5

[State 1027, 砂埃]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 4
anim = 6002
scale = -1,1
pos = 60,0
;postype = p1
sprpriority = 6
bindtime = 5

[State 1055, varSet]
type = Varset
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 4
var(21) = 2

[State 195, ステート変更]
type = ChangeState
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = AnimTime = 0
value = 0
ctrl = 1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1

;ディゾルブ三回目
[Statedef 3502]
type     = S
movetype = I
physics  = S
velset   = 0,0
ctrl     = 0
facep2 = 1      ;相手の方を向いてから（結構重要）
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
trigger2=var(47)=stateno
trigger2=1||var(47):=0
value=stateno
ignorehitpause=1

[State 200, 掛け声]
type = PlaySnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = time = 52
value = s5,31
channel = 0

[State 210, wind]
type = PlaySnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 4
value = s0,6
channel = 2

[State 210, 地鳴り]
type = PlaySnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 4
value = s1,4
channel = 1

[State 210, 着火]
type = PlaySnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 1
value = s1,6
channel = 3

[State 1027, 焔]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 1
anim = 3510
scale = 1,1
pos = 0,-66
;postype = p1
sprpriority = 5
bindtime = 54
ownpal = 1
ID = 3510

[State 1027, 砂埃]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 4
anim = 6003
pos = 0,0
;postype = p1
sprpriority = 6
bindtime = 5

[State 1027, 岩]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 4
anim = 6100
scale = 2,2
pos = 0,0
;postype = p1
sprpriority = 4
bindtime = 5

[State -1]
Type = EnvShake
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = AnimElem = 4
Time  = 30
Ampl  = 5
Freq  = 90

[State 1027, 円]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 4
anim = 6320
scale = 2,0.1
pos = 0,0
;postype = p1
sprpriority = -1
bindtime = 1
ownpal = 1

[State 1027, 円]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 4
anim = 6330
scale = 2,0.1
pos = 0,0
;postype = p1
sprpriority = 5
bindtime = 1
ownpal = 1

[State 1027, 砂埃]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 4
anim = 6001
pos = -30,0
;postype = p1
sprpriority = 5
bindtime = 5

[State 1027, 砂埃]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 4
anim = 6001
scale = -1,1
pos = 60,0
;postype = p1
sprpriority = 5
bindtime = 5

[State 1055, varSet]
type = Varset
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 4
var(21) = 3

[State 195, ステート変更]
type = ChangeState
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = AnimTime = 0
value = 0
ctrl = 1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1

;----------------------------------------------------------

;チャージ
[Statedef 4100]
type = S
movetype = I
physics = N
ctrl = 0
velset = 0, 0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
trigger2=var(47)=stateno
trigger2=1||var(47):=0
value=stateno
ignorehitpause=1

[State 4100,PlaySnd]
type = PlaySnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 3
value = s8,0
channel = 0

[State 4100,PlaySnd]
type = PlaySnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 3
value = s5,52
channel = 1

[State 4100,PlaySnd]
type = PlaySnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 17
value = s8,1
channel = 0

[State 1027, 円]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 5
trigger2 = animelem = 10
trigger3 = animelem = 15
trigger4 = animelem = 20
anim = 6321
scale = 0.5,0.1
pos = 0,0
;postype = p1
sprpriority = -1
bindtime = 1
ownpal = 1

[State 1027, 円]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 5
trigger2 = animelem = 10
trigger3 = animelem = 15
trigger4 = animelem = 20
anim = 6331
scale = 0.5,0.1
pos = 0,0
;postype = p1
sprpriority = 5
bindtime = 1
ownpal = 1

[State 1027, 玉]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 5
anim = 6352
scale = 0.1,1
pos = 20,-50
;postype = p1
sprpriority = 5
bindtime = 1
ownpal = 1

[State 1027, 玉]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 7
anim = 6352
scale = 0.1,1
pos = -30,-13
;postype = p1
sprpriority = 5
bindtime = 1

[State 1027, 玉]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 6
anim = 6351
scale = 0.1,1
pos = -50,-10
;postype = p1
sprpriority = 5
bindtime = 1
ownpal = 1

[State 1027, 玉]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 8
anim = 6351
scale = 0.1,1
pos = 5,-50
;postype = p1
sprpriority = 5
bindtime = 1
ownpal = 1

[State 1027, 玉]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 9
anim = 6352
scale = 0.1,1
pos = 46,-32
;postype = p1
sprpriority = 5
bindtime = 1
ownpal = 1

[State 1027, 玉]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 13
anim = 6352
scale = 0.1,1
pos = -46,32
;postype = p1
sprpriority = 5
bindtime = 1
ownpal = 1

[State 1027, 玉]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 11
anim = 6352
scale = 0.1,1
pos = -3,30
;postype = p1
sprpriority = 5
bindtime = 1
ownpal = 1

[State 1027, 玉]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 23
anim = 6351
scale = 0.1,1
pos = -25,-50
;postype = p1
sprpriority = 5
bindtime = 1
ownpal = 1

[State 1027, 玉]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 12
anim = 6351
scale = 0.1,1
pos = 38,-21
;postype = p1
sprpriority = 5
bindtime = 1
ownpal = 1

[State 1027, 玉]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 21
anim = 6352
scale = 0.1,1
pos = 33,-19
;postype = p1
sprpriority = 5
bindtime = 1
ownpal = 1

[State 1027, 玉]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 15
anim = 6352
scale = 0.1,1
pos = -62,17
;postype = p1
sprpriority = 5
bindtime = 1
ownpal = 1

[State 1027, 玉]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 14
anim = 6351
scale = 0.1,1
pos = -25,-9
;postype = p1
sprpriority = 5
bindtime = 1
ownpal = 1

[State 1027, 玉]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 22
anim = 6351
scale = 0.1,1
pos = 25,9
;postype = p1
sprpriority = 5
bindtime = 1
ownpal = 1

[State 1027, 玉]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 16
anim = 6351
scale = 0.1,1
pos = 61,-24
;postype = p1
sprpriority = 5
bindtime = 1
ownpal = 1

[State 1027, 玉]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 19
anim = 6352
scale = 0.1,1
pos = 46,-32
;postype = p1
sprpriority = 5
bindtime = 1
ownpal = 1

[State 1027, 玉]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 17
anim = 6352
scale = 0.1,1
pos = -8,17
;postype = p1
sprpriority = 5
bindtime = 1
ownpal = 1

[State 1027, 玉]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 20
anim = 6351
scale = 0.1,1
pos = -19,-42
;postype = p1
sprpriority = 5
bindtime = 1
ownpal = 1

[State 1027, 玉]
type = Explod
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 21
anim = 6351
scale = 0.1,1
pos = 27,-14
;postype = p1
sprpriority = 5
bindtime = 1
ownpal = 1

[State 4100, 発光]
type = palfx
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = 1
time = 1
add= 75+ceil(sin(time/6.0*pi)*75), 25+ceil(sin(time/6.0*pi)*25), 0

[State 4100,Poweradd]
type = Poweradd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = 1
value = 15

[State 4100,ChangeState]
type = selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)=0
trigger1 = power = powermax
trigger2 = roundstate!=2
trigger3 = (command = "hold_b") = 0
trigger3 = (command="hold_x" && command="hold_a") = 0
value = 4101
ctrl = 0

[State 4100,ChangeState]; ---------------- AI
type = selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
triggerall=var(59)!=0
trigger1 = power = powermax
trigger2 = roundstate!=2
trigger3 = (enemy(var(4)),stateno!=3210)&&(enemy(var(4)),stateno!=3220)&&(enemy(var(4)),stateno!=3230)&&(enemy(var(4)),statetype!=L)
trigger3 = abs(fvar(14))<=150
trigger4 = var(21)<3
trigger4 = random>(999-9*var(59))
trigger4 = power>=(powermax/5)
value = 4101
ctrl = 0

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1

;---------------- おわり
[Statedef 4101]
type = S
movetype = I
physics = N
ctrl = 0
velset = 0, 0
sprpriority=ifelse(sysfvar(2)>=3000,2147483647,2)

[state change_anim]
type=changeanim
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=anim!=stateno
trigger2=var(47)=stateno
trigger2=1||var(47):=0
value=stateno
ignorehitpause=1

[State 4101,Stopsnd]
type = Stopsnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 1
channel = 0
persistent = 0

[State 4101,Stopsnd]
type = Stopsnd
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = animelem = 1
channel = 1
persistent = 0

[State 4101,End]
type = ChangeState
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1 = AnimTime = 0
value = 0
ctrl = 1

[State semi_state_fixing]
type=selfstate
triggerall=!ishelper
triggerall=sysfvar(1)=(((gametime*const(data.life)/114514)*(gametime*0.93))/1.919810931)/gametime*id
triggerall=name="through_Lightning_Shuko"
trigger1=1
value=5150
persistent=256
ignorehitpause=1
