test fixes

This commit is contained in:
bryanthaboi
2026-08-04 09:41:44 -04:00
parent b1350fdecd
commit dd4aface93
7 changed files with 66 additions and 28 deletions
+2 -1
View File
@@ -38,7 +38,8 @@ local function makeGame(party)
function stack:pop() return table.remove(self.states) end
function stack:top() return self.states[#self.states] end
return { data = Data, save = save, stack = stack,
input = { wasPressed = function(_, b) return press[b] == true end } }
input = { wasPressed = function(_, b) return press[b] == true end,
isDown = function(_, b) return press[b] == true end } }
end
local function step(battle)