
;------------------------------------------------------------------------------
;-| ボタンリマップ（ボタンコンフィグ）|----------------------------------------

[Remap]
x = x      ;Ｘボタンの入力判定を実際に押すボタンに割り当てる。
y = y      ;Ｙボタン　　　　　　　　　〃
z = z      ;Ｚボタン　　　　　　　　　〃
a = a      ;Ａボタン　　　　　　　　　〃
b = b      ;Ｂボタン　　　　　　　　　〃
c = c      ;Ｃボタン　　　　　　　　　〃
s = s      ;スタートボタン　　　　　　〃

;------------------------------------------------------------------------------
;-| デフォルト設定 |-----------------------------------------------------------

[Defaults]
command.time = 15  ;標準のコマンド入力受付時間。
                   ;各コマンドで省略している場合に有効。
                   ;このパラメータを消した場合、デフォルトは１フレームになる。
                   ;（　M.U.G.E.Nでの１フレーム　＝　１／６０秒　）

command.buffer.time = 1  ;標準のコマンド入力記憶時間。
                         ;入力した直後にコマンドを記憶し、
                         ;指を離してもコマンドが成功している状態を
                         ;ここで設定した時間の分維持する。
                         ;１〜３０フレームまでの間で設定可能。
                         ;デフォルトは１フレーム。
;
;------------------------------------------------------------------------------
;------------------------------------------------------------------------------

;------------------------------------------------------------------------------
;-| キー２回連続入力 |---------------------------------------------------------

[Command]
name = "FF"       ;必須コマンド名
command = F,F
time = 10

[Command]
name = "BB"       ;必須コマンド名
command = B,B
time = 10

;------------------------------------------------------------------------------
;-| 同時押し |-----------------------------------------------------------------

[Command]
name = "recovery" ;必須コマンド名
command = a+b
time = 1

[Command]
name = "recovery" ;必須コマンド名
command = x+y
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 = "F"
command = F
time = 1

[Command]
name = "B"
command = B
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


[Statedef -1] ;←この行は絶対に消さないでね。必須項目です。
[State ]
type = varset
trigger1 = 1
var(2)=0

;==============================================================================
;==============================================================================
;------------------------------------------------------------------------------
[State ]
type = varset
trigger1 = stateno=0
trigger1 = roundstate=2
trigger1 = command = "x"
trigger1 = var(6)=0
trigger1 = var(7)=0
trigger1 = var(8)=0
trigger2 = stateno=0
trigger2 = roundstate=2
trigger2 = command = "y"
trigger2 = var(6)<20
trigger2 = var(7)=0
trigger2 = var(8)=0
trigger3 = stateno=0
trigger3 = roundstate=2
trigger3 = command = "z"
trigger3 = var(6)=0
trigger3 = var(7)<10
trigger3 = var(8)=0
trigger3 = Numhelper(700)=0
trigger4 = win
trigger4 = roundstate>3
trigger4 = gametime%60=0
var(2)=1

;ビーム
[State -2, ]
type = Helper
trigger1 = stateno=0
trigger1 = numhelper(200)<2+var(3)
trigger1 = command = "a"
trigger1 = var(6)=0&&var(7)=0&&var(8)=0||var(3)=1
name = "reza"
;helpertype = player
ID = 200
pos = 0,0
postype = p1
stateno = 200
keyctrl = 0
ownpal = 1
facing = 0
size.xscale=1
size.yscale=1
size.ground.back = 10
size.ground.front = 10
size.air.back = 10
size.air.front = 10

;ビーム
[State -2, ]
type = Helper
trigger1 = stateno=0
trigger1 = numhelper(202)<1
trigger1 = command = "b"
trigger1 = var(6)=0&&var(7)=0&&var(8)=0||var(3)=1
name = "b"
;helpertype = player
ID = 202
pos = 0,0
postype = p1
stateno = 210
keyctrl = 0
ownpal = 1
facing = 0
size.xscale=1
size.yscale=1
size.ground.back = 10
size.ground.front = 10
size.air.back = 10
size.air.front = 10
;ビーム
[State -2, ]
type = Helper
trigger1 = stateno=0
trigger1 = numhelper(203)<1
trigger1 = command = "b"
trigger1 = var(6)=0&&var(7)=0&&var(8)=0||var(3)=1
name = "b"
;helpertype = player
ID = 203
pos = 0,0
postype = p1
stateno = 210
keyctrl = 0
ownpal = 1
facing = 0
size.xscale=1
size.yscale=1
size.ground.back = 10
size.ground.front = 10
size.air.back = 10
size.air.front = 10
;ビーム
[State -2, ]
type = Helper
trigger1 = stateno=0
trigger1 = numhelper(204)<1
trigger1 = command = "b"
trigger1 = var(6)=0&&var(7)=0&&var(8)=0||var(3)=1
name = "b"
;helpertype = player
ID = 204
pos = 0,0
postype = p1
stateno = 210
keyctrl = 0
ownpal = 1
facing = 0
size.xscale=1
size.yscale=1
size.ground.back = 10
size.ground.front = 10
size.air.back = 10
size.air.front = 10

[State ]
type = varset
trigger1 = stateno=0
trigger1 = roundstate=2
trigger1 = command = "x"
trigger1 = var(6)=0
trigger1 = var(7)=0
trigger1 = var(8)=0
var(6)=60

[State ]
type = varset
trigger1 = stateno=0
trigger1 = roundstate=2
trigger1 = command = "y"
trigger1 = var(6)<20
trigger1 = var(7)=0
trigger1 = var(8)=0
var(7)=60

[State ]
type = varset
trigger1 = stateno=0
trigger1 = roundstate=2
trigger1 = command = "z"
trigger1 = var(6)=0
trigger1 = var(7)<10
trigger1 = var(8)=0
trigger1 = Numhelper(700)=0
var(8)=60

[State ]
type = PlaySnd
trigger1 = var(6)=60
trigger2 = var(6)=0
trigger2 = var(7)=60
trigger3 = var(7)=0
trigger3 = var(8)=60
value = S200, 1
volume = 399
channel = 2
lowpriority = 0
freqmul = 1
loop = 0;
pan = 0
[State ]
type = PlaySnd
trigger1 = var(6)=15
value = S200, 2
volume = 500
channel = 2
lowpriority = 0
freqmul = 1
loop = 0;
pan = 0
[State ]
type = PlaySnd
trigger1 = var(7)=40
value = S200, 3
volume = 500
channel = 2
lowpriority = 0
freqmul = 1
loop = 0;
pan = 0
[State ]
type = PlaySnd
trigger1 = var(8)=30
value = S200, 4
volume = 800
channel = 2
lowpriority = 0
freqmul = 1
loop = 0;
pan = 0

[State ]
type = Explod
trigger1 = var(6)=35
anim = 6015
ID = 2000
pos = 0, 0
postype = left
facing = 0
vfacing = 0
bindtime = -1
vel = 0, 0
accel = 0, 0
random = 0, 0
removetime = 80
supermovetime = 0
pausemovetime = 0
scale = 1, 1
sprpriority = 15
ontop = 1
shadow = 0, 0, 0
ownpal = 0
removeongethit = 1


[State 250, 2]
type = projectile
trigger1 = var(6)=35
attr = A, NT
animtype  = back
damage    = 0, 0
pausetime = 0,10
sparkno = -1
guard.sparkno = -1
sparkxy = 0, 0
hitsound   = S210,1
;guardsound = S500,2
ground.type = high
ground.slidetime = 6
ground.hittime  = 1
ground.velocity = -1
air.velocity = -1,-1
getpower = 10,5
givepower = 0, 0
guard.kill = 1
plojID = 250
projanim = 9004
projremovetime = 65
supermovetime = 0
pausemovetime = 0
ignorehitpause=1

[State ]
type = TargetLifeAdd
trigger1 = NumExplod(2000)!=0
value = -1
kill = 0
absolute = 1

[State ]
type = Explod
trigger1 = var(7)<60
trigger1 = var(7)>20
trigger1 = time%10=0
anim = 6014
ID = 6014
pos = 0, 70
postype = p1
facing = 0
vfacing = 0
bindtime = -1
vel = 0, 0
accel = 0, 0
random = 0, 0
removetime = -2
supermovetime = 0
pausemovetime = 0
scale = 0.5, 0.5
sprpriority = -8
ontop = 0
shadow = 0, 0, 0
ownpal = 0
removeongethit = 1
[State ]
type = Explod
trigger1 = var(7)<60
trigger1 = var(7)>20
trigger1 = time%10=0
anim = 6013
ID = 6013
pos = 0, 70
postype = p1
facing = 0
vfacing = 0
bindtime = -1
vel = 0, 0
accel = 0, 0
random = 0, 0
removetime = -2
supermovetime = 0
pausemovetime = 0
scale = 0.5, 0.5
sprpriority = -12
ontop = 1
shadow = 0, 0, 0
ownpal = 0
removeongethit = 1
[State ]
type = Explod
trigger1 = var(7)<20
trigger1 = var(7)>0
trigger1 = time%4=0
anim = 6012
ID = 6014
pos = 0, 80
postype = p1
facing = 0
vfacing = 0
bindtime = -1
vel = 0, 0
accel = 0, 0
random = 0, 0
removetime = -2
supermovetime = 0
pausemovetime = 0
scale = 2, 2
sprpriority = 8
ontop = 1
shadow = 0, 0, 0
ownpal = 0
removeongethit = 1
[State ]
type = Explod
trigger1 = var(7)<20
trigger1 = var(7)>0
trigger1 = time%4=2
anim = 6011
ID = 6013
pos = 0, 80
postype = p1
facing = 0
vfacing = 0
bindtime = -1
vel = 0, 0
accel = 0, 0
random = 0, 0
removetime = -2
supermovetime = 0
pausemovetime = 0
scale = 2, 2
sprpriority = -12
ontop = 0
shadow = 0, 0, 0
ownpal = 0
removeongethit = 1

[State 250, 2]
type = projectile
trigger1 = var(7)<20
trigger1 = var(7)>0
trigger1 = time%4=2
attr = A, NT
animtype  = back
damage    = 0, 0
pausetime = 0,10
sparkno = -1
guard.sparkno = -1
sparkxy = 0, 0
hitsound   = S210,1
;guardsound = S500,2
ground.type = trip
ground.slidetime = 60
ground.hittime  = 11
ground.velocity = -5
air.velocity = -2.5,-3.5
getpower = 10,5
givepower = 0, 0
guard.kill = 1
plojID = 250
projanim = 9004
projremovetime = 65
supermovetime = 0
pausemovetime = 0
ignorehitpause=1

[State -2, ]
type = Helper
trigger1 = var(8)=55
name = "bill"
;helpertype = player
ID = 700
pos = (random-450)/3,(random-450)/10+150
postype = p1
stateno = 700
keyctrl = 0
ownpal = 1
facing = 0
size.xscale=1
size.yscale=1
size.ground.back = 10
size.ground.front = 10
size.air.back = 10
size.air.front = 10
[State -2, ]
type = Helper
trigger1 = var(8)=50
name = "bill"
;helpertype = player
ID = 700
pos = (random-450)/3,(random-450)/10+150
postype = p1
stateno = 700
keyctrl = 0
ownpal = 1
facing = 0
size.xscale=1
size.yscale=1
size.ground.back = 10
size.ground.front = 10
size.air.back = 10
size.air.front = 10

[State ]
type = varadd
trigger1 = var(6)>0
var(6)=-1

[State ]
type = varadd
trigger1 = var(7)>0
var(7)=-1

[State ]
type = varadd
trigger1 = var(8)>0
var(8)=-1


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