;---------------------------------------------------------------------------
; Initialize (at the start of the round)
[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

;== [DO NOT ALTER ANYTHING ABOVE THIS LINE] ==

[State 5900, HD Meter Position]
type = Null
trigger1 = (var(35) := 15)||e ; X-position of HD Meter at localcoord 320x240 (240p). Default position is 15.
trigger1 = (var(36) := 231)||e ; Y-position of HD Meter in 240p. Default position is 231.
persistent = 1

;== [DO NOT ALTER ANYTHING BELOW THIS LINE] ==

[State 5900, 3] ;Change palette
type = RemapPal
trigger1 = 1
source = 1,1
dest = 1,palno

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

[State 5900, 5] ;All other rounds
type = ChangeState
trigger1 = 1
value = 0