From 1821095a89d6a41cb1894f3de66b58502de5369d Mon Sep 17 00:00:00 2001 From: PossiblyAxolotl Date: Fri, 29 Jul 2022 21:02:41 -0600 Subject: [PATCH] music cheat code --- Source/Editor.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Editor.lua b/Source/Editor.lua index b9fcb82..5fb4b17 100644 --- a/Source/Editor.lua +++ b/Source/Editor.lua @@ -230,8 +230,10 @@ function editUpdate() elseif editor == "music" then selSong = editorSongs[math.floor(tileIndex) + 1] editor = "main" + if playdate.buttonIsPressed(playdate.kButtonB) ~= true or playdate.buttonIsPressed(playdate.kButtonDown) ~= true then song:stop() song:load("sfx/song1") + end tileIndex = 6 songIndexSel = #editorSongs + 1 elseif editor == "pos2Spin" then