diff options
Diffstat (limited to 'engine')
| -rw-r--r-- | engine/pokedex.asm | 12 | ||||
| -rw-r--r-- | engine/routines/newpokedexentry.asm | 4 | 
2 files changed, 8 insertions, 8 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 diff --git a/engine/routines/newpokedexentry.asm b/engine/routines/newpokedexentry.asm index 122688eff..d6b755200 100644 --- a/engine/routines/newpokedexentry.asm +++ b/engine/routines/newpokedexentry.asm @@ -11,7 +11,7 @@ NewPokedexEntry: ; fb877  	ld a, [wPokedexStatus]  	push af  	ld a, [hSCX] -	add POKDEX_SCX +	add POKEDEX_SCX  	ld [hSCX], a  	xor a  	ld [wPokedexStatus], a @@ -26,7 +26,7 @@ NewPokedexEntry: ; fb877  	call MaxVolume  	call RotateThreePalettesRight  	ld a, [hSCX] -	add -POKDEX_SCX +	add -POKEDEX_SCX  	ld [hSCX], a  	call .ReturnFromDexRegistration  	pop af | 
