summaryrefslogtreecommitdiff
path: root/mobile
diff options
context:
space:
mode:
authormid-kid <esteve.varela@gmail.com>2019-06-09 02:31:24 +0200
committermid-kid <esteve.varela@gmail.com>2019-06-09 02:31:24 +0200
commitc048b24d255f5f5ac71f5e9d2f4d4864a06edeaf (patch)
tree5078ac0d0b7c74c82bf1b18d7e33c92882e6f572 /mobile
parent6b3735340604670d5fe1bfe4a31e59ad5c7bfb02 (diff)
Create constants for ScrollingMenu item formats
...I should've done this quite a while ago.
Diffstat (limited to 'mobile')
-rw-r--r--mobile/mobile_12.asm2
-rw-r--r--mobile/mobile_22_2.asm4
2 files changed, 3 insertions, 3 deletions
diff --git a/mobile/mobile_12.asm b/mobile/mobile_12.asm
index 838e82f41..f3453328b 100644
--- a/mobile/mobile_12.asm
+++ b/mobile/mobile_12.asm
@@ -585,7 +585,7 @@ MenuHeader_0x48513:
MenuData_0x4851b:
db SCROLLINGMENU_DISPLAY_ARROWS | SCROLLINGMENU_ENABLE_RIGHT | SCROLLINGMENU_ENABLE_LEFT | SCROLLINGMENU_CALL_FUNCTION1_CANCEL ; flags
db 6, 0 ; rows, columns
- db 1 ; horizontal spacing
+ db SCROLLINGMENU_ITEMS_NORMAL ; item format
dba .Items
dba Function483e8
dba NULL
diff --git a/mobile/mobile_22_2.asm b/mobile/mobile_22_2.asm
index c86b0711b..0e5b56099 100644
--- a/mobile/mobile_22_2.asm
+++ b/mobile/mobile_22_2.asm
@@ -883,8 +883,8 @@ MenuHeader_0x8b867:
MenuData_0x8b870:
db SCROLLINGMENU_ENABLE_FUNCTION3 | SCROLLINGMENU_DISPLAY_ARROWS | SCROLLINGMENU_ENABLE_RIGHT | SCROLLINGMENU_ENABLE_LEFT ; flags
- db 5 ; items
- db 3, 1
+ db 5, 3 ; rows, columns
+ db SCROLLINGMENU_ITEMS_NORMAL ; item format
dbw 0, wd002
dba Function8b880
dba Function8b88c