use enums for max pill and card id as well

This commit is contained in:
kittenchilly committed 2022-04-25 13:43:24 -05:00
1 parent 64279145ad
commit acb882b924
1 file changed
+2 -2
+2 -2
View File
@@ -22,8 +22,8 @@ end
-------------------------Handle API Functions ----------------------------- -------------------------Handle API Functions -----------------------------
local nullVector = Vector(0,0) local nullVector = Vector(0,0)
local game = Game() local game = Game()
local maxCardID = REPENTANCE and 97 or 54 local maxCardID = Card.NUM_CARDS - 1
local maxPillID = REPENTANCE and 14 or 13 local maxPillID = PillColor.NUM_PILLS - 1
local dynamicSpriteCache = {} -- used to store sprite objects of collectible icons etc. local dynamicSpriteCache = {} -- used to store sprite objects of collectible icons etc.
-- Adds a description for a collectible. Optional parameters: itemName, language -- Adds a description for a collectible. Optional parameters: itemName, language