mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
Fix BG Map Mode bug in Pokedex graphics (#7) (bug fix to acd022d765
)
This commit is contained in:
parent
e5171321a9
commit
25d112c0b0
@ -218,7 +218,7 @@ Pokedex_InitMainScreen:
|
|||||||
ld a, 7
|
ld a, 7
|
||||||
ld [wDexListingHeight], a
|
ld [wDexListingHeight], a
|
||||||
call Pokedex_PrintListing
|
call Pokedex_PrintListing
|
||||||
call Pokedex_SetBGMapMode4
|
call Pokedex_SetBGMapMode4And3
|
||||||
call Pokedex_ResetBGMapMode
|
call Pokedex_ResetBGMapMode
|
||||||
call Pokedex_DrawMainScreenBG
|
call Pokedex_DrawMainScreenBG
|
||||||
ld a, POKEDEX_SCX
|
ld a, POKEDEX_SCX
|
||||||
@ -713,7 +713,7 @@ Pokedex_InitSearchResultsScreen:
|
|||||||
hlcoord 0, 0, wAttrmap
|
hlcoord 0, 0, wAttrmap
|
||||||
ld bc, SCREEN_WIDTH * SCREEN_HEIGHT
|
ld bc, SCREEN_WIDTH * SCREEN_HEIGHT
|
||||||
call ByteFill
|
call ByteFill
|
||||||
call Pokedex_SetBGMapMode4
|
call Pokedex_SetBGMapMode4And3
|
||||||
call Pokedex_ResetBGMapMode
|
call Pokedex_ResetBGMapMode
|
||||||
farcall DrawPokedexSearchResultsWindow
|
farcall DrawPokedexSearchResultsWindow
|
||||||
call Pokedex_PlaceSearchResultsTypeStrings
|
call Pokedex_PlaceSearchResultsTypeStrings
|
||||||
@ -2519,15 +2519,14 @@ _NewPokedexEntry:
|
|||||||
call PlayMonCry
|
call PlayMonCry
|
||||||
ret
|
ret
|
||||||
|
|
||||||
Pokedex_SetBGMapMode3:
|
Pokedex_SetBGMapMode4And3:
|
||||||
ld a, $3
|
ld a, $4
|
||||||
ldh [hBGMapMode], a
|
ldh [hBGMapMode], a
|
||||||
ld c, 4
|
ld c, 4
|
||||||
call DelayFrames
|
call DelayFrames
|
||||||
ret
|
|
||||||
|
|
||||||
Pokedex_SetBGMapMode4:
|
Pokedex_SetBGMapMode3:
|
||||||
ld a, $4
|
ld a, $3
|
||||||
ldh [hBGMapMode], a
|
ldh [hBGMapMode], a
|
||||||
ld c, 4
|
ld c, 4
|
||||||
call DelayFrames
|
call DelayFrames
|
||||||
|
Loading…
Reference in New Issue
Block a user