mirror of
https://github.com/bryanthaboi/gen1recomp.git
synced 2026-08-15 15:51:17 +02:00
big ass modding update
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
|
||||
local Font = require("src.render.Font")
|
||||
local Sound = require("src.core.Sound")
|
||||
local Theme = require("src.ui.Theme")
|
||||
|
||||
local NamingScreen = {}
|
||||
NamingScreen.__index = NamingScreen
|
||||
@@ -18,8 +19,6 @@ function NamingScreen:sgbPalettes(game)
|
||||
return require("src.render.PaletteFX").wholeNamed(game.data, "MEWMON")
|
||||
end
|
||||
|
||||
local CURSOR = 0xED
|
||||
|
||||
-- both letter pages (wAlphabetCase, data/text/alphabets.asm): row 6 is
|
||||
-- the case-switch cell, labelled with the page it flips to
|
||||
local GRID_UPPER = {
|
||||
@@ -155,7 +154,7 @@ function NamingScreen:draw()
|
||||
Font.draw(cell, c * 16, 32 + r * 16)
|
||||
end
|
||||
end
|
||||
Font.drawCode(CURSOR, self.col * 16 - 8, 32 + self.row * 16)
|
||||
Font.drawCode(Theme.cursor, self.col * 16 - 8, 32 + self.row * 16)
|
||||
love.graphics.setColor(1, 1, 1, 1)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user