mirror of
https://github.com/bryanthaboi/gen1recomp.git
synced 2026-08-16 08:11:35 +02:00
Add tile aliases for LOBBY table blocks 45 and 49
The Celadon Diner uses three LOBBY table blocks that share tile 0x37 on their flat surfaces. Only block 29 had the 0x37->0x5a BROWN alias; blocks 45 and 49 showed raw tile 0x37 in ROOF (blue-gray), creating a blue square on the second/third tables with the Advanced Colors preset. Add alias entries for blocks 45 (cells 13/14) and 49 (cells 1/2). Fixes #689
This commit is contained in:
@@ -559,16 +559,26 @@ local TILESET_GROUP_EXCEPTIONS = {
|
||||
}
|
||||
|
||||
-- pokered-gbc's lobby.bst repoints the Celadon LOBBY table's flat top
|
||||
-- (block 29, cells 5/6/9/10) at a duplicate tile ($5a, BROWN) so the
|
||||
-- tabletop and the checkerboard floor -- both raw tile $37 -- can take
|
||||
-- different palettes; the vanilla-derived blockset shares the one tile
|
||||
-- id, so the RED++ atlas path re-creates the duplicate: the alias slot
|
||||
-- is baked as a copy of `tile` in `group`'s colors, and the listed
|
||||
-- 0-based block cells draw the alias instead of the shared tile.
|
||||
-- Same block appears on CELADON_MART_ROOF (#52) and CELADON_DINER (#84).
|
||||
-- at a duplicate tile ($5a, BROWN) so the tabletop and the checkerboard
|
||||
-- floor -- both raw tile $37 -- can take different palettes; the
|
||||
-- vanilla-derived blockset shares the one tile id, so the RED++ atlas
|
||||
-- path re-creates the duplicate: the alias slot is baked as a copy of
|
||||
-- `tile` in `group`'s colors, and the listed 0-based block cells draw
|
||||
-- the alias instead of the shared tile.
|
||||
--
|
||||
-- Three LOBBY blocks share tile $37 on their flat surfaces:
|
||||
-- block 29: 2x2 table top at cells 5/6/9/10
|
||||
-- block 45: 2-tile strip at cells 13/14
|
||||
-- block 49: 2-tile strip at cells 1/2
|
||||
-- CELADON_DINER uses all three (#84, #85, #86); CELADON_MART_ROOF
|
||||
-- uses only block 29 (#52/#53).
|
||||
local LOBBY_TABLE_TOP_ALIAS = {
|
||||
{ block = 29, cells = { [5] = true, [6] = true, [9] = true, [10] = true },
|
||||
tile = 0x37, alias = 0x5a, group = 5 },
|
||||
{ block = 45, cells = { [13] = true, [14] = true },
|
||||
tile = 0x37, alias = 0x5a, group = 5 },
|
||||
{ block = 49, cells = { [1] = true, [2] = true },
|
||||
tile = 0x37, alias = 0x5a, group = 5 },
|
||||
}
|
||||
PaletteFX.TILE_ALIASES = {
|
||||
CELADON_MART_ROOF = LOBBY_TABLE_TOP_ALIAS,
|
||||
|
||||
Reference in New Issue
Block a user