From 2ab60fa8a49dfe9e20ebb620471ba4c2ca64a4aa Mon Sep 17 00:00:00 2001 From: Remy Oukaour Date: Sat, 13 Jan 2018 16:38:14 -0500 Subject: menu_coords macro for (x1, y1, x2, y2) order (see issue #440) --- mobile/mobile_5f.asm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'mobile/mobile_5f.asm') diff --git a/mobile/mobile_5f.asm b/mobile/mobile_5f.asm index 5731f01fc..f03b7416a 100644 --- a/mobile/mobile_5f.asm +++ b/mobile/mobile_5f.asm @@ -484,8 +484,7 @@ Function17d246: ; 17d246 MenuDataHeader_17d26a: ; 17d26a db $40 ; flags - db 0, 0 ; start coords - db 9, 14 ; end coords + menu_coords 0, 0, 14, 9 dw MenuData2_17d272 db 1 ; default option @@ -500,8 +499,7 @@ MenuData2_17d272: ; 17d272 MenuDataHeader_ChallengeExplanationCancel: ; 17d28f db $40 ; flags - db 0, 0 ; start coords - db 7, 14 ; end coords + menu_coords 0, 0, 14, 7 dw MenuData2_ChallengeExplanationCancel db 1 ; default option -- cgit v1.2.3