You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
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:
@@ -33,7 +33,7 @@ Function24f19: ; 24f19
|
||||
; 24f2c
|
||||
|
||||
BattleMenuDataHeader: ; 24f2c
|
||||
db $40 ; flags
|
||||
db MENU_BACKUP_TILES ; flags
|
||||
db 12, 08 ; start coords
|
||||
db 17, 19 ; end coords
|
||||
dw MenuData_0x24f34
|
||||
@@ -41,7 +41,7 @@ BattleMenuDataHeader: ; 24f2c
|
||||
; 24f34
|
||||
|
||||
MenuData_0x24f34: ; 0x24f34
|
||||
db $81 ; flags
|
||||
db STATICMENU_CURSOR | STATICMENU_DISABLE_B ; flags
|
||||
dn 2, 2 ; rows, columns
|
||||
db 6 ; spacing
|
||||
dba Strings24f3d
|
||||
@@ -56,7 +56,7 @@ Strings24f3d: ; 0x24f3d
|
||||
; 24f4e
|
||||
|
||||
MenuDataHeader_0x24f4e: ; 24f4e
|
||||
db $40 ; flags
|
||||
db MENU_BACKUP_TILES ; flags
|
||||
db 12, 00 ; start coords
|
||||
db 17, 19 ; end coords
|
||||
dw MenuData_0x24f56
|
||||
@@ -64,7 +64,7 @@ MenuDataHeader_0x24f4e: ; 24f4e
|
||||
; 24f56
|
||||
|
||||
MenuData_0x24f56: ; 24f56
|
||||
db $81 ; flags
|
||||
db STATICMENU_CURSOR | STATICMENU_DISABLE_B ; flags
|
||||
dn 2, 2 ; rows, columns
|
||||
db 11 ; spacing
|
||||
dba Strings24f5f
|
||||
@@ -87,7 +87,7 @@ Function24f7c: ; 24f7c
|
||||
; 24f89
|
||||
|
||||
MenuDataHeader_0x24f89: ; 24f89
|
||||
db $40 ; flags
|
||||
db MENU_BACKUP_TILES ; flags
|
||||
db 12, 02 ; start coords
|
||||
db 17, 19 ; end coords
|
||||
dw MenuData_0x24f91
|
||||
@@ -95,7 +95,7 @@ MenuDataHeader_0x24f89: ; 24f89
|
||||
; 24f91
|
||||
|
||||
MenuData_0x24f91: ; 24f91
|
||||
db $81 ; flags
|
||||
db STATICMENU_CURSOR | STATICMENU_DISABLE_B ; flags
|
||||
dn 2, 2 ; rows, columns
|
||||
db 12 ; spacing
|
||||
dba Strings24f9a
|
||||
|
Reference in New Issue
Block a user