So, this is the original code:
Code: Select all
function onEvent(eventName)
if(eventName == "musictrigger1") then
Audio.MusicChange(0, "Wario Land Shake It! OST - Bad Manor.ogg", 200)
end
if(eventName == "musictrigger2") then
Audio.MusicChange(0, "Wario Land Shake It! OST - Bad Manor.ogg", 200)
end
end