Don't pass redundant label names to table_width and list_start (#1160)

This commit is contained in:
Rangi
2024-12-27 12:35:35 -05:00
committed by GitHub
parent 3f686e67da
commit 85ddf0e90a
140 changed files with 214 additions and 203 deletions

View File

@@ -30,7 +30,7 @@ LoadSGBLayoutCGB:
CGBLayoutJumptable:
; entries correspond to SCGB_* constants (see constants/scgb_constants.asm)
table_width 2, CGBLayoutJumptable
table_width 2
dw _CGB_BattleGrayscale
dw _CGB_BattleColors
dw _CGB_PokegearPals

View File

@@ -1171,7 +1171,7 @@ INCLUDE "gfx/sgb/pal_packets.asm"
INCLUDE "data/sgb_ctrl_packets.asm"
PredefPals:
table_width PALETTE_SIZE, PredefPals
table_width PALETTE_SIZE
INCLUDE "gfx/sgb/predef.pal"
assert_table_length NUM_PREDEF_PALS
@@ -1308,7 +1308,7 @@ MapObjectPals::
INCLUDE "gfx/overworld/npc_sprites.pal"
RoofPals:
table_width PAL_COLOR_SIZE * 2 * 2, RoofPals
table_width PAL_COLOR_SIZE * 2 * 2
INCLUDE "gfx/tilesets/roofs.pal"
assert_table_length NUM_MAP_GROUPS + 1

View File

@@ -23,7 +23,7 @@ LoadSGBLayout:
SGBLayoutJumptable:
; entries correspond to SCGB_* constants (see constants/scgb_constants.asm)
table_width 2, SGBLayoutJumptable
table_width 2
dw .SGB_BattleGrayscale
dw .SGB_BattleColors
dw .SGB_PokegearPals