summaryrefslogtreecommitdiff
path: root/battle
diff options
context:
space:
mode:
Diffstat (limited to 'battle')
-rw-r--r--battle/core.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/battle/core.asm b/battle/core.asm
index 7b5a7c907..2477f3f9f 100644
--- a/battle/core.asm
+++ b/battle/core.asm
@@ -3579,7 +3579,7 @@ Function3d6ca: ; 3d6ca
ld [CurPartySpecies], a
call LoadEnemyMon
ld a, [CurPartySpecies]
- cp $c9
+ cp UNOWN
jr nz, .asm_3d708
ld a, [$def4]
and a
@@ -7827,7 +7827,7 @@ Function3f136: ; 3f136
.asm_3f1b7
ld a, e
- cp $64
+ cp MAX_LEVEL
jr nc, .asm_3f1ff
cp d
jr z, .asm_3f1ff