From c048b24d255f5f5ac71f5e9d2f4d4864a06edeaf Mon Sep 17 00:00:00 2001 From: mid-kid Date: Sun, 9 Jun 2019 02:31:24 +0200 Subject: Create constants for ScrollingMenu item formats ...I should've done this quite a while ago. --- engine/pokemon/bills_pc.asm | 6 +++--- engine/pokemon/mail.asm | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'engine/pokemon') 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 -- cgit v1.2.3