summaryrefslogtreecommitdiff
path: root/engine/pokemon
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 /engine/pokemon
parent6b3735340604670d5fe1bfe4a31e59ad5c7bfb02 (diff)
Create constants for ScrollingMenu item formats
...I should've done this quite a while ago.
Diffstat (limited to 'engine/pokemon')
-rw-r--r--engine/pokemon/bills_pc.asm6
-rw-r--r--engine/pokemon/mail.asm4
2 files changed, 5 insertions, 5 deletions
diff --git a/engine/pokemon/bills_pc.asm b/engine/pokemon/bills_pc.asm
index 8dcde72fc..162c94887 100644
--- a/engine/pokemon/bills_pc.asm
+++ b/engine/pokemon/bills_pc.asm
@@ -2269,9 +2269,9 @@ _ChangeBox_MenuHeader:
db 1 ; default option
.MenuData
- db MENU_UNUSED_1 | MENU_UNUSED_3 ; flags
- db 4, 0
- db 1
+ db SCROLLINGMENU_CALL_FUNCTION3_NO_SWITCH | SCROLLINGMENU_ENABLE_FUNCTION3 ; flags
+ db 4, 0 ; rows, columns
+ db SCROLLINGMENU_ITEMS_NORMAL ; item format
dba .boxes
dba .boxnames
dba NULL
diff --git a/engine/pokemon/mail.asm b/engine/pokemon/mail.asm
index 04c9a98e2..f89a51944 100644
--- a/engine/pokemon/mail.asm
+++ b/engine/pokemon/mail.asm
@@ -543,8 +543,8 @@ MailboxPC:
.TopMenuData:
db SCROLLINGMENU_DISPLAY_ARROWS ; flags
- db 4, 0 ; rows/columns?
- db 1 ; horizontal spacing?
+ db 4, 0 ; rows, columns
+ db SCROLLINGMENU_ITEMS_NORMAL ; item format
dbw 0, wMailboxCount ; text pointer
dba MailboxPC_PrintMailAuthor
dba NULL