summaryrefslogtreecommitdiff
path: root/engine/gfx
diff options
context:
space:
mode:
Diffstat (limited to 'engine/gfx')
-rwxr-xr-xengine/gfx/palettes.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/gfx/palettes.asm b/engine/gfx/palettes.asm
index 23203374..f724a8a9 100755
--- a/engine/gfx/palettes.asm
+++ b/engine/gfx/palettes.asm
@@ -208,7 +208,7 @@ SetPal_TrainerCard:
ld de, BadgeBlkDataLengths
ld hl, wTrainerCardBlkPacket + 2
ld a, [wObtainedBadges]
- ld c, 8
+ ld c, NUM_BADGES
.badgeLoop
srl a
push af