summaryrefslogtreecommitdiff
path: root/engine/pokedex.asm
diff options
context:
space:
mode:
authorRemy Oukaour <remy.oukaour@gmail.com>2018-01-21 16:53:19 -0500
committerRemy Oukaour <remy.oukaour@gmail.com>2018-01-21 16:53:19 -0500
commit5db31feba93b10a2d629cf88a9ca7096d4b1c9ae (patch)
tree0da260ba8a244de2bf12ccdf121f22b4e09e1a34 /engine/pokedex.asm
parent81ba6c848aaada66cf2026ba765a48c98893431a (diff)
POKEDEX_SCX
Diffstat (limited to 'engine/pokedex.asm')
-rw-r--r--engine/pokedex.asm12
1 files changed, 6 insertions, 6 deletions
diff --git a/engine/pokedex.asm b/engine/pokedex.asm
index 4d7096c0e..e96d0a7d7 100644
--- a/engine/pokedex.asm
+++ b/engine/pokedex.asm
@@ -15,8 +15,8 @@
const DEXSTATE_UPDATE_UNOWN_MODE
const DEXSTATE_EXIT
-POKDEX_SCX EQU 5
-GLOBAL POKDEX_SCX
+POKEDEX_SCX EQU 5
+GLOBAL POKEDEX_SCX
Pokedex: ; 40000
@@ -233,7 +233,7 @@ Pokedex_InitMainScreen: ; 4013c (10:413c)
call Pokedex_SetBGMapMode_3ifDMG_4ifCGB
call Pokedex_ResetBGMapMode
call Pokedex_DrawMainScreenBG
- ld a, POKDEX_SCX
+ ld a, POKEDEX_SCX
ld [hSCX], a
ld a, [wCurrentDexMode]
@@ -453,7 +453,7 @@ DexEntryScreen_MenuActionJumptable: ; 402f2
ld [hBGMapMode], a
ld a, $90
ld [hWY], a
- ld a, POKDEX_SCX
+ ld a, POKEDEX_SCX
ld [hSCX], a
call DelayFrame
call Pokedex_RedisplayDexEntry
@@ -497,7 +497,7 @@ DexEntryScreen_MenuActionJumptable: ; 402f2
call Pokedex_RedisplayDexEntry
call EnableLCD
call WaitBGMap
- ld a, POKDEX_SCX
+ ld a, POKEDEX_SCX
ld [hSCX], a
call Pokedex_ApplyUsualPals
ret
@@ -733,7 +733,7 @@ Pokedex_InitSearchResultsScreen: ; 4050a (10:450a)
call Pokedex_SetBGMapMode3
call Pokedex_ResetBGMapMode
call Pokedex_DrawSearchResultsScreenBG
- ld a, POKDEX_SCX
+ ld a, POKEDEX_SCX
ld [hSCX], a
ld a, $4a
ld [hWX], a