diff options
Diffstat (limited to 'engine/pokedex/new_pokedex_entry.asm')
-rw-r--r-- | engine/pokedex/new_pokedex_entry.asm | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/engine/pokedex/new_pokedex_entry.asm b/engine/pokedex/new_pokedex_entry.asm index 765f2f576..308a22b69 100644 --- a/engine/pokedex/new_pokedex_entry.asm +++ b/engine/pokedex/new_pokedex_entry.asm @@ -1,8 +1,8 @@ NewPokedexEntry: - ld a, [hMapAnims] + ldh a, [hMapAnims] push af xor a - ld [hMapAnims], a + ldh [hMapAnims], a call LowVolume call ClearBGPalettes call ClearTileMap @@ -10,9 +10,9 @@ NewPokedexEntry: call ClearSprites ld a, [wPokedexStatus] push af - ld a, [hSCX] + ldh a, [hSCX] add POKEDEX_SCX - ld [hSCX], a + ldh [hSCX], a xor a ld [wPokedexStatus], a farcall _NewPokedexEntry @@ -25,12 +25,12 @@ NewPokedexEntry: ld [wPokedexStatus], a call MaxVolume call RotateThreePalettesRight - ld a, [hSCX] + ldh a, [hSCX] add -POKEDEX_SCX - ld [hSCX], a + ldh [hSCX], a call .ReturnFromDexRegistration pop af - ld [hMapAnims], a + ldh [hMapAnims], a ret .ReturnFromDexRegistration: |