music cheat code

This commit is contained in:
PossiblyAxolotl 2022-07-29 21:02:41 -06:00
parent c518faadef
commit 1821095a89

View file

@ -230,8 +230,10 @@ function editUpdate()
elseif editor == "music" then elseif editor == "music" then
selSong = editorSongs[math.floor(tileIndex) + 1] selSong = editorSongs[math.floor(tileIndex) + 1]
editor = "main" editor = "main"
if playdate.buttonIsPressed(playdate.kButtonB) ~= true or playdate.buttonIsPressed(playdate.kButtonDown) ~= true then
song:stop() song:stop()
song:load("sfx/song1") song:load("sfx/song1")
end
tileIndex = 6 tileIndex = 6
songIndexSel = #editorSongs + 1 songIndexSel = #editorSongs + 1
elseif editor == "pos2Spin" then elseif editor == "pos2Spin" then