Identify hUILayoutFlags

This commit is contained in:
Rangi 2021-02-13 19:48:34 -05:00
parent 83f7d224c8
commit 95353fdefa
11 changed files with 38 additions and 38 deletions

View file

@ -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

View file

@ -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