
;--------------------------------------------------------------------------
;	AI僗僀僢僠僐儅儞僪

[Command]
Name = "AI01"
Command = ~D,U,D,U,D,U,D,U,D,U,a
Time = 1

[Command]
Name = "AI02"
Command = ~D,U,D,U,D,U,D,U,D,U,b
Time = 1

[Command]
Name = "AI03"
Command = ~D,U,D,U,D,U,D,U,D,U,c
Time = 1

[Command]
Name = "AI04"
Command = ~D,U,D,U,D,U,D,U,D,U,x
Time = 1

[Command]
Name = "AI05"
Command = ~D,U,D,U,D,U,D,U,D,U,y
Time = 1

[Command]
Name = "AI06"
Command = ~D,U,D,U,D,U,D,U,D,U,z
Time = 1

[Command]
Name = "AI07"
Command = ~U,D,U,D,U,D,U,D,U,D,a
Time = 1

[Command]
Name = "AI08"
Command = ~U,D,U,D,U,D,U,D,U,D,b
Time = 1

[Command]
Name = "AI09"
Command = ~U,D,U,D,U,D,U,D,U,D,c
Time = 1

[Command]
Name = "AI10"
Command = ~U,D,U,D,U,D,U,D,U,D,x
Time = 1

[Command]
Name = "AI11"
Command = ~U,D,U,D,U,D,U,D,U,D,y
Time = 1

[Command]
Name = "AI12"
Command = ~U,D,U,D,U,D,U,D,U,D,z
Time = 1

[Command]
Name = "AI13"
Command = ~B,F,B,F,B,F,B,F,B,F,a
Time = 1

[Command]
Name = "AI14"
Command = ~B,F,B,F,B,F,B,F,B,F,b
Time = 1

[Command]
Name = "AI15"
Command = ~B,F,B,F,B,F,B,F,B,F,c
Time = 1

[Command]
Name = "AI16"
Command = ~B,F,B,F,B,F,B,F,B,F,x
Time = 1

[Command]
Name = "AI17"
Command = ~B,F,B,F,B,F,B,F,B,F,y
Time = 1

[Command]
Name = "AI18"
Command = ~B,F,B,F,B,F,B,F,B,F,z
Time = 1

[Command]
Name = "AI19"
Command = ~F,B,F,B,F,B,F,B,F,B,a
Time = 1

[Command]
Name = "AI20"
Command = ~F,B,F,B,F,B,F,B,F,B,b
Time = 1

[Command]
Name = "AI21"
Command = ~F,B,F,B,F,B,F,B,F,B,c
Time = 1

[Command]
Name = "AI22"
Command = ~F,B,F,B,F,B,F,B,F,B,x
Time = 1

[Command]
Name = "AI23"
Command = ~F,B,F,B,F,B,F,B,F,B,y
Time = 1

[Command]
Name = "AI24"
Command = ~F,B,F,B,F,B,F,B,F,B,z
Time = 1


;------------------------------
;	AI梡僐儅儞僪

[Command]
Name = "236236236236C"
Command = ~D, DF, F, D, DF, F, D, DF, F, D, DF, F, c
Time = 1

[Command]
Name = "214214214214C"
Command = ~D, DB, B, D, DB, B, D, DB, B, D, DB, B, c
Time = 1

[Command]
Name = "4123641236C"
Command = ~B, DB, D, DF, F, B, DB, D, DF, F, c
Time = 1

[Command]
Name = "6321463214C"
Command = ~F, DF, D, DB, B, F, DF, D, DB, B, c
Time = 1

;------------------------------
;	挻昁嶦媄僐儅儞僪

[Command]
name = "22B"
command = ~D,D, b
time = 30

[Command]
Name = "214Z"
Command = ~D, DB, B, z
Time = 20

[Command]
Name = "236Z"
Command = ~D, DF, F, z
Time = 20

[Command]
Name = "623Z"
Command = ~F, D, DF, z
Time = 20

[Command]
Name = "421Z"
Command = ~B, D, DB, z
Time = 20

[Command]
Name = "22Z"
Command = ~D, D, z
Time = 10

[Command]
Name = "64Z"
Command = ~F, B, z
Time = 10

;------------------------------
;	昁嶦媄僐儅儞僪

[Command]
Name = "214A"
Command = ~D, DB, B, a
Time = 15
[Command]
Name = "214B"
Command = ~D, DB, B, b
Time = 15
[Command]
Name = "214C"
Command = ~D, DB, B, c
Time = 15

[Command]
Name = "214X"
Command = ~D, DB, B, x
Time = 15

[Command]
Name = "214Y"
Command = ~D, DB, B, y
Time = 15

[Command]
Name = "64A"
Command = ~F, B, a
Time = 15

[Command]
Name = "64B"
Command = ~F, B, b
Time = 15

[Command]
Name = "64C"
Command = ~F, B, c
Time = 15



[Command]
Name = "236A"
Command = ~D, DF, F, a
Time = 15
[Command]
Name = "236B"
Command = ~D, DF, F, b
Time = 15
[Command]
Name = "236C"
Command = ~D, DF, F, c
Time = 15

[Command]
Name = "236X"
Command = ~D, DF, F, x
Time = 15
[Command]
Name = "236Y"
Command = ~D, DF, F, y
Time = 15

[Command]
Name = "222C"
Command = ~D, D, D, c
Time = 15

[Command]
Name = "46A"
Command = ~B, F, a
Time = 15

[Command]
Name = "46B"
Command = ~B, F, b
Time = 15

[Command]
Name = "623A"
Command = ~F, D, DF, a
Time = 15
[Command]
Name = "623B"
Command = ~F, D, DF, b
Time = 15
[Command]
Name = "623C"
Command = ~F, D, DF, c
Time = 15

[Command]
Name = "421A"
Command = ~B, D, DB, a
Time = 15
[Command]
Name = "421B"
Command = ~B, D, DB, b
Time = 15
[Command]
Name = "421C"
Command = ~B, D, DB, c
Time = 15

;------------------------------
;	僋儔僢僔儏僐儅儞僪

[Command]
Name = "22A"
Command = ~D, D, a
Time = 15
[Command]
Name = "22B"
Command = ~D, D, b
Time = 15
[Command]
Name = "22C"
Command = ~D, D, c
Time = 15

[Command]
Name = "22X"
Command = ~D, D, x
Time = 15

[Command]
Name = "22Y"
Command = ~D, D, y
Time = 15

[Command]
Name = "22C"
Command = ~D, D, c
Time = 15

;------------------------------
;	僟僢僔儏僐儅儞僪

[Command]
Name = "66"     
Command = F, F
Time = 15

[Command]
Name = "44"     
Command = B, B
Time = 15

;------------------------------
;	庴恎僐儅儞僪

[Command]
Name = "recovery"
Command = x+y

[Command]
Name = "recoveryA"
Command = /F,a
[Command]
Name = "recoveryA"
Command = /F,b
[Command]
Name = "recoveryA"
Command = /F,c

[Command]
Name = "recoveryB"
Command = /B,a
[Command]
Name = "recoveryB"
Command = /B,b
[Command]
Name = "recoveryB"
Command = /B,c

;------------------------------
;	堏摦婲偒忋偑傝梡僐儅儞僪

[Command]
Name = "holda"
Command = /$a
Time = 1
[Command]
Name = "holdb"
Command = /$b
Time = 1
[Command]
Name = "holdc"
Command = /$c
Time = 1

[Command]
Name = "holdx"
Command = /$x
Time = 1
[Command]
Name = "holdy"
Command = /$y
Time = 1
[Command]
Name = "holdz"
Command = /$z
Time = 1

;------------------------------
;	扨敪僐儅儞僪

[Command]
Name = "2"
Command = D
Time = 1

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

[Command]
Name = "a"
Command = a
Time = 1
[Command]
Name = "b"
Command = b
Time = 1
[Command]
Name = "c"
Command = c
Time = 1

[Command]
Name = "x"
Command = x
Time = 1
[Command]
Name = "y"
Command = y
Time = 1
[Command]
Name = "z"
Command = z
Time = 1

[Command]
Name = "start"
Command = s
Time = 1

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

[Command]
Name = "holdfwd"
Command = /$F
Time = 1
[Command]
Name = "holdback"
Command = /$B
Time = 1

[Command]
Name = "holdup" 
Command = /$U
Time = 1
[Command]
Name = "holddown"
Command = /$D
Time = 1

[Command]
Name = "holda"
Command = /$a
Time = 1
[Command]
Name = "holdb"
Command = /$b
Time = 1
[Command]
Name = "holdc"
Command = /$c
Time = 1

;==============================
[StateDef -1]

;仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭
;	僾儗僀儎乕憖嶌梡
;--------------------------------------------------

;------------------------------丂僾儗僀儎乕僗儁儖僇乕僪峌寕乮渎柌憐乯
[State -1, PlayerSpell_S]
Type = ChangeState
Value = 3030
TriggerAll = Command = "22Z"
TriggerAll = Var(49) = 0;	AI晄壜
TriggerAll = Power >= 1000;	僷儚乕桳傝
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = [205,109]) && (StateNo%5 = 2) && (Time > 0)
Trigger3   = (StateNo = [200,249]) && MoveContact
Trigger4   = (StateNo = [400,449]) && MoveContact
Trigger5   = (StateNo = [300,309]) && (StateNo%5=1) && (Time>0)
Trigger6   = (StateNo = [300,309]) && (StateNo%5=2)
Trigger7   = (StateNo = [320,349]) && (AnimElem =6, >0)
Trigger8   = (StateNo = 500) && (AnimElem =5, >0)
Trigger9   = (StateNo = 540) && (AnimElem =4, >0)
Trigger10  = (Var(12) = 1000) && (StateNo = 119) && MoveContact && (AnimElem =9, >0)
Trigger11  = (StateNo = 1001) && MoveContact
Trigger12  = (Var(12) = 1011) && (StateNo = 119) && MoveContact && (AnimElem =7, >0)
Trigger13  = (StateNo = 1012) && MoveContact
Trigger14  = (StateNo = 1049) && MoveContact
Trigger15  = (StateNo = 1060) && (Time > 35)

[State -1, 1150_1155]
Type = ChangeState
Value = 3055
TriggerAll = Command = "236C"
TriggerAll = Var(49) = 0;	AI晄壜
TriggerAll = StateType = A
Trigger1   = Ctrl
Trigger2   = (StateNo = 101) && (Time > 5)
Trigger3   = (StateNo = [110,119]) && (StateNo%5 = 1) && (Time > 9)
Trigger4   = (StateNo = [600,629]) && MoveContact
Trigger5   = (StateNo = 521) && (AnimElem = 5, >0)
Trigger6   = (StateNo = [700,749]) && (StateNo%5 > 0)

[State -1, PlayerSpell_S]
Type = ChangeState
Value = 3050
TriggerAll = Command = "623Z"
TriggerAll = Var(49) = 0;	AI晄壜
TriggerAll = Power >= 1000;	僷儚乕桳傝
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = [205,109]) && (StateNo%5 = 2) && (Time > 0)
Trigger3   = (StateNo = [200,249]) && MoveContact
Trigger4   = (StateNo = [400,449]) && MoveContact
Trigger5   = (StateNo = [300,309]) && (StateNo%5=1) && (Time>0)
Trigger6   = (StateNo = [300,309]) && (StateNo%5=2)
Trigger7   = (StateNo = [320,349]) && (AnimElem =6, >0)
Trigger8   = (StateNo = 500) && (AnimElem =5, >0)
Trigger9   = (StateNo = 540) && (AnimElem =4, >0)
Trigger10  = (Var(12) = 1000) && (StateNo = 119) && MoveContact && (AnimElem =9, >0)
Trigger11  = (StateNo = 1001) && MoveContact
Trigger12  = (Var(12) = 1011) && (StateNo = 119) && MoveContact && (AnimElem =7, >0)
Trigger13  = (StateNo = 1012) && MoveContact
Trigger14  = (StateNo = 1049) && MoveContact
Trigger15  = (StateNo = 1060) && (Time > 35)

[State -1, PlayerSpell_S]
Type = null;ChangeState
Value = 3070
TriggerAll = palno = 1
TriggerAll = Command = "214Z"
TriggerAll = Var(49) = 0;	AI晄壜
TriggerAll = Power >= 1000;	僷儚乕桳傝
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = [205,109]) && (StateNo%5 = 2) && (Time > 0)
Trigger3   = (StateNo = [200,249]) && MoveContact
Trigger4   = (StateNo = [400,449]) && MoveContact
Trigger5   = (StateNo = [300,309]) && (StateNo%5=1) && (Time>0)
Trigger6   = (StateNo = [300,309]) && (StateNo%5=2)
Trigger7   = (StateNo = [320,349]) && (AnimElem =6, >0)
Trigger8   = (StateNo = 500) && (AnimElem =5, >0)
Trigger9   = (StateNo = 540) && (AnimElem =4, >0)
Trigger10  = (Var(12) = 1000) && (StateNo = 119) && MoveContact && (AnimElem =9, >0)
Trigger11  = (StateNo = 1001) && MoveContact
Trigger12  = (Var(12) = 1011) && (StateNo = 119) && MoveContact && (AnimElem =7, >0)
Trigger13  = (StateNo = 1012) && MoveContact
Trigger14  = (StateNo = 1049) && MoveContact
Trigger15  = (StateNo = 1060) && (Time > 35)

;------------------------------丂僾儗僀儎乕僗儁儖僇乕僪峌寕乮傾儗儞僕乯
[State -1, PlayerSpell_M]
Type = ChangeState
Value = 3240
TriggerAll = Command = "236Z"
TriggerAll = Var(49) = 0;	AI晄壜
TriggerAll = Power >= 3000;	僷儚乕桳傝
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = [205,109]) && (StateNo%5 = 2) && (Time > 0)
Trigger3   = (StateNo = [200,249]) && MoveContact
Trigger4   = (StateNo = [400,449]) && MoveContact
Trigger5   = (StateNo = [300,309]) && (StateNo%5=1) && (Time>0)
Trigger6   = (StateNo = [300,309]) && (StateNo%5=2)
Trigger7   = (StateNo = [320,349]) && (AnimElem =6, >0)
Trigger8   = (StateNo = 500) && (AnimElem =5, >0)
Trigger9   = (StateNo = 540) && (AnimElem =4, >0)
Trigger10  = (Var(12) = [1100,1119]) && (StateNo = 119) && MoveContact
Trigger11  = (StateNo = [1120,1122]) && (AnimElem=5,>0)
Trigger12  = (StateNo = 1160) && (Time > 42)
Trigger13   = (StateNo = 101) && (Time > 5)
Trigger14   = (StateNo = [110,119]) && (StateNo%5 = 1) && (Time > 9)
Trigger15   = (StateNo = [600,629]) && MoveContact
Trigger16   = (StateNo = 521) && (AnimElem = 5, >0)
Trigger17   = (StateNo = [700,749]) && (StateNo%5 > 0)

[State -1, PlayerSpell_M]
Type = ChangeState
Value = 800
TriggerAll = Command = "236Y"
TriggerAll = Var(49) = 0;	AI晄壜
TriggerAll = Power >= 3000;	僷儚乕桳傝
TriggerAll = StateType != A
triggerall = numhelper(802) = 0
triggerall = var(39) = 0
Trigger1   = Ctrl
Trigger2   = (StateNo = [205,109]) && (StateNo%5 = 2) && (Time > 0)
Trigger3   = (StateNo = [200,249]) && MoveContact
Trigger4   = (StateNo = [400,449]) && MoveContact
Trigger5   = (StateNo = [300,309]) && (StateNo%5=1) && (Time>0)
Trigger6   = (StateNo = [300,309]) && (StateNo%5=2)
Trigger7   = (StateNo = [320,349]) && (AnimElem =6, >0)
Trigger8   = (StateNo = 500) && (AnimElem =5, >0)
Trigger9   = (StateNo = 540) && (AnimElem =4, >0)
Trigger10  = (Var(12) = [1100,1119]) && (StateNo = 119) && MoveContact
Trigger11  = (StateNo = [1120,1122]) && (AnimElem=5,>0)
Trigger12  = (StateNo = 1160) && (Time > 42)
Trigger13   = (StateNo = 101) && (Time > 5)
Trigger14   = (StateNo = [110,119]) && (StateNo%5 = 1) && (Time > 9)
Trigger15   = (StateNo = [600,629]) && MoveContact
Trigger16   = (StateNo = 521) && (AnimElem = 5, >0)
Trigger17   = (StateNo = [700,749]) && (StateNo%5 > 0)

[State -1, PlayerSpell_M]
Type = ChangeState
Value = 3220
TriggerAll = Command = "214Z"
TriggerAll = Var(49) = 0;	AI晄壜
TriggerAll = Power >= 1000;	僷儚乕桳傝
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = [205,109]) && (StateNo%5 = 2) && (Time > 0)
Trigger3   = (StateNo = [200,249]) && MoveContact
Trigger4   = (StateNo = [400,449]) && MoveContact
Trigger5   = (StateNo = [300,309]) && (StateNo%5=1) && (Time>0)
Trigger6   = (StateNo = [300,309]) && (StateNo%5=2)
Trigger7   = (StateNo = [320,349]) && (AnimElem =6, >0)
Trigger8   = (StateNo = 500) && (AnimElem =5, >0)
Trigger9   = (StateNo = 540) && (AnimElem =4, >0)
Trigger10  = (Var(12) = [1100,1119]) && (StateNo = 119) && MoveContact
Trigger11  = (StateNo = [1120,1122]) && (AnimElem=5,>0)
Trigger12  = (StateNo = 1160) && (Time > 42)
Trigger13   = (StateNo = 101) && (Time > 5)
Trigger14   = (StateNo = [110,119]) && (StateNo%5 = 1) && (Time > 9)
Trigger15   = (StateNo = [600,629]) && MoveContact
Trigger16   = (StateNo = 521) && (AnimElem = 5, >0)
Trigger17   = (StateNo = [700,749]) && (StateNo%5 > 0)



;------------------------------丂僨乕儌儞儘乕僪僋儗僀僪儖
[State -1, 1020_1030]
Type = ChangeState
Value = IfElse((Command="623A"),1020,1030)
TriggerAll = (Command = "623B")
TriggerAll = Var(49) = 0;	AI晄壜
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = [205,109]) && (StateNo%5 = 2) && (Time > 0)
Trigger3   = (StateNo = [200,239]) && MoveContact
Trigger4   = (StateNo = 400) && MoveContact
Trigger5   = (StateNo = [300,309]) && (StateNo%5=1) && (Time>0)
Trigger6   = (StateNo = [300,309]) && (StateNo%5=2)
Trigger7   = (StateNo = [320,349]) && (AnimElem =6, >0)
Trigger8   = (StateNo = 500) && (AnimElem =5, >0)
Trigger9   = (StateNo = 540) && (AnimElem =4, >0)


;------------------------------丂僨乕儌儞儘乕僪僂僅乕僋
[State -1, 1000_1010]
Type = ChangeState
Value = IfElse((Command="236A"),1000,1010)
TriggerAll = (Command = "236A") || (Command = "236B")
TriggerAll = Var(49) = 0;	AI晄壜
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = [205,109]) && (StateNo%5 = 2) && (Time > 0)
Trigger3   = (StateNo = [200,239]) && MoveContact
Trigger4   = (StateNo = 400) && MoveContact
Trigger5   = (StateNo = [300,309]) && (StateNo%5=1) && (Time>0)
Trigger6   = (StateNo = [300,309]) && (StateNo%5=2)
Trigger7   = (StateNo = [320,349]) && (AnimElem =6, >0)
Trigger8   = (StateNo = 500) && (AnimElem =5, >0)

[State -1, 199]
Type = ChangeState
Value = 805;3020
TriggerAll = palno = [11,12]
TriggerAll = Command = "22C"
TriggerAll = StateType != A
TriggerAll = Power >= 1000
Trigger1   = Ctrl
Trigger2   = (StateNo = 101) && (Time > 5)
Trigger3   = (StateNo = [110,119]) && (StateNo%5 = 1) && (Time > 9)
Trigger4   = (StateNo = [600,629]) && MoveContact
Trigger5   = (StateNo = 521) && (AnimElem = 5, >0)
Trigger6   = (StateNo = [700,749]) && (StateNo%5 > 0)
Trigger7   = (StateNo = [205,109]) && (StateNo%5 = 2) && (Time > 0)
Trigger8   = (StateNo = [200,239]) && MoveContact
Trigger9   = (StateNo = 400) && MoveContact
Trigger10   = (StateNo = [300,309]) && (StateNo%5=1) && (Time>0)
Trigger11   = (StateNo = [300,309]) && (StateNo%5=2)
Trigger12   = (StateNo = [320,349]) && (AnimElem =6, >0)
Trigger13   = (StateNo = 500) && (AnimElem =5, >0)

[State -1, 199]
Type = ChangeState
Value = 3020
TriggerAll = palno != [11,12]
TriggerAll = Command = "22C"
TriggerAll = StateType != A
TriggerAll = Power >= 1000
Trigger1   = Ctrl
Trigger2   = (StateNo = 101) && (Time > 5)
Trigger3   = (StateNo = [110,119]) && (StateNo%5 = 1) && (Time > 9)
Trigger4   = (StateNo = [600,629]) && MoveContact
Trigger5   = (StateNo = 521) && (AnimElem = 5, >0)
Trigger6   = (StateNo = [700,749]) && (StateNo%5 > 0)
Trigger7   = (StateNo = [205,109]) && (StateNo%5 = 2) && (Time > 0)
Trigger8   = (StateNo = [200,239]) && MoveContact
Trigger9   = (StateNo = 400) && MoveContact
Trigger10   = (StateNo = [300,309]) && (StateNo%5=1) && (Time>0)
Trigger11   = (StateNo = [300,309]) && (StateNo%5=2)
Trigger12   = (StateNo = [320,349]) && (AnimElem =6, >0)
Trigger13   = (StateNo = 500) && (AnimElem =5, >0)

[State -1, 199]
Type = ChangeState
Value = 199
TriggerAll = Command = "214A"
TriggerAll = StateType != A
TriggerAll = Power >= 1000
Trigger1   = Ctrl
Trigger2   = (StateNo = 101) && (Time > 5)
Trigger3   = (StateNo = [110,119]) && (StateNo%5 = 1) && (Time > 9)
Trigger4   = (StateNo = [600,629]) && MoveContact
Trigger5   = (StateNo = 521) && (AnimElem = 5, >0)
Trigger6   = (StateNo = [700,749]) && (StateNo%5 > 0)
Trigger7   = (StateNo = [205,109]) && (StateNo%5 = 2) && (Time > 0)
Trigger8   = (StateNo = [200,239]) && MoveContact
Trigger9   = (StateNo = 400) && MoveContact
Trigger10   = (StateNo = [300,309]) && (StateNo%5=1) && (Time>0)
Trigger11   = (StateNo = [300,309]) && (StateNo%5=2)
Trigger12   = (StateNo = [320,349]) && (AnimElem =6, >0)
Trigger13   = (StateNo = 500) && (AnimElem =5, >0)


;------------------------------丂
[State -1, 1161]
Type = ChangeState
Value = 1161
TriggerAll = Command = "236C"
TriggerAll = Var(49) = 0;	AI晄壜
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = [205,109]) && (StateNo%5 = 2) && (Time > 0)
Trigger3   = (StateNo = [200,239]) && MoveContact
Trigger4   = (StateNo = 400) && MoveContact
Trigger5   = (StateNo = [300,309]) && (StateNo%5=1) && (Time>0)
Trigger6   = (StateNo = [300,309]) && (StateNo%5=2)
Trigger7   = (StateNo = [320,349]) && (AnimElem =6, >0)
Trigger8   = (StateNo = 500) && (AnimElem =5, >0)
Trigger9   = (StateNo = 540) && (AnimElem =4, >0)



;------------------------------丂僗儁僇
[State -1, 3520_3540_3590]
Type = ChangeState
Value = 3250
TriggerAll = Command = "236X"
TriggerAll = Var(49) = 0;	AI晄壜
TriggerAll = StateType != A
TriggerAll = Power >= 1000
Trigger1   = Ctrl
Trigger2   = (StateNo = [205,109]) && (StateNo%5 = 2) && (Time > 0)
Trigger3   = (StateNo = [200,239]) && MoveContact
Trigger4   = (StateNo = 400) && MoveContact
Trigger5   = (StateNo = [300,309]) && (StateNo%5=1) && (Time>0)
Trigger6   = (StateNo = [300,309]) && (StateNo%5=2)
Trigger7   = (StateNo = [320,349]) && (AnimElem =6, >0)
Trigger8   = (StateNo = 500) && (AnimElem =5, >0)
Trigger9   = (StateNo = 540) && (AnimElem =4, >0)

[State -1, 3520_3540_3590]
Type = null;ChangeState
Value = 3540
TriggerAll = palno = [1,10]
TriggerAll = Command = "236Y"
TriggerAll = Var(49) = 0;	AI晄壜
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = [205,109]) && (StateNo%5 = 2) && (Time > 0)
Trigger3   = (StateNo = [200,239]) && MoveContact
Trigger4   = (StateNo = 400) && MoveContact
Trigger5   = (StateNo = [300,309]) && (StateNo%5=1) && (Time>0)
Trigger6   = (StateNo = [300,309]) && (StateNo%5=2)
Trigger7   = (StateNo = [320,349]) && (AnimElem =6, >0)
Trigger8   = (StateNo = 500) && (AnimElem =5, >0)
Trigger9   = (StateNo = 540) && (AnimElem =4, >0)

[State -1, 3520_3540_3590]
Type = ChangeState
Value = 3590
TriggerAll = Command = "214C"
TriggerAll = Var(49) = 0;	AI晄壜
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = [205,109]) && (StateNo%5 = 2) && (Time > 0)
Trigger3   = (StateNo = [200,239]) && MoveContact
Trigger4   = (StateNo = 400) && MoveContact
Trigger5   = (StateNo = [300,309]) && (StateNo%5=1) && (Time>0)
Trigger6   = (StateNo = [300,309]) && (StateNo%5=2)
Trigger7   = (StateNo = [320,349]) && (AnimElem =6, >0)
Trigger8   = (StateNo = 500) && (AnimElem =5, >0)
Trigger9   = (StateNo = 540) && (AnimElem =4, >0)

[State -1, 3593]
Type = ChangeState
Value = 3593
TriggerAll = Command = "214B"
TriggerAll = Var(49) = 0;	AI晄壜
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = [205,109]) && (StateNo%5 = 2) && (Time > 0)
Trigger3   = (StateNo = [200,239]) && MoveContact
Trigger4   = (StateNo = 400) && MoveContact
Trigger5   = (StateNo = [300,309]) && (StateNo%5=1) && (Time>0)
Trigger6   = (StateNo = [300,309]) && (StateNo%5=2)
Trigger7   = (StateNo = [320,349]) && (AnimElem =6, >0)
Trigger8   = (StateNo = 500) && (AnimElem =5, >0)
Trigger9   = (StateNo = 540) && (AnimElem =4, >0)

[State -1, 3596]
Type = ChangeState
Value = 812
triggerall = palno = [11,12]
TriggerAll = Command = "22B"
TriggerAll = Var(49) = 0;	AI晄壜
TriggerAll = StateType != A
TriggerAll = Power >= 1000
Trigger1   = Ctrl
Trigger2   = (StateNo = [205,109]) && (StateNo%5 = 2) && (Time > 0)
Trigger3   = (StateNo = [200,239]) && MoveContact
Trigger4   = (StateNo = 400) && MoveContact
Trigger5   = (StateNo = [300,309]) && (StateNo%5=1) && (Time>0)
Trigger6   = (StateNo = [300,309]) && (StateNo%5=2)
Trigger7   = (StateNo = [320,349]) && (AnimElem =6, >0)
Trigger8   = (StateNo = 500) && (AnimElem =5, >0)
Trigger9   = (StateNo = 540) && (AnimElem =4, >0)

[State -1, 3596]
Type = ChangeState
Value = 3596
triggerall = palno != [11,12]
TriggerAll = Command = "22B"
TriggerAll = Var(49) = 0;	AI晄壜
TriggerAll = StateType != A
TriggerAll = Power >= 1000
Trigger1   = Ctrl
Trigger2   = (StateNo = [205,109]) && (StateNo%5 = 2) && (Time > 0)
Trigger3   = (StateNo = [200,239]) && MoveContact
Trigger4   = (StateNo = 400) && MoveContact
Trigger5   = (StateNo = [300,309]) && (StateNo%5=1) && (Time>0)
Trigger6   = (StateNo = [300,309]) && (StateNo%5=2)
Trigger7   = (StateNo = [320,349]) && (AnimElem =6, >0)
Trigger8   = (StateNo = 500) && (AnimElem =5, >0)
Trigger9   = (StateNo = 540) && (AnimElem =4, >0)

[State -1, 3596]
Type = ChangeState
Value = 815
triggerall = palno = [11,12]
TriggerAll = Command = "22A"
TriggerAll = Var(49) = 0;	AI晄壜
TriggerAll = StateType != A
TriggerAll = Power >= 1000
Trigger1   = Ctrl
Trigger2   = (StateNo = [205,109]) && (StateNo%5 = 2) && (Time > 0)
Trigger3   = (StateNo = [200,239]) && MoveContact
Trigger4   = (StateNo = 400) && MoveContact
Trigger5   = (StateNo = [300,309]) && (StateNo%5=1) && (Time>0)
Trigger6   = (StateNo = [300,309]) && (StateNo%5=2)
Trigger7   = (StateNo = [320,349]) && (AnimElem =6, >0)
Trigger8   = (StateNo = 500) && (AnimElem =5, >0)
Trigger9   = (StateNo = 540) && (AnimElem =4, >0)

[State -1, 3596]
Type = ChangeState
Value = 3597
triggerall = palno != [11,12]
TriggerAll = Command = "22A"
TriggerAll = Var(49) = 0;	AI晄壜
TriggerAll = StateType != A
TriggerAll = Power >= 1000
Trigger1   = Ctrl
Trigger2   = (StateNo = [205,109]) && (StateNo%5 = 2) && (Time > 0)
Trigger3   = (StateNo = [200,239]) && MoveContact
Trigger4   = (StateNo = 400) && MoveContact
Trigger5   = (StateNo = [300,309]) && (StateNo%5=1) && (Time>0)
Trigger6   = (StateNo = [300,309]) && (StateNo%5=2)
Trigger7   = (StateNo = [320,349]) && (AnimElem =6, >0)
Trigger8   = (StateNo = 500) && (AnimElem =5, >0)
Trigger9   = (StateNo = 540) && (AnimElem =4, >0)

[State -1, 3591]
Type = ChangeState
Value = 3591
TriggerAll = Command = "214C"
TriggerAll = Var(49) = 0;	AI晄壜
TriggerAll = StateType = A
Trigger1   = Ctrl
Trigger2   = (StateNo = 101) && (Time > 3)
Trigger3   = (StateNo = [110,119]) && (StateNo%5 = 1) && (Time > 9)

[State -1, 3594]
Type = ChangeState
Value = 3594
TriggerAll = Command = "214B"
TriggerAll = Var(49) = 0;	AI晄壜
TriggerAll = StateType = A
Trigger1   = Ctrl
Trigger2   = (StateNo = 101) && (Time > 3)
Trigger3   = (StateNo = [110,119]) && (StateNo%5 = 1) && (Time > 9)

;仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭
;	僾儗僀儎乕憖嶌梡
;--------------------------------------------------

[State -1, 195];悂偭旘偽偟
Type = ChangeState
Value = 195
TriggerAll = Command = "start"
TriggerAll = StateType != A
TriggerAll = Command = "holddown"
Trigger1   = Ctrl
Trigger2   = (StateNo = 101) && (Time > 5)
Trigger3   = (StateNo = [110,119]) && (StateNo%5 = 1) && (Time > 9)
Trigger4   = (StateNo = [600,629]) && MoveContact
Trigger5   = (StateNo = 521) && (AnimElem = 5, >0)
Trigger6   = (StateNo = [700,749]) && (StateNo%5 > 0)
Trigger7   = (StateNo = [205,109]) && (StateNo%5 = 2) && (Time > 0)
Trigger8   = (StateNo = [200,239]) && MoveContact
Trigger9   = (StateNo = 400) && MoveContact
Trigger10   = (StateNo = [300,309]) && (StateNo%5=1) && (Time>0)
Trigger11   = (StateNo = [300,309]) && (StateNo%5=2)
Trigger12   = (StateNo = [320,349]) && (AnimElem =6, >0)
Trigger13   = (StateNo = 500) && (AnimElem =5, >0)

[State -1, 195]
Type = ChangeState
Value = 808
TriggerAll = Command = "start"
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = 101) && (Time > 5)
Trigger3   = (StateNo = [110,119]) && (StateNo%5 = 1) && (Time > 9)
Trigger4   = (StateNo = [600,629]) && MoveContact
Trigger5   = (StateNo = 521) && (AnimElem = 5, >0)
Trigger6   = (StateNo = [700,749]) && (StateNo%5 > 0)
Trigger7   = (StateNo = [205,109]) && (StateNo%5 = 2) && (Time > 0)
Trigger8   = (StateNo = [200,239]) && MoveContact
Trigger9   = (StateNo = 400) && MoveContact
Trigger10   = (StateNo = [300,309]) && (StateNo%5=1) && (Time>0)
Trigger11   = (StateNo = [300,309]) && (StateNo%5=2)
Trigger12   = (StateNo = [320,349]) && (AnimElem =6, >0)
Trigger13   = (StateNo = 500) && (AnimElem =5, >0)

[State -1, 196]
Type = ChangeState
Value = 196
TriggerAll = Command = "214X"
TriggerAll = Var(49) = 0;	AI晄壜
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = 101) && (Time > 5)
Trigger3   = (StateNo = [110,119]) && (StateNo%5 = 1) && (Time > 9)
Trigger4   = (StateNo = [600,629]) && MoveContact
Trigger5   = (StateNo = 521) && (AnimElem = 5, >0)
Trigger6   = (StateNo = [700,749]) && (StateNo%5 > 0)
Trigger7   = (StateNo = [205,109]) && (StateNo%5 = 2) && (Time > 0)
Trigger8   = (StateNo = [200,239]) && MoveContact
Trigger9   = (StateNo = 400) && MoveContact
Trigger10   = (StateNo = [300,309]) && (StateNo%5=1) && (Time>0)
Trigger11   = (StateNo = [300,309]) && (StateNo%5=2)
Trigger12   = (StateNo = [320,349]) && (AnimElem =6, >0)
Trigger13   = (StateNo = 500) && (AnimElem =5, >0)

[State -1, 196]
Type = ChangeState
Value = 212
TriggerAll = Command = "22X"
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = 101) && (Time > 5)
Trigger3   = (StateNo = [110,119]) && (StateNo%5 = 1) && (Time > 9)
Trigger4   = (StateNo = [600,629]) && MoveContact
Trigger5   = (StateNo = 521) && (AnimElem = 5, >0)
Trigger6   = (StateNo = [700,749]) && (StateNo%5 > 0)
Trigger7   = (StateNo = [205,109]) && (StateNo%5 = 2) && (Time > 0)
Trigger8   = (StateNo = [200,239]) && MoveContact
Trigger9   = (StateNo = 400) && MoveContact
Trigger10   = (StateNo = [300,309]) && (StateNo%5=1) && (Time>0)
Trigger11   = (StateNo = [300,309]) && (StateNo%5=2)
Trigger12   = (StateNo = [320,349]) && (AnimElem =6, >0)
Trigger13   = (StateNo = 500) && (AnimElem =5, >0)



[State -1, 197]
Type = ChangeState
Value = 197
TriggerAll = Command = "214Y"
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = 101) && (Time > 5)
Trigger3   = (StateNo = [110,119]) && (StateNo%5 = 1) && (Time > 9)
Trigger4   = (StateNo = [600,629]) && MoveContact
Trigger5   = (StateNo = 521) && (AnimElem = 5, >0)
Trigger6   = (StateNo = [700,749]) && (StateNo%5 > 0)
Trigger7   = (StateNo = [205,109]) && (StateNo%5 = 2) && (Time > 0)
Trigger8   = (StateNo = [200,239]) && MoveContact
Trigger9   = (StateNo = 400) && MoveContact
Trigger10   = (StateNo = [300,309]) && (StateNo%5=1) && (Time>0)
Trigger11   = (StateNo = [300,309]) && (StateNo%5=2)
Trigger12   = (StateNo = [320,349]) && (AnimElem =6, >0)
Trigger13   = (StateNo = 500) && (AnimElem =5, >0)

[State -1, 198]
Type = ChangeState
Value = 198
TriggerAll = Command = "22Y"
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = 101) && (Time > 5)
Trigger3   = (StateNo = [110,119]) && (StateNo%5 = 1) && (Time > 9)
Trigger4   = (StateNo = [600,629]) && MoveContact
Trigger5   = (StateNo = 521) && (AnimElem = 5, >0)
Trigger6   = (StateNo = [700,749]) && (StateNo%5 > 0)
Trigger7   = (StateNo = [205,109]) && (StateNo%5 = 2) && (Time > 0)
Trigger8   = (StateNo = [200,239]) && MoveContact
Trigger9   = (StateNo = 400) && MoveContact
Trigger10   = (StateNo = [300,309]) && (StateNo%5=1) && (Time>0)
Trigger11   = (StateNo = [300,309]) && (StateNo%5=2)
Trigger12   = (StateNo = [320,349]) && (AnimElem =6, >0)
Trigger13   = (StateNo = 500) && (AnimElem =5, >0)





;------------------------------丂孅対僔儑僢僩
[State -1, 500]
Type = ChangeState
Value = 500
TriggerAll = Command = "a"
TriggerAll = Command = "holddown"
TriggerAll = Var(49) = 0;	AI晄壜
TriggerAll = P2Dist X > 100;	墦嫍棧
TriggerAll = StateType != A
Trigger1   = Ctrl

;------------------------------丂孅廟僔儑僢僩


;------------------------------丂孅幩寕
[State -1, 540]
Type = ChangeState
Value = 540
TriggerAll = Command = "c"
TriggerAll = Command = "holddown"
TriggerAll = Var(49) = 0;	AI晄壜
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = [200,239]) && MoveContact
Trigger3   = (StateNo = [400,409]) && MoveContact

;------------------------------丂棫偪対僔儑僢僩
[State -1, 300_305]
Type = ChangeState
Value = IfElse((Command="holdfwd"),305,300)
TriggerAll = Command = "a"
TriggerAll = Var(49) = 0;	AI晄壜
TriggerAll = P2Dist X > 100;	墦嫍棧
TriggerAll = StateType != A
Trigger1   = Ctrl

;------------------------------丂棫偪廟僔儑僢僩


;------------------------------丂棫偪幩寕
[State -1, 340_345]
Type = ChangeState
Value = IfElse((Command="holdfwd"),345,340)
TriggerAll = Command = "c"
TriggerAll = Var(49) = 0;	AI晄壜
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = [200,239]) && MoveContact
Trigger3   = (StateNo = [400,409]) && MoveContact

;------------------------------丂嬻拞対僔儑僢僩
[State -1, 700_705]
Type = ChangeState
Value = IfElse((Command="holddown"),705,700)
TriggerAll = Command = "a"
TriggerAll = Var(49) = 0;	AI晄壜
TriggerAll = P2Dist X > 100;	墦嫍棧
TriggerAll = StateType = A
Trigger1   = Ctrl
Trigger2   = (StateNo = 101) && (Time > 3)
Trigger3   = (StateNo = [110,119]) && (StateNo%5 = 1) && (Time > 9)

;------------------------------丂嬻拞廟僔儑僢僩


;------------------------------丂嬻拞幩寕
[State -1, 740_745]
Type = ChangeState
Value = IfElse((Command="holddown"),745,740)
TriggerAll = Command = "c"
TriggerAll = Var(49) = 0;	AI晄壜
TriggerAll = StateType = A
Trigger1   = Ctrl
Trigger2   = (StateNo = 101) && (Time > 3)
Trigger3   = (StateNo = [110,119]) && (StateNo%5 = 1) && (Time > 9)
Trigger4   = (StateNo = [600,629]) && MoveContact

;------------------------------丂孅対
[State -1, 400]
Type = ChangeState
Value = 400
TriggerAll = Command = "a"
TriggerAll = Command = "holddown"
TriggerAll = Var(49) = 0;	AI晄壜
TriggerAll = StateType != A
Trigger1   = Ctrl

;------------------------------丂孅廟
[State -1, 420]
Type = null;ChangeState
Value = 808
TriggerAll = Command = "b"
TriggerAll = Command = "holddown"
TriggerAll = Var(49) = 0;	AI晄壜
TriggerAll = StateType != A
Trigger1   = Ctrl

;------------------------------丂儗僶乕対
[State -1, 210]
Type = ChangeState
Value = 210
TriggerAll = Command = "a"
TriggerAll = Command = "holdfwd"
TriggerAll = Var(49) = 0;	AI晄壜
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = 200) && MoveContact
Trigger3   = (StateNo = 220) && MoveContact
Trigger4   = (StateNo = 400) && MoveContact

;------------------------------丂儗僶乕廟
[State -1, 230]
Type = ChangeState
Value = 230
TriggerAll = Command = "b"
TriggerAll = Command = "holdfwd"
TriggerAll = Var(49) = 0;	AI晄壜
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = 200) && MoveContact
Trigger3   = (StateNo = 220) && MoveContact
Trigger4   = (StateNo = 400) && MoveContact

;------------------------------丂棫偪対
[State -1, 200]
Type = ChangeState
Value = 200
TriggerAll = Command = "a"
TriggerAll = Var(49) = 0;	AI晄壜
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = 200) && MoveContact

;------------------------------丂棫偪廟
[State -1, 220]
Type = ChangeState
Value = 220
TriggerAll = Command = "b"
TriggerAll = Var(49) = 0;	AI晄壜
TriggerAll = StateType != A
Trigger1   = Ctrl

;------------------------------丂嬻拞対
[State -1, 600]
Type = ChangeState
Value = 600
TriggerAll = Command = "a"
TriggerAll = Var(49) = 0;	AI晄壜
TriggerAll = StateType = A
Trigger1   = Ctrl
Trigger2   = (StateNo = 101) && (Time > 3)
Trigger3   = (StateNo = [110,119]) && (StateNo%5 = 1) && (Time > 9)

;------------------------------丂嬻拞廟
[State -1, 620]
Type = ChangeState
Value = 620
TriggerAll = Command = "b"
TriggerAll = Var(49) = 0;	AI晄壜
TriggerAll = StateType = A
Trigger1   = Ctrl
Trigger2   = (StateNo = 101) && (Time > 3)
Trigger3   = (StateNo = [110,119]) && (StateNo%5 = 1) && (Time > 9)

;------------------------------丂僟僢僔儏
[State -1, 205]
Type = ChangeState
Value = 205
TriggerAll = (Command = "66") || ((Command = "holdfwd") && (Command = "z"))
TriggerAll = Var(49) = 0;	AI晄壜
TriggerAll = StateType != A
Trigger1   = Ctrl

;------------------------------丂僶僢僋僟僢僔儏
[State -1, 206]
Type = ChangeState
Value = 206
TriggerAll = (Command = "44") || ((Command = "holdback") && (Command = "z"))
TriggerAll = Var(49) = 0;	AI晄壜
TriggerAll = StateType != A
Trigger1   = Ctrl

;------------------------------丂嬻拞僟僢僔儏
[State -1, 110]
Type = ChangeState
Value = 110
TriggerAll = (Command = "66") || ((Command = "holdfwd") && (Command = "z"))
TriggerAll = Var(49) = 0;	AI晄壜
TriggerAll = Var(10) > 0;	嬻拞僟僢僔儏壜擻
TriggerAll = StateType = A
Trigger1   = Ctrl
Trigger2   = (StateNo = [110,119]) && (StateNo%5 = 1) && (Time > 9)
Trigger3   = (StateNo = 521) && (AnimElem = 5, >0)
Trigger4   = (StateNo = [700,749]) && (StateNo%5 > 0)

;------------------------------丂嬻拞僶僢僋僟僢僔儏
[State -1, 115]
Type = ChangeState
Value = 115
TriggerAll = (Command = "44") || ((Command = "holdback") && (Command = "z"))
TriggerAll = Var(49) = 0;	AI晄壜
TriggerAll = Var(10) > 0;	嬻拞僟僢僔儏壜擻
TriggerAll = StateType = A
Trigger1   = Ctrl
Trigger2   = (StateNo = [110,119]) && (StateNo%5 = 1)  && (Time > 9)
Trigger3   = (StateNo = 521) && (AnimElem = 5, >0)
Trigger4   = (StateNo = [700,749]) && (StateNo%5 > 0)

;------------------------------丂崅懍僕儍儞僾
[State -1, 103]
Type = ChangeState
Value = 103
TriggerAll = Command = "holdup"
TriggerAll = Command != "holddown"
TriggerAll = Var(49) = 0;	AI晄壜
TriggerAll = Var(11) > 0;	崅懍僕儍儞僾壜擻
TriggerAll = StateType != A
Trigger1   = Ctrl
Trigger2   = (StateNo = [300,319]) && (StateNo%5 > 0)
Trigger3   = (StateNo = [320,349]) && (StateNo%5 = 0) && (AnimElem = 6, >0)
Trigger4   = (StateNo = 500) && (AnimElem = 5, >0)
Trigger5   = (StateNo = 540) && (AnimElem = 4, >0)
Trigger6   = (StateNo = 1060) && (Time > 35)
Trigger7   = (StateNo = 1160) && (Time > 42)
