
;===========================================================================
; コンフィグ
;===========================================================================
[Statedef 65535]
;===========================================================================
;システム関係
;system configuration
;===========================================================================

;IKEMENで使用
;used IKEMEN
;---------------------------------------------------------------------------

[State used_IKEMEN]
Type=ParentVarSet
Trigger1=ishelper
var(40)=0
;0-OFF 1-ON
;Default to 0

;受け身の仕様
;Specification change of recovery action
;---------------------------------------------------------------------------

[State RecoverType]
Type=VarSet
Trigger1=ishelper
var(41)=1
;0-MUGEN Default style
;1-DDND style
;Default to 1

;0-MUGENデフォ仕様 1-原作仕様(ダウン受け身のみ)
;デフォルトは1(原作仕様)

;空中ガード使用
;used Air Guard
;---------------------------------------------------------------------------

[State AirGuard]
Type=VarSet
Trigger1=ishelper
var(42)=0
;0-OFF 1-ON
;Default to 0

;必殺技の先行入力猶予フレーム
;leading buffer time for super move commands
;---------------------------------------------------------------------------

[State CommandBuffer(super move)]
Type=ParentVarSet
Trigger1=ishelper
var(35)=5
;Default to 5F

;超必殺技の先行入力猶予フレーム
;leading buffer time for hyper move commands
;---------------------------------------------------------------------------

[State CommandBuffer(hyper move)]
Type=ParentVarSet
Trigger1=ishelper
var(36)=10
;Default to 10F

;===========================================================================
;性能強化
;Character Enhancement
;===========================================================================

;ゲジマシ増加量
;Power-Gauge recovery
;---------------------------------------------------------------------------

[State PowerGaugeRecovery-Amount]
Type=VarSet
Trigger1=ishelper
var(44)=0
;Set any amount you like.
;Entering "powermax" will always set the gauge to maximum

;好きな量を設定してください
;powermaxでゲジマユになります

;===========================================================================
;AI関連
;artificial intelligence configuration
;===========================================================================

;常時起動
;AI activate
;---------------------------------------------------------------------------
[State AI_Always_Activate]
Type=VarSet
Trigger1=ishelper
var(46)=0;ifelse(root,AIlevel>0,1,0)

;Erasing the semi-colon and the default setting will work at the discretion of MUGEN 1.0 or IKEMEN GO
;セミコロンとデフォルトの数値をを消去すると新MUGENもしくはIKEMEN GOの判断で作動します

;レベル設定
;AI level
;---------------------------------------------------------------------------
[State AI_Level]
Type=VarSet
Trigger1=ishelper
var(47)=10;root,AIlevel+2

;Erasing the semi-colon and the default setting will work at the discretion of MUGEN 1.0 or IKEMEN GO
;セミコロンとデフォルトの数値をを消去すると新MUGENもしくはIKEMEN GOの判断で作動します

;===========================================================================
;新MUGENユーザー向け設定※WINMUGENで使用するユーザーは弄らなくて良い
;Settings for MUGEN 1.0 or 1.1 or IKEMEN GO users
;***Users who use WINMUGEN do not need to play with it.***
;===========================================================================

;解像度-横
;GameWidth
;---------------------------------------------------------------------------
[State GameWidth]
Type=ParentVarSet
Trigger1=!(root,var(23))
var(23)=320;ceil(gamewidth)

;Erasing the semi-colon and the default setting will work at the discretion of MUGEN 1.0 or IKEMEN GO
;セミコロンとデフォルトの数値をを消去すると新MUGENもしくはIKEMEN GOの判断で作動します

;解像度-縦
;GameHeight
;---------------------------------------------------------------------------
[State GameHeight]
Type=ParentVarSet
Trigger1=!(root,var(24))
var(24)=240;ceil(gameheight)

;Erasing the semi-colon and the default setting will work at the discretion of MUGEN 1.0 or IKEMEN GO
;セミコロンとデフォルトの数値をを消去すると新MUGENもしくはIKEMEN GOの判断で作動します

;---------------------------------------------------------------------------
;設定は以上です。ここから先は改変製作者向け
;That's all for the setup. From here on out, only those who will be modifying the character should touch it.
;---------------------------------------------------------------------------

;===========================================================================
;ヘルパー処理
;===========================================================================
[State StateTypeSet]
type=StateTypeSet
trigger1=ishelper(65535)
statetype=A
movetype=I
physics=N
ignorehitpause=1
[State ChangeAnim]
type=ChangeAnim
trigger1=ishelper
value=1
ignorehitpause=1
[State CtrlSet]
type=CtrlSet
trigger1=ctrl
value=0
ignorehitpause=1
[State VelSet]
type=VelSet
trigger1=ishelper
x=0
y=0
ignorehitpause=1
[State ]
type=PosSet
trigger1=ishelper
x=root,pos x
y=9999
ignorehitpause=1
[state turn]
type=turn
trigger1=root,facing!=facing
[State Time代用]
type=VarAdd
trigger1=ishelper
sysvar(4)=1
ignorehitpause=1
[State 押し戻し判定解除]
type=Playerpush
trigger1=ishelper
value=0
ignorehitpause=1
[State カメラ追うな高校]
type=ScreenBound
trigger1=ishelper
value=0
movecamera=0,0
ignorehitpause=1
[State 相手がガードしないように]
type=AttackDist
trigger1=ishelper
value=0
ignorehitpause=1
[state 準ステート固定]
type=SelfState
trigger1=!root,var(40)
value=5150
ignorehitpause=1
