Use constants for menu flags

Added a bunch of constants for the bitflags of each kind of menu. Some
are slightly vague or too long, but I'm not sure how to else name them.
This commit is contained in:
mid-kid
2018-01-14 11:59:56 +01:00
parent 066cc91b13
commit 11d67567d2
48 changed files with 238 additions and 203 deletions

View File

@@ -617,7 +617,7 @@ Text_Mart_CostsThisMuch: ; 0x15e13
; 0x15e18
MenuDataHeader_Buy: ; 0x15e18
db $40 ; flags
db MENU_BACKUP_TILES ; flags
db 03, 01 ; start coords
db 11, 19 ; end coords
dw .menudata2
@@ -625,7 +625,7 @@ MenuDataHeader_Buy: ; 0x15e18
; 0x15e20
.menudata2 ; 0x15e20
db $30 ; pointers
db SCROLLINGMENU_DISPLAY_ARROWS | SCROLLINGMENU_ENABLE_FUNCTION3 ; flags
db 4, 8 ; rows, columns
db 1 ; horizontal spacing
dbw 0, CurMart
@@ -902,7 +902,7 @@ Text_Mart_HowMayIHelpYou: ; 0x15f83
; 0x15f88
MenuDataHeader_BuySell: ; 0x15f88
db $40 ; flags
db MENU_BACKUP_TILES ; flags
db 00, 00 ; start coords
db 08, 07 ; end coords
dw .menudata2
@@ -910,7 +910,7 @@ MenuDataHeader_BuySell: ; 0x15f88
; 0x15f90
.menudata2 ; 0x15f90
db $80 ; strings
db STATICMENU_CURSOR ; strings
db 3 ; items
db "BUY@"
db "SELL@"