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

@@ -7,7 +7,7 @@ ENDM
ItemAttributes:
; entries correspond to item ids (see constants/item_constants.asm)
table_width ITEMATTR_STRUCT_LENGTH, ItemAttributes
table_width ITEMATTR_STRUCT_LENGTH
; MASTER_BALL
item_attribute 0, HELD_NONE, 0, CANT_SELECT, BALL, ITEMMENU_NOUSE, ITEMMENU_CLOSE
; ULTRA_BALL

View File

@@ -1,5 +1,5 @@
BuenaPrizeItems:
table_width 2, BuenaPrizeItems
table_width 2
db ULTRA_BALL, 2
db FULL_RESTORE, 2
db NUGGET, 3

View File

@@ -1,6 +1,6 @@
ItemDescriptions:
; entries correspond to item ids (see constants/item_constants.asm)
table_width 2, ItemDescriptions
table_width 2
dw MasterBallDesc
dw UltraBallDesc
dw BrightpowderDesc

View File

@@ -1,6 +1,6 @@
FruitTreeItems:
; entries correspond to FRUITTREE_* constants
table_width 1, FruitTreeItems
table_width 1
db BERRY ; ROUTE_29
db BERRY ; ROUTE_30_1
db BERRY ; ROUTE_38

View File

@@ -1,6 +1,6 @@
Marts:
; entries correspond to MART_* constants (see constants/mart_constants.asm)
table_width 2, Marts
table_width 2
dw MartCherrygrove
dw MartCherrygroveDex
dw MartViolet

View File

@@ -1,5 +1,5 @@
ItemNames::
list_start ItemNames
list_start
li "MASTER BALL"
li "ULTRA BALL"
li "BRIGHTPOWDER"

View File

@@ -1,6 +1,6 @@
ItemPocketNames:
; entries correspond to item type constants
table_width 2, ItemPocketNames
table_width 2
dw .Item
dw .Key
dw .Ball