You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Fix map anims not disabled outside of overworld (#17)
This commit is contained in:
@@ -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
|
||||
|
@@ -12,6 +12,8 @@ GameMenu:
|
||||
; fallthrough
|
||||
|
||||
GameMenu_KeepMusic:
|
||||
xor a
|
||||
ldh [hMapAnims], a
|
||||
call ClearTilemap
|
||||
call LoadFrame
|
||||
call LoadStandardFont
|
||||
|
@@ -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
|
||||
|
@@ -13,7 +13,6 @@
|
||||
MainMenu:
|
||||
.loop
|
||||
xor a
|
||||
ld [wDisableTextAcceleration], a
|
||||
ldh [hMapAnims], a
|
||||
call ClearTilemap
|
||||
call LoadFrame
|
||||
|
Reference in New Issue
Block a user