aboutsummaryrefslogtreecommitdiffstats
path: root/home
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2021-02-13 19:48:34 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2021-02-13 19:48:34 -0500
commit95353fdefa95440eba012509722f2058739d45fe (patch)
tree224e69bcaafc7427f407bc9678e7bf2e8784cb51 /home
parentRemove .gitmodules (diff)
downloadpokeyellow-95353fdefa95440eba012509722f2058739d45fe.tar.gz
pokeyellow-95353fdefa95440eba012509722f2058739d45fe.tar.xz
pokeyellow-95353fdefa95440eba012509722f2058739d45fe.zip
Identify hUILayoutFlags
Diffstat (limited to 'home')
-rw-r--r--home/text.asm2
-rw-r--r--home/window.asm4
2 files changed, 3 insertions, 3 deletions
diff --git a/home/text.asm b/home/text.asm
index ad0c4fd8..244c6fdb 100644
--- a/home/text.asm
+++ b/home/text.asm
@@ -62,7 +62,7 @@ PlaceNextChar::
cp "<NEXT>"
jr nz, .NotNext
ld bc, 2 * SCREEN_WIDTH
- ldh a, [hFlagsFFF6]
+ ldh a, [hUILayoutFlags]
bit 2, a
jr z, .ok
ld bc, SCREEN_WIDTH
diff --git a/home/window.asm b/home/window.asm
index f86e39c6..0182bdd3 100644
--- a/home/window.asm
+++ b/home/window.asm
@@ -136,7 +136,7 @@ PlaceMenuCursor::
and a ; was the previous menu id 0?
jr z, .checkForArrow1
push af
- ldh a, [hFlagsFFF6]
+ ldh a, [hUILayoutFlags]
bit 1, a ; is the menu double spaced?
jr z, .doubleSpaced1
ld bc, 20
@@ -162,7 +162,7 @@ PlaceMenuCursor::
and a
jr z, .checkForArrow2
push af
- ldh a, [hFlagsFFF6]
+ ldh a, [hUILayoutFlags]
bit 1, a ; is the menu double spaced?
jr z, .doubleSpaced2
ld bc, 20