Hello.
I´m continue working on my project and I found and issue: Every character in the game have a code that allows to listen music before battle like in NGBC.
This is the code:
Statedef 190:
Spoiler, click to toggle visibilty
[Statedef 190]
type = S
ctrl = 0
anim = 0
velset = 0,0
; CODE BY "REJY2505"
;===============================================;
;======; MUSIC BEFORE BATTLE / FIRST CODE ;=====;
;===============================================;
[State 200, SND]
type=playsnd
triggerall = RoundNo = 1
trigger1 = !time
value = F8001,1
channel = 22
;===============================================;
[State -2, 3]
type = ChangeState
trigger1 = Time = 0
value = 191+(random%4)
Statedef -3:
Spoiler, click to toggle visibilty
; CODE BY "REJY2505"
;===============================================;
;=====; MUSIC BEFORE BATTLE / SECOND CODE ;=====;
;===============================================;
[STATE 2002 UM, REJY2505]
type = AssertSpecial
triggerall = TeamMode != Turns
triggerall = roundno = 1
trigger1 = roundstate = 1
trigger2 = stateno = 5900
trigger3 = stateno = [190,199]
flag = nomusic
ignorehitpause = 1
persistent = 1
[STATE 200, snd]
type=stopsnd
triggerall = TeamMode != Turns
trigger1 = roundstate != 1
trigger1 = stateno != 5900
trigger1 = stateno != [190,199]
channel = 22
[STATE 200, snd]
type = Stopsnd
triggerall = TeamMode = Turns
triggerall = RoundNo = 1
trigger1 = RoundState > 1
channel = 22
;===============================================;
This code works fine in Noembelu but only on "Arcade mode" if you use "turns mode" both music sound at once, the music before battle and the music of the stage,
Could you help me, please? If there a code that I have to add or erase?