diff options
author | Remy Oukaour <remy.oukaour@gmail.com> | 2018-01-13 16:38:14 -0500 |
---|---|---|
committer | Remy Oukaour <remy.oukaour@gmail.com> | 2018-01-13 16:38:14 -0500 |
commit | 2ab60fa8a49dfe9e20ebb620471ba4c2ca64a4aa (patch) | |
tree | e5a1991206d3bb76c259cc14061993e83651d4bf /engine/mon_menu.asm | |
parent | 0197e6f23c0db6baf11aa1e610521f78b6352605 (diff) |
menu_coords macro for (x1, y1, x2, y2) order (see issue #440)
Diffstat (limited to 'engine/mon_menu.asm')
-rwxr-xr-x | engine/mon_menu.asm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/engine/mon_menu.asm b/engine/mon_menu.asm index e3570ab70..7dc2a2393 100755 --- a/engine/mon_menu.asm +++ b/engine/mon_menu.asm @@ -56,8 +56,7 @@ MonSubmenu: ; 24d19 .MenuDataHeader: ; 24d3f db $40 ; tile backup - db 00, 06 ; start coords - db 17, 19 ; end coords + menu_coords 6, 0, SCREEN_WIDTH - 1, SCREEN_HEIGHT - 1 dw 0 db 1 ; default option ; 24d47 @@ -326,8 +325,7 @@ BattleMonMenu: ; 24e99 MenuDataHeader_0x24ed4: ; 24ed4 db $00 ; flags - db 11, 11 ; start coords - db 17, 19 ; end coords + menu_coords 11, 11, SCREEN_WIDTH - 1, SCREEN_HEIGHT - 1 dw MenuData2_0x24edc db 1 ; default option ; 24edc |