music cheat code
This commit is contained in:
parent
c518faadef
commit
1821095a89
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue