diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2018-08-25 14:28:22 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2018-08-25 14:28:22 -0400 |
commit | eb1e3636bb71509546c274bf2a5910d8e71a9600 (patch) | |
tree | 24d7742604073b2afb86c1225258f8217d1653e7 /engine/pokemon/evolve.asm | |
parent | 376c64468bab8d162da43fc6e1b6f0942943cf43 (diff) |
Use labels instead of constants for HRAM
Use explicit ldh instruction to access HRAM locations, don't rely on optimizing ld
Diffstat (limited to 'engine/pokemon/evolve.asm')
-rw-r--r-- | engine/pokemon/evolve.asm | 4 |
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 |