;---------------------------------------------------------------------------
; 儔僂儞僪奐巒帪偺張棟
[Statedef 5900]
type = S

;偙偺僄儕傾偼曄峏偟側偄偱偔偩偝偄丅------------------------------
[State 5900, 1] ;Clear all int variables
type = VarRangeSet
trigger1 = roundsexisted = 0
value = 0

[State 5900, 2] ;Clear all float variables
type = VarRangeSet
trigger1 = roundsexisted = 0
fvalue = 0
;偙偺僄儕傾偼曄峏偟側偄偱偔偩偝偄丅------------------------------

[State AI Level]
Type = VarSet
Trigger1 = 1
V = 58

;============================================================================
;AI儗儀儖愝掕
;
;丂丒儗儀儖傪1乣11偵愝掕偱偒傑偡丅
;丂丒悢抣偑崅偄傎偳摦偒偑椙偔側傞偼偢偱偡丅
;丂丒儗儀儖11偱挻斀墳偟傑偡丅
;
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
Value = 11   ;偙偙傪1乣11偵愝掕偱偒傑偡
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;
;AI儗儀儖愝掕廔椆
;============================================================================

;偙偙偐傜壓偺僗僥乕僩傪曇廤偡傞偙偲偱丄愝掕傪曄峏偱偒傑偡丅----------
;忋媺幰岦偗丠

;CV愝掕---------------------------
[State 5900, VOICESET];僀儊乕僕CV徏杮棞崄偺ON,OFF惂屼
type = varset
trigger1 = 1
var(40) = 1;1偱儃僀僗偁傝丂0偱儃僀僗柍偟
;壗傜偐偺棟桼偱儃僀僗偑偄傜側偄曽偼丄偙偙傪0偵偟偰傒偰壓偝偄丅
;---------------------------

;墖岇僉儍儔愝掕---------------------------
;墖岇峌寕傪巊偊側偔偱偒傑偡丅僗僩乕儕乕摦夋側偳偱帺廳偝偣偨偄帪偵丅
; 0 偱巊梡壜擻丂-1偱巊梡晄壜
[State Alice]
type = varset
trigger1 = 1
var(30) =  0 ;ON
;var(30) = -1 ;OFF
[State Spilitia]
type = varset
trigger1 = 1
var(31) =  0 ;ON
;var(31) = -1 ;OFF
[State Patche]
type = varset
trigger1 = 1
var(32) =  0 ;ON
;var(32) = -1 ;OFF
;---------------------------

;堦寕愝掕---------------------------
;偙傟傪侾偵偡傞偲堦愗堦寕昁嶦墱媊偑巊偊側偔側傝傑偡
[State Tehletteh]
type = varset
trigger1 = 1
var(42) =  0 ;ON
;var(42) = 1 ;OFF
;---------------------------

;----------------------------
;僨僶僢僌僒億乕僩僗僥乕僩丂摿庩晲婍曇
[State WPNSET DEBUGMODE];僨僶僢僌梡丂摿掕偺晲婍偺摦嶌傪尒偨偄帪側傫偐偵
Type = null;varset;Null傪奜偣偽巊偊傞
trigger1 = 1
var(5) = 21;偙偙偵憰旛偝偣偨偄晲婍偺斣崋傪擖傟傞
[State BULLET];抏悢偼侾
type = varset
trigger1 = var(5) > 0;憰旛偝傟偰偄傞
var(7) = 3;抏悢
persistent = 0
;----------------------------

;愝掕曄峏偼偙偙傑偱丅--------------------------------------------
;偙偙偐傜壓偼曄峏偟側偄偱偔偩偝偄丅------------------------------


[State Alice]
type = varset
triggerall = numpartner > 0;僷乕僩僫乕偑嫃傞
trigger1 = partner,name = "Alice-R"
trigger2 = partner,name = "Shanghai_Alice"
trigger3 = (partner,name = "Alice Margatroid")||(partner,name = "Alice_Margatroid")
var(30) = -1 ;OFF
;[State Spilitia]
;type = varset
;trigger1 = 1
;var(31) =  0 ;ON
;var(31) = -1 ;OFF
[State Patche]
type = varset
triggerall = numpartner > 0;僷乕僩僫乕偑嫃傞
trigger1 = partner,name = "Patchouli"
trigger2 = partner,name = "metal_patchouli"
trigger3 = partner,name = "Patchouli_Knowledge"
var(32) = -1 ;OFF

[State POW];嵟弶偺儔僂儞僪偩偭偨応崌丄僷儚乕僎乕僕傪僙僢僩偡傞
type = PowerSet
trigger1 = roundno = 1;偪傖傫偲巜掕偟偲偐傫偲師偺儔僂儞僪偱傑偨弶婜壔偝傟偨傝偡傞偙偲偵
Value = 1000;儅僽僇僾偱偺弶婜俴倴偼侾丅
;偙偙偱偺張棟偵晄搒崌偑偁偭偨応崌廋惓偑昁梫偵側傞丅

[State NorthStar];師偺儔僂儞僪奐巒帪丄惎偑堦屄夞暅
type = varadd
trigger1 = Time = 0
trigger1 = var(41) > 0
var(41) = -1


[State Guage];憰旛偱偒偨側傜僎乕僕傪敪惗偝偣傞
type = Varset;偘乕偠巆検偵僾儔僗
Trigger1 = var(5) > 0;1埲忋偩偭偨応崌
var(6) = 3000
[State GuageON]
type = Helper
Trigger1 = var(5) != 0;晲婍傪偦偆傃偟偰偄傞忬懺側傜
trigger1 = !Numhelper(10010)
ID = 10010
Name = "SubPower Guage"
Pos = 0,0
PosType = left;p1
StateNo = 10010
helpertype = Normal
Keyctrl = 0
ownpal = 1
pausemovetime = 99999999999999
supermovetime = 99999999999999
facing = 1


[State 5900, 3] ;懳恄抝
type = ChangeState
trigger1 = roundno = 1
trigger1 = (enemy,name="Godman")||(enemy,authorname="man")
value = 190000;愱梡僗僥乕僩偱懸偭偰偐傜190偵偡傞梊掕丅

[State 191, 2];turns梡
type = ChangeState
trigger1 = RoundsExisted = 0
trigger1 = roundno != 1
trigger1 = TeamMode = turns
value = 193;偝偁丄僎乕儉偺丒丒丒

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

;[State 5900, 1]
;type = VarRangeSet
;trigger1 = RoundNo = 1
;farst = 0
;last  = 52
;value = 0
