Fix map anims not disabled outside of overworld (#17)

This commit is contained in:
xCrystal 2023-10-02 17:39:10 +02:00
parent 63912e8bef
commit 8c7ee46065
4 changed files with 4 additions and 2 deletions

View File

@ -461,7 +461,7 @@ endc
call ReturnToMapFromSubmenu
ld a, [wDisableTextAcceleration]
push af
ld a, 1
ld a, TRUE
ld [wDisableTextAcceleration], a
ldh a, [rIE]
push af

View File

@ -12,6 +12,8 @@ GameMenu:
; fallthrough
GameMenu_KeepMusic:
xor a
ldh [hMapAnims], a
call ClearTilemap
call LoadFrame
call LoadStandardFont

View File

@ -1,6 +1,7 @@
LevelSelectionMenu::
xor a
ldh [hInMenu], a
ldh [hMapAnims], a
ld a, 1 << 2 ; do not clear wShadowOAM during DoNextFrameForAllSprites
ld [wVramState], a
ld a, -1

View File

@ -13,7 +13,6 @@
MainMenu:
.loop
xor a
ld [wDisableTextAcceleration], a
ldh [hMapAnims], a
call ClearTilemap
call LoadFrame