You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
menu_coords macro for (x1, y1, x2, y2) order (see issue #440)
This commit is contained in:
@@ -215,24 +215,21 @@ BuySell_DisplaySubtotal: ; 250d1
|
||||
|
||||
TossItem_MenuDataHeader: ; 0x250ed
|
||||
db $40 ; flags
|
||||
db 09, 15 ; start coords
|
||||
db 11, 19 ; end coords
|
||||
menu_coords 15, 9, SCREEN_WIDTH - 1, TEXTBOX_Y - 1
|
||||
dw ret_25097
|
||||
db 0 ; default option
|
||||
; 0x250f5
|
||||
|
||||
BuyItem_MenuDataHeader: ; 0x250f5
|
||||
db $40 ; flags
|
||||
db 15, 07 ; start coords
|
||||
db 17, 19 ; end coords
|
||||
menu_coords 7, 15, SCREEN_WIDTH - 1, SCREEN_HEIGHT - 1
|
||||
dw DisplayPurchasePrice
|
||||
db -1 ; default option
|
||||
; 0x250fd
|
||||
|
||||
SellItem_MenuDataHeader: ; 0x250fd
|
||||
db $40 ; flags
|
||||
db 15, 07 ; start coords
|
||||
db 17, 19 ; end coords
|
||||
menu_coords 7, 15, SCREEN_WIDTH - 1, SCREEN_HEIGHT - 1
|
||||
dw DisplaySellingPrice
|
||||
db 0 ; default option
|
||||
; 0x25105
|
||||
|
||||
Reference in New Issue
Block a user