-
Notifications
You must be signed in to change notification settings - Fork 0
PlayMusic
Johnathon edited this page Jun 13, 2026
·
5 revisions
Starts playback of a background music track by ID. Any currently playing music is replaced.
PlayMusic(trackId)trackId
Integer
The ID of the music track to play.
Music playback begins immediately when this opcode is executed. If music is already playing it will be replaced without fading out. To stop music without starting a new track use StopMusic. To fade out before switching tracks consider calling FadeOut before this opcode.
Play music track 23 during a world transition:
PlayMusic(23)
From Intro Sequence Script #1:
0x00, 0x17 // PushByte(23)
0x02, 0x31 // Step → PlayMusic| Game | Notes |
|---|---|
| Legacy of Goku 2 | Supported |