Skip to content

Commit cd647df

Browse files
authored
Don't pass redundant label names to table_width and list_start (#484)
1 parent cd1065b commit cd647df

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+74
-63
lines changed

data/battle/stat_mod_names.asm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
; The relevant move effect IDs correspond to the stats
33

44
StatModTextStrings:
5-
list_start StatModTextStrings
5+
list_start
66
li "ATTACK"
77
li "DEFENSE"
88
li "SPEED"

data/battle/stat_names.asm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
; Stats that vitamins can raise or lower
22

33
VitaminStats:
4-
list_start VitaminStats
4+
list_start
55
li "HEALTH"
66
li "ATTACK"
77
li "DEFENSE"

data/battle_anims/base_coords.asm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FrameBlockBaseCoords:
2-
table_width 2, FrameBlockBaseCoords
2+
table_width 2
33
db $10, $68 ; BASECOORD_00
44
db $10, $70 ; BASECOORD_01
55
db $10, $78 ; BASECOORD_02

data/battle_anims/frame_blocks.asm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FrameBlockPointers:
2-
table_width 2, FrameBlockPointers
2+
table_width 2
33
dw FrameBlock00
44
dw FrameBlock01
55
dw FrameBlock02

data/battle_anims/subanimations.asm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
SubanimationPointers:
2-
table_width 2, SubanimationPointers
2+
table_width 2
33
dw Subanim_0Star
44
dw Subanim_0StarTwice
55
dw Subanim_0StarThrice

data/credits/credits_text.asm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CreditsTextPointers:
22
; entries correspond to CRED_* constants
3-
table_width 2, CreditsTextPointers
3+
table_width 2
44
dw CredVersion
55
dw CredTajiri
66
dw CredTaOota

data/events/hidden_coins.asm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ MACRO hidden_coin
33
ENDM
44

55
HiddenCoinCoords:
6-
table_width 3, HiddenCoinCoords
6+
table_width 3
77
; map id, x, y
88
hidden_coin GAME_CORNER, 0, 8
99
hidden_coin GAME_CORNER, 1, 16

data/events/hidden_item_coords.asm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ MACRO hidden_item
33
ENDM
44

55
HiddenItemCoords:
6-
table_width 3, HiddenItemCoords
6+
table_width 3
77
; map id, x, y
88
hidden_item VIRIDIAN_FOREST, 1, 18
99
hidden_item VIRIDIAN_FOREST, 16, 42

data/events/trades.asm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
TradeMons:
22
; entries correspond to TRADE_FOR_* constants
3-
table_width 3 + NAME_LENGTH, TradeMons
3+
table_width 3 + NAME_LENGTH
44
; give mon, get mon, dialog id, nickname
55
; The two instances of TRADE_DIALOGSET_EVOLUTION are a leftover
66
; from the Japanese Blue trades, which used species that evolve.

data/growth_rates.asm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ENDM
1111

1212
GrowthRateTable:
1313
; entries correspond to GROWTH_* (see constants/pokemon_data_constants.asm)
14-
table_width 4, GrowthRateTable
14+
table_width 4
1515
growth_rate 1, 1, 0, 0, 0 ; Medium Fast
1616
growth_rate 3, 4, 10, 0, 30 ; Slightly Fast
1717
growth_rate 3, 4, 20, 0, 70 ; Slightly Slow

0 commit comments

Comments
 (0)