true color sprites shouldnt show in non color modes

This commit is contained in:
bryanthaboi
2026-08-18 16:06:15 -04:00
parent a1ab5e2cff
commit f7bdaa81f8
7 changed files with 39 additions and 12 deletions
+2 -1
View File
@@ -740,7 +740,8 @@ function BattleState:drawPic(mon, back)
-- pokemon.sprite's ctx.trueColor, the same flag Gen 1's Sprites.path hands
-- back to its own draw site.
local function paint()
if colors and not trueColor and GbcPalette.available() then
if colors and not (trueColor and GbcPalette.mode == "gbc")
and GbcPalette.available() then
GbcPalette.with(colors, body)
else
body()