gb-studio
gb-studio copied to clipboard
Set music routine wipes out other set music routines that came before it
Describe the bug Set music routine allows you to use 0, 1 and 2 for different functions. However, if you make a On music routine 0 event and then a On music routine 1 after it in the Init, the music routine 0 is removed.
To Reproduce Steps to reproduce the behavior: Make a set music routine 0 event in on init, have it play a sfx or something. Make a set music routine 1 event in on init, have it do something else.
Add 600 and 601 in a song in the music editor and set that song to play.
Expected behavior You'd expect that both events would fire and do whatever is in them, but only the last defined one fires.
Screenshots If applicable, add screenshots to help explain your problem.
Platform (please complete the following information):
- OS: macOS Ventura 13.01
- App version Gb Studio 3.2
Additional context Add any other context about the problem here.