mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Identify hUILayoutFlags
This commit is contained in:
parent
83f7d224c8
commit
95353fdefa
11 changed files with 38 additions and 38 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue