aboutsummaryrefslogtreecommitdiffstats
path: root/engine/menus/save.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2021-02-13 19:48:21 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2021-02-13 19:48:21 -0500
commit205fd1ac81c2d1dcec010c478979bd6159edc72d (patch)
tree00b70faa84c87265b6ee4e68f0df1fc4946afca2 /engine/menus/save.asm
parentProper translation comments in debug_menu.asm (diff)
downloadpokeyellow-205fd1ac81c2d1dcec010c478979bd6159edc72d.tar.gz
pokeyellow-205fd1ac81c2d1dcec010c478979bd6159edc72d.tar.xz
pokeyellow-205fd1ac81c2d1dcec010c478979bd6159edc72d.zip
Identify hUILayoutFlags and hPikachuSpriteVRAMOffset
Diffstat (limited to 'engine/menus/save.asm')
-rw-r--r--engine/menus/save.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/menus/save.asm b/engine/menus/save.asm
index 13fdf729..0c53f689 100644
--- a/engine/menus/save.asm
+++ b/engine/menus/save.asm
@@ -342,10 +342,10 @@ ChangeBox::
call z, EmptyAllSRAMBoxes ; if so, empty all boxes in SRAM
call DisplayChangeBoxMenu
call UpdateSprites
- ld hl, hFlagsFFFA
+ ld hl, hUILayoutFlags
set 1, [hl]
call HandleMenuInput
- ld hl, hFlagsFFFA
+ ld hl, hUILayoutFlags
res 1, [hl]
bit 1, a ; pressed b
ret nz
@@ -429,12 +429,12 @@ DisplayChangeBoxMenu:
hlcoord 11, 0
lb bc, 12, 7
call TextBoxBorder
- ld hl, hFlagsFFFA
+ ld hl, hUILayoutFlags
set 2, [hl]
ld de, BoxNames
hlcoord 13, 1
call PlaceString
- ld hl, hFlagsFFFA
+ ld hl, hUILayoutFlags
res 2, [hl]
ld a, [wCurrentBoxNum]
and $7f