From 7e743cfec3e2ee7f8e64a28db45ef02a5a8ebc56 Mon Sep 17 00:00:00 2001 From: 1029chris <1029chris@gmail.com> Date: Sat, 29 Oct 2016 23:58:24 -0700 Subject: cheat for testing purposes if you press 1 during the loading screen fade, then the first fight will be considered completed same if you press 2 --- main.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/main.lua b/main.lua index 6a9b923..4df98c2 100644 --- a/main.lua +++ b/main.lua @@ -39,6 +39,12 @@ function love.update(dt) end if fade == 1 and fadeOpacity < 255 and pause.p == false then fadeOpacity = fadeOpacity + 5 + if scene == 0 and love.keyboard.isDown("1") == true then + v1.complete = true + elseif scene == 0 and love.keyboard.isDown("2") == true then + v1.complete = true + v2.complete = true + end elseif fade == 0 and fadeOpacity > 0 and pause.p == false then fadeOpacity = fadeOpacity - 5 end -- cgit