diff options
author | Remy Oukaour <remy.oukaour@gmail.com> | 2018-01-14 23:00:22 -0500 |
---|---|---|
committer | Remy Oukaour <remy.oukaour@gmail.com> | 2018-01-14 23:00:22 -0500 |
commit | dfcca93b451cecb6857f8b6bc6b9f67e997b09c9 (patch) | |
tree | acf41a46e600fa3452536f97dc3f934968b3c839 /engine/menu.asm | |
parent | 5c28d05bb40b47f084a34eb732da92c899e18db6 (diff) | |
parent | 6c5cd7a963fb2b5eed109aeef25f041eabba0004 (diff) |
Merge branch 'dev' of https://github.com/TheMostCuriousThing/pokecrystal (resolve PR #460)
# Conflicts:
# engine/battle/core.asm
# engine/save.asm
Diffstat (limited to 'engine/menu.asm')
-rwxr-xr-x | engine/menu.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/menu.asm b/engine/menu.asm index 196d45ea9..8059d5b30 100755 --- a/engine/menu.asm +++ b/engine/menu.asm @@ -585,7 +585,7 @@ Place2DMenuCursor: ; 24329 _PushWindow:: ; 24374 ld a, [rSVBK] push af - ld a, $7 + ld a, BANK(wWindowStack) ld [rSVBK], a ld hl, wWindowStackPointer @@ -690,7 +690,7 @@ _ExitMenu:: ; 243e8 ld a, [rSVBK] push af - ld a, $7 + ld a, BANK(wWindowStack) ld [rSVBK], a call GetWindowStackTop @@ -728,7 +728,7 @@ Unreferenced_Function24423: ; 24423 ld a, [VramState] bit 0, a ret z - xor a + xor a ; sScratch call GetSRAMBank hlcoord 0, 0 ld de, sScratch @@ -736,7 +736,7 @@ Unreferenced_Function24423: ; 24423 call CopyBytes call CloseSRAM call OverworldTextModeSwitch - xor a + xor a ; sScratch call GetSRAMBank ld hl, sScratch decoord 0, 0 |