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

@@ -55,7 +55,7 @@ MonSubmenu: ; 24d19
; 24d3f
.MenuDataHeader: ; 24d3f
db $40 ; tile backup
db MENU_BACKUP_TILES ; tile backup
db 00, 06 ; start coords
db 17, 19 ; end coords
dw 0
@@ -325,7 +325,7 @@ BattleMonMenu: ; 24e99
; 24ed4
MenuDataHeader_0x24ed4: ; 24ed4
db $00 ; flags
db 0 ; flags
db 11, 11 ; start coords
db 17, 19 ; end coords
dw MenuData2_0x24edc
@@ -333,7 +333,7 @@ MenuDataHeader_0x24ed4: ; 24ed4
; 24edc
MenuData2_0x24edc: ; 24edc
db $c0 ; flags
db STATICMENU_CURSOR | STATICMENU_NO_TOP_SPACING ; flags
db 3 ; items
db "SWITCH@"
db "STATS@"