summaryrefslogtreecommitdiff
path: root/engine/pokemon/evolve.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2018-08-25 22:23:45 -0400
committerGitHub <noreply@github.com>2018-08-25 22:23:45 -0400
commit3eacab563d0e1ab5557c2443556a7a5e58d14cad (patch)
tree3d747166409fdc94f0fd1aa760693a7ee5bd2156 /engine/pokemon/evolve.asm
parent89681d231611938a791f4256e602c88c2f9aa3e1 (diff)
parentb2adcd6d6ff91efc764a6ecc65147be7b9cda9e8 (diff)
Merge pull request #555 from Rangi42/ldh
Use real labels for HRAM instead of constants, and the ldh instruction
Diffstat (limited to 'engine/pokemon/evolve.asm')
-rw-r--r--engine/pokemon/evolve.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/pokemon/evolve.asm b/engine/pokemon/evolve.asm
index eb2645e00..b06d9f9cf 100644
--- a/engine/pokemon/evolve.asm
+++ b/engine/pokemon/evolve.asm
@@ -211,13 +211,13 @@ EvolveAfterBattle_MasterLoop:
call DelayFrames
xor a
- ld [hBGMapMode], a
+ ldh [hBGMapMode], a
hlcoord 0, 0
lb bc, 12, 20
call ClearBox
ld a, $1
- ld [hBGMapMode], a
+ ldh [hBGMapMode], a
call ClearSprites
farcall EvolutionAnimation