; 初期化設定
[Statedef 5900]
type = S

;----------------------------
;     プロファイル設定
;----------------------------
;プロファイル（デッキ）に含めるカードのオンオフを設定できます。
;総数は制限なし。
;各項目の
;　　　var(*) = 0
;　　　　　　　↑ここの数字を変更。０：なし、１：あり。

;　◆　システムカード

[State 5900, 霊撃]
type = VarSet
triggerall = roundsexisted = 0 ;試合開始時
trigger1 = MatchNo = 1         ;一試合目
trigger2 = var(42) = 0  ;変数リセット時（コンティニュー）
fvar(10) = 1

[State 5900, 気質発現]
type = VarSet
triggerall = roundsexisted = 0
trigger1 = MatchNo = 1
trigger2 = var(42) = 0
fvar(11) = 1

;　◆　スキルカード

[State 5900, 野生の咆哮（214 + 射撃）]
type = VarSet
triggerall = roundsexisted = 0
trigger1 = MatchNo = 1
trigger2 = var(42) = 0
fvar(17) = 1

[State 5900, 飛翔韋駄天（214 + 射撃）]
type = VarSet
triggerall = roundsexisted = 0
trigger1 = MatchNo = 1
trigger2 = var(42) = 0
fvar(18) = 1

[State 5900, 烈風転（236 + 射撃）]
type = VarSet
triggerall = roundsexisted = 0
trigger1 = MatchNo = 1
trigger2 = var(42) = 0
fvar(20) = 1

[State 5900, 疾風転（236 + 射撃）]
type = VarSet
triggerall = roundsexisted = 0
trigger1 = MatchNo = 1
trigger2 = var(42) = 0
fvar(21) = 1

[State 5900, 一角赤鬼（22 + 射撃）]
type = VarSet
triggerall = roundsexisted = 0
trigger1 = MatchNo = 1
trigger2 = var(42) = 0
fvar(22) = 1

[State 5900, 双角青鬼（22 + 射撃）]
type = VarSet
triggerall = roundsexisted = 0
trigger1 = MatchNo = 1
trigger2 = var(42) = 0
fvar(23) = 1

[State 5900, 百猫襲（623 + 射撃）]
type = VarSet
triggerall = roundsexisted = 0
trigger1 = MatchNo = 1
trigger2 = var(42) = 0
fvar(25) = 1

[State 5900, 飛び跳ね鱗（623 + 射撃）]
type = VarSet
triggerall = roundsexisted = 0
trigger1 = MatchNo = 1
trigger2 = var(42) = 0
fvar(26) = 1

;　◆　スペルカード

[State 5900, 仙符「鳳凰卵」（コスト１）]
type = VarSet
triggerall = roundsexisted = 0
trigger1 = MatchNo = 1
trigger2 = var(42) = 0
fvar(28) = 1

[State 5900, 墜符「地落し九曜」（コスト２）]
type = VarSet
triggerall = roundsexisted = 0
trigger1 = MatchNo = 1
trigger2 = var(42) = 0
fvar(30) = 1

[State 5900, 眷属「猫まっしぐら」（コスト２）]
type = VarSet
triggerall = roundsexisted = 0
trigger1 = MatchNo = 1
trigger2 = var(42) = 0
fvar(31) = 1

[State 5900, 青鬼「鬼哭啾啾」（コスト２）]
type = VarSet
triggerall = roundsexisted = 0
trigger1 = MatchNo = 1
trigger2 = var(42) = 0
fvar(32) = 1

[State 5900, 赤鬼「抜山蓋世」（コスト３）]
type = VarSet
triggerall = roundsexisted = 0
trigger1 = MatchNo = 1
trigger2 = var(42) = 0
fvar(34) = 1

[State 5900, 星符「飛び重ね鱗」（コスト３）]
type = VarSet
triggerall = roundsexisted = 0
trigger1 = MatchNo = 1
trigger2 = var(42) = 0
fvar(33) = 1

[State 5900, 方符「奇門遁甲」（コスト４）]
type = VarSet
triggerall = roundsexisted = 0
trigger1 = MatchNo = 1
trigger2 = var(42) = 0
fvar(35) = 1

[State 5900, 化猫「橙」（コスト４）]
type = VarSet
triggerall = roundsexisted = 0
trigger1 = MatchNo = 1
trigger2 = var(42) = 0
fvar(36) = 1

[State 5900, 鬼符「青鬼赤鬼」（コスト５）]
type = VarSet
triggerall = roundsexisted = 0
trigger1 = MatchNo = 1
trigger2 = var(42) = 0
fvar(38) = 1

[State 5900, 鬼神「飛翔毘沙門天」（コスト５）]
type = VarSet
triggerall = roundsexisted = 0
trigger1 = MatchNo = 1
trigger2 = var(42) = 0
fvar(39) = 1

[State 5900, 式弾「アルティメットブディスト」（コスト５）]
type = VarSet
triggerall = roundsexisted = 0
trigger1 = MatchNo = 1
trigger2 = var(42) = 0
fvar(37) = 1

;----------------------------
;     デフォルトスキル設定
;----------------------------
;戦闘開始時のスキル（コマンド技）とそのレベルを変更できます。
;カードのやりくりが面倒な人向け。
;各項目の
;　　　var(*) = 8
;　　　　　　　↑ここの数字を変更。

;　◆　214 + 射撃

[State 5900, スキル割り当て]
type = VarSet
triggerall = roundsexisted = 0
trigger1 = MatchNo = 1
trigger2 = var(42) = 0
var(50) = 8
;  7 = 野生の咆哮
;  8 = 飛翔韋駄天（初期設定）

[State 5900, レベルセット]
type = VarSet
triggerall = roundsexisted = 0
trigger1 = MatchNo = 1
trigger2 = var(42) = 0
var(46) = 0  ;←スキルレベル(max4)


;　◆　236 + 射撃

[State 5900, スキル割り当て]
type = VarSet
triggerall = roundsexisted = 0
trigger1 = MatchNo = 1
trigger2 = var(42) = 0
var(51) = 10 ; ←ここを変更
; 10 = 烈風転（初期設定）
; 11 = 疾風転

[State 5900, レベルセット]
type = VarSet
triggerall = roundsexisted = 0
trigger1 = MatchNo = 1
trigger2 = var(42) = 0
var(47) = 0  ;←スキルレベル(max4)

;  ◆　22 + 射撃

[State 5900, スキル割り当て]
type = VarSet
triggerall = roundsexisted = 0
trigger1 = MatchNo = 1
trigger2 = var(42) = 0
var(52) = 12 ; ←ここを変更
; 12 = 一角赤鬼（初期設定）
; 13 = 双角青鬼

[State 5900, レベルセット]
type = VarSet
triggerall = roundsexisted = 0
trigger1 = MatchNo = 1
trigger2 = var(42) = 0
var(48) = 0  ;←スキルレベル(max4)


;　◆　623 + 射撃

[State 5900, スキル割り当て] 
type = VarSet
triggerall = roundsexisted = 0
trigger1 = MatchNo = 1
trigger2 = var(42) = 0
var(53) = 15 ; ←ここを変更
; 15 = 百猫襲（初期設定）
; 16 = 飛び跳ね鱗

[State 5900, レベルセット]
type = VarSet
triggerall = roundsexisted = 0
trigger1 = MatchNo = 1
trigger2 = var(42) = 0
var(49) = 0  ;←スキルレベル(max4)


;----------------------------
;     その他コンフィグ
;----------------------------

[State 5900, グレイズしない？]
type = VarSet
trigger1 = 1
var(43) = 0
;１にすると相手の飛び道具をすり抜けなくなります。

[State 5900, ゲージ類表示位置]
type = VarSet
trigger1 = 1
var(44) = 0
;入力した数値だけゲージ類の表示をずらせます。
;正数で上へ、負数で下へ。
; -50 以下の数字を入れるとゲージの表示自体がオフになります。

[State 5900, モード有効パレット]
type = VarSet
trigger1 = 1
var(40) = 7
;入力した数字以降のカラーが別モードになります。
;初期値の７なら７〜１１Ｐが変化。（１２Ｐは憑きたてほやほやなので無効）
;１を入れれば１２Ｐ以外の全カラーでカード不使用に。

;----------------------------
;     ここまで
;----------------------------

[State 5900, 0] ;持ち越さない変数リセット
type = VarRangeSet
trigger1 = roundsexisted = 0
last = 39
value = 0

[State 5900, 0] ;持ち越さない変数リセット２
type = VarRangeSet
trigger1 = roundsexisted = 0
last = 9
fvalue = 0

[State 5900, 初期カードシャッフル]
type = VarRangeSet
triggerall = roundsexisted = 0 ;試合開始時
trigger1 = MatchNo = 1         ;一試合目
trigger2 = var(42) = 0  ;変数リセット時（コンティニュー）
first = 54
last = 58
value = -1

[State 5900, 0] ;カードゲージ（パワー）持ち越し
type = PowerSet
trigger1 = MatchNo > 1
value = var(45)

[State 5900, 3] ;Intro for round 1
type = ChangeState
trigger1 = roundno = 1
value = 190

