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

@@ -1,6 +1,6 @@
BattleAnimations::
; entries correspond to constants/move_constants.asm
table_width 2, BattleAnimations
table_width 2
dw BattleAnim_Dummy
dw BattleAnim_Pound
dw BattleAnim_KarateChop

View File

@@ -1,6 +1,6 @@
MoveDescriptions::
; entries correspond to move ids (see constants/move_constants.asm)
table_width 2, MoveDescriptions
table_width 2
dw PoundDescription
dw KarateChopDescription
dw DoubleslapDescription

View File

@@ -1,6 +1,6 @@
MoveEffectsPointers:
; entries correspond to EFFECT_* constants
table_width 2, MoveEffectsPointers
table_width 2
dw NormalHit
dw DoSleep
dw PoisonHit

View File

@@ -13,7 +13,7 @@ ENDM
Moves:
; entries correspond to move ids (see constants/move_constants.asm)
table_width MOVE_LENGTH, Moves
table_width MOVE_LENGTH
move POUND, EFFECT_NORMAL_HIT, 40, NORMAL, 100, 35, 0
move KARATE_CHOP, EFFECT_NORMAL_HIT, 50, FIGHTING, 100, 25, 0
move DOUBLESLAP, EFFECT_MULTI_HIT, 15, NORMAL, 85, 10, 0

View File

@@ -1,5 +1,5 @@
MoveNames::
list_start MoveNames
list_start
li "POUND"
li "KARATE CHOP"
li "DOUBLESLAP"

View File

@@ -3,7 +3,7 @@
TMHMMoves:
; entries correspond to *_TMNUM constants (see constants/item_constants.asm)
table_width 1, TMHMMoves
table_width 1
; TMs
for n, 1, NUM_TMS + 1