[Remap]
x = x
y = y
z = z
a = a
b = b
c = c
s = s

;---２度押し系統---
[Command]
name = "FF"
command = $F, $F
time = 10

[Command]
name = "BB"
command = $B, $B
time = 10

;---復帰---
[Command]
name = "recovery"
command = x+y
time = 1

[Command]
name = "recovery"
command = a+b
time = 1

[Command]
name = "recovery"
command = x
time = 1

[Command]
name = "recovery"
command = a
time = 1

[Command]
name = "recovery"
command = y
time = 1

[Command]
name = "recovery"
command = b
time = 1

[Command]
name = "recovery"
command = z
time = 1

[Command]
name = "recovery"
command = c
time = 1

;---特殊行動---

[Command]
name = "koukan"
command = s
time = 22

[Command]
name = "idou"
command = /y
time = 1

[Command]
name = "stop"
command = ~y
time = 1

;---超必殺技---

[Command]
name = "card"
command = z
time = 30

;---必殺技---

[Command]
name = "yousei"
command = F,D,F,D,a
time = 33

[Command]
name = "jisuberi"
command = D,B,D,B,b
time = 33

[Command]
name = "sukuia"
command = D,DF,F,a
time = 22

[Command]
name = "sukuib"
command = D,DF,F,b
time = 22

[Command]
name = "sukuic"
command = D,DF,F,c
time = 22

[Command]
name = "jyosyoa"
command = D,DB,B,a
time = 22

[Command]
name = "jyosyob"
command = D,DB,B,b
time = 22

[Command]
name = "jyosyoc"
command = D,DB,B,c
time = 22

;---通常技---
[Command]
name = "Fa"
command = /$F,a
time = 1

[Command]
name = "Fb"
command = /$F,b
time = 1

[Command]
name = "Ua"
command = /$U,a
time = 1

[Command]
name = "Ub"
command = /$U,b
time = 1

[Command]
name = "Uc"
command = /$U,c
time = 1

[Command]
name = "Uxstop"
command = ~x
time = 1

[Command]
name = "Ux"
command = /$U,x
time = 1

[Command]
name = "Da"
command = /$D,a
time = 1

[Command]
name = "Db"
command = /$D,b
time = 1

[Command]
name = "Dc"
command = /$D,c
time = 1

[Command]
name = "Dx"
command = /$D,x
time = 1

[Command]
name = "a"
command = a
time = 1

[Command]
name = "b"
command = b
time = 1

[Command]
name = "cch"
command = /c
time = 1

[Command]
name = "c"
command = c
time = 1

[Command]
name = "xch"
command = /x
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 = "holdfwd"
command = /$F
time = 10

[Command]
name = "holdback"
command = /$B
time = 10

[Command]
name = "holdup"
command = /$U
time = 10

[Command]
name = "holddown"
command = /$D
time = 10

;---技のコマンド---
[Statedef -1]


[State -1,釣瓶落としの怪]
type = Changestate
value = 1100
triggerall = command = "card"
triggerall = command != "holddown"
triggerall = var(30) = 0
triggerall = var(32) = 1
triggerall = var(21) != 1
triggerall = var(40) >= 100
trigger1 = ctrl

[State -1,大井戸天上落とし]
type = Changestate
value = 1200
triggerall = command = "card"
triggerall = command != "holddown"
triggerall = var(30) = 1
triggerall = var(32) = 1
triggerall = numhelper(1210) = 0
triggerall = var(21) != 1
triggerall = var(41) >= 100
trigger1 = ctrl

[State -1,釣瓶にとられた朝顔]
type = Changestate
value = 1300
triggerall = command = "card"
triggerall = command != "holddown"
triggerall = var(30) = 2
triggerall = var(32) = 1
triggerall = var(21) != 1
triggerall = var(42) >= 100
trigger1 = ctrl

[State -1,霊撃]
type = Changestate
value = 1400
triggerall = command = "card"
triggerall = command != "holddown"
triggerall = var(30) = 3
triggerall = var(32) = 1
triggerall = var(43) >= 100
trigger1 = stateno = 200
trigger1 = movecontact
trigger2 = stateno = 210
trigger2 = movecontact
trigger3 = stateno = 220
trigger3 = movecontact
trigger4 = stateno = 300
trigger4 = movecontact
trigger5 = ctrl

[State -1,妖精小隊ピンチ時]
type = Changestate
value = 800
triggerall = command = "yousei"
triggerall = power >= 1000
triggerall = life < 200
triggerall = statetype != A
trigger1 = ctrl

[State -1,妖精小隊３]
type = Changestate
value = 800
triggerall = command = "yousei"
triggerall = power >= 3000
triggerall = statetype != A
trigger1 = ctrl

[State -1,妖精小隊２]
type = Changestate
value = 801
triggerall = command = "yousei"
triggerall = power >= 2000
triggerall = power < 3000
triggerall = statetype != A
trigger1 = ctrl

[State -1,妖精小隊１]
type = Changestate
value = 802
triggerall = command = "yousei"
triggerall = power >= 1000
triggerall = power < 2000
triggerall = statetype != A
trigger1 = ctrl

[State -1,地滑り釣瓶]
type = Changestate
value = 700
triggerall = command = "jisuberi"
triggerall = power >= 1000
triggerall = statetype != A
trigger1 = stateno = 200
trigger1 = movecontact
trigger2 = stateno = 210
trigger2 = movecontact
trigger3 = stateno = 220
trigger3 = movecontact
trigger4 = stateno = 300
trigger4 = movecontact
trigger5 = ctrl

[State -1,急上昇A]
type = Changestate
value = 600
triggerall = command = "jyosyoa"
triggerall = power >= 120
triggerall = statetype != A
trigger1 = stateno = 200
trigger1 = movecontact
trigger2 = stateno = 210
trigger2 = movecontact
trigger3 = ctrl

[State -1,急上昇B]
type = Changestate
value = 610
triggerall = command = "jyosyob"
triggerall = power >= 240
triggerall = statetype != A
trigger1 = stateno = 200
trigger1 = movecontact
trigger2 = stateno = 210
trigger2 = movecontact
trigger3 = ctrl

[State -1,急上昇C]
type = Changestate
value = 620
triggerall = command = "jyosyoc"
triggerall = power >= 360
triggerall = statetype != A
trigger1 = stateno = 200
trigger1 = movecontact
trigger2 = stateno = 210
trigger2 = movecontact
trigger3 = ctrl

[State -1,人掬いA]
type = Changestate
value = 500
triggerall = command = "sukuia"
triggerall = power >= 300
triggerall = statetype != A
trigger1 = stateno = 200
trigger1 = movecontact
trigger2 = stateno = 210
trigger2 = movecontact
trigger3 = stateno = 220
trigger3 = movecontact
trigger4 = stateno = 300
trigger4 = movecontact
trigger5 = ctrl

[State -1,人掬いB]
type = Changestate
value = 510
triggerall = command = "sukuib"
triggerall = power >= 350
triggerall = statetype != A
trigger1 = stateno = 200
trigger1 = movecontact
trigger2 = stateno = 210
trigger2 = movecontact
trigger3 = stateno = 220
trigger3 = movecontact
trigger4 = stateno = 300
trigger4 = movecontact
trigger5 = ctrl

[State -1,人掬いC]
type = Changestate
value = 520
triggerall = command = "sukuic"
triggerall = power >= 500
triggerall = statetype != A
triggerall = var(20) >= 200
triggerall = var(21) != 1
trigger1 = stateno = 200
trigger1 = movecontact
trigger2 = stateno = 210
trigger2 = movecontact
trigger3 = stateno = 220
trigger3 = movecontact
trigger4 = stateno = 300
trigger4 = movecontact
trigger5 = ctrl

[State -1,カード宣言]
type = Changestate
value = 6000
triggerall = command = "card"
triggerall = statetype != A
triggerall = var(32) != 1
trigger1 = ctrl

[State -1,2A]
type = Changestate
value = 210
triggerall = command = "Da"
triggerall = statetype != A
trigger1 = stateno = 200
trigger1 = movecontact
trigger2 = ctrl

[State -1,2Aコンボ]
type = Changestate
value = 210
trigger1 = command = "a"
trigger1 = stateno = 300
trigger1 = movecontact

[State -1,8A]
type = Changestate
value = 220
triggerall = command = "Ua"
trigger1 = ctrl

[State -1,8Aコンボ]
type = Changestate
value = 220
trigger1 = command = "a"
trigger1 = stateno = 210
trigger1 = movecontact

[State -1,6A]
type = Changestate
value = 230
triggerall = command = "Fa"
triggerall = statetype != A
trigger1 = stateno = 200
trigger1 = movecontact
trigger2 = stateno = 210
trigger2 = movecontact
trigger3 = stateno = 220
trigger3 = movecontact
trigger4 = stateno = 300
trigger4 = movecontact
trigger5 = ctrl

[State -1,5A]
type = Changestate
value = 200
triggerall = command = "a"
triggerall = command != "holddown"
triggerall = statetype != A
trigger1 = stateno = 200
trigger1 = movecontact
trigger2 = ctrl

[State -1,2B]
type = Changestate
value = 310
triggerall = command = "Db"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = stateno = 200
trigger1 = movecontact
trigger2 = stateno = 210
trigger2 = movecontact
trigger3 = ctrl

[State -1,2Bコンボ]
type = Changestate
value = 310
trigger1 = command = "b"
trigger1 = stateno = 210
trigger1 = movecontact

[State -1,8B]
type = Changestate
value = 320
triggerall = command = "Ub"
trigger1 = stateno = 200
trigger1 = movecontact
trigger2 = stateno = 300
trigger2 = movecontact
trigger3 = ctrl

[State -1,8Bコンボ]
type = Changestate
value = 320
trigger1 = command = "b"
trigger1 = stateno = 300
trigger1 = movecontact

[State -1,5B]
type = Changestate
value = 300
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = statetype != A
trigger1 = stateno = 200
trigger1 = movecontact
trigger2 = ctrl

[State -1,2C]
type = Changestate
value = 410
triggerall = command = "Dc"
triggerall = command = "holddown"
triggerall = statetype != A
triggerall = var(20) >= 200
triggerall = var(21) != 1
trigger1 = ctrl

[State -1,8C]
type = Changestate
value = 420
triggerall = command = "Uc"
triggerall = var(20) >= 200
triggerall = var(21) != 1
trigger1 = ctrl

[State -1,5C]
type = Changestate
value = 400
triggerall = command = "c"
triggerall = command != "holddown"
triggerall = statetype != A
triggerall = var(20) >= 200
triggerall = var(21) != 1
trigger1 = ctrl

[State -1,2X]
type = Changestate
value = 460
triggerall = command = "Dx"
triggerall = command = "holddown"
triggerall = statetype != A
triggerall = var(20) >= 200
triggerall = var(21) != 1
trigger1 = ctrl

[State -1,8X]
type = Changestate
value = 470
triggerall = command = "Ux"
triggerall = var(20) >= 50
triggerall = var(21) != 1
trigger1 = ctrl

[State -1,5X]
type = Changestate
value = 450
triggerall = command = "x"
triggerall = command != "holddown"
triggerall = statetype != A
triggerall = var(20) >= 200
triggerall = var(21) != 1
trigger1 = ctrl

[State -1,移動準備]
type = Changestate
value = 5
triggerall = command = "idou"
triggerall = command != "holddown"
trigger1 = ctrl

[State -1,カード交換]
type = Changestate
value = 4100
triggerall = command = "koukan"
triggerall = command != "idou"
trigger1 = ctrl

