more bug fixes

This commit is contained in:
May Evans 2022-08-31 15:28:36 +01:00
parent 648289d4a9
commit a216a0f2e7
7 changed files with 30 additions and 6 deletions

View file

@ -462,6 +462,9 @@ StartMenu_TrainerInfo::
predef DrawBadges ; draw badges
ld b, SET_PAL_TRAINER_CARD
call RunPaletteCommand
ld a, [wOnSGB] ; this fixes garbage on dmgs
and a
call z, Delay3
call GBPalNormal
call WaitForTextScrollButtonPress ; wait for button press
call GBPalWhiteOut
@ -469,6 +472,9 @@ StartMenu_TrainerInfo::
call LoadScreenTilesFromBuffer2 ; restore saved screen
call RunDefaultPaletteCommand
call ReloadMapData
ld a, [wOnSGB] ; this fixes garbage on dmgs
and a
call z, Delay3
call LoadGBPal
pop af
ldh [hTileAnimations], a