summaryrefslogtreecommitdiff
path: root/engine/palettes.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2019-07-07 00:44:21 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2019-07-07 00:44:21 -0400
commitf99a715fae311d2611ec4a714b002e103c4642ca (patch)
tree55c3b2f36f037ab192777755fe7e4b8f5a22131d /engine/palettes.asm
parent725b86ebbec23bd1f53fd60bf0201c904fee951d (diff)
Replace some hard-coded values with constants
Diffstat (limited to 'engine/palettes.asm')
-rwxr-xr-xengine/palettes.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/palettes.asm b/engine/palettes.asm
index 4ab83f36..39991d48 100755
--- a/engine/palettes.asm
+++ b/engine/palettes.asm
@@ -70,7 +70,7 @@ SetPal_StatusScreen:
ld bc, $10
call CopyData
ld a, [wcf91]
- cp VICTREEBEL + 1
+ cp NUM_POKEMON_INDEXES + 1
jr c, .pokemon
ld a, $1 ; not pokemon
.pokemon