Here is a list of other features with more niche use cases.
const songs = [698, song("reach out to the truth"), 42]
encounter["Normal Battles"]
music = random_song(songs)
end
A prior requirement of random_song
is that all the music had to be next to each other
in BGM IDs. This can become an issue if you want to reuse a song in a different
random_song
, requiring duplicate files. It also makes using default BGM with
random_song
practically impossible.
By using an array, or list for non-programmers, you can create a setlist of specific songs that random_song
can then randomly pick from.