You could also use Lua in SMBX2 (you'll need the PAL version) - this example code should start playing a music file called "boss-music.ogg" in player 1's section when an event called "Start Boss Music" is triggered:
Code: Select all
if(eventName == "Start Boss Music") then
If you'd like to learn more LunaLua Enjl has some good tutorials on it here
EDIT: I can't seem to get the code to format correctly (it's supposed to be 5 lines, not one), so it looks more complicated than it is. Sorry about that - it should still work properly though.
Jesus is my savior.