diff options
| author | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-02-13 19:48:34 -0500 |
|---|---|---|
| committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-02-13 19:48:34 -0500 |
| commit | 95353fdefa95440eba012509722f2058739d45fe (patch) | |
| tree | 224e69bcaafc7427f407bc9678e7bf2e8784cb51 /engine/menus/save.asm | |
| parent | Remove .gitmodules (diff) | |
| download | pokeyellow-95353fdefa95440eba012509722f2058739d45fe.tar.gz pokeyellow-95353fdefa95440eba012509722f2058739d45fe.tar.xz pokeyellow-95353fdefa95440eba012509722f2058739d45fe.zip | |
Identify hUILayoutFlags
Diffstat (limited to 'engine/menus/save.asm')
| -rw-r--r-- | engine/menus/save.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/menus/save.asm b/engine/menus/save.asm index 194fb810..dc2e27c2 100644 --- a/engine/menus/save.asm +++ b/engine/menus/save.asm @@ -351,10 +351,10 @@ ChangeBox:: call z, EmptyAllSRAMBoxes ; if so, empty all boxes in SRAM call DisplayChangeBoxMenu call UpdateSprites - ld hl, hFlagsFFF6 + ld hl, hUILayoutFlags set 1, [hl] call HandleMenuInput - ld hl, hFlagsFFF6 + ld hl, hUILayoutFlags res 1, [hl] bit 1, a ; pressed b ret nz @@ -445,12 +445,12 @@ DisplayChangeBoxMenu: ld b, 12 ld c, 7 call TextBoxBorder - ld hl, hFlagsFFF6 + ld hl, hUILayoutFlags set 2, [hl] ld de, BoxNames hlcoord 13, 1 call PlaceString - ld hl, hFlagsFFF6 + ld hl, hUILayoutFlags res 2, [hl] ld a, [wCurrentBoxNum] and $7f |
