mirror of
https://github.com/pret/pokered.git
synced 2024-10-24 07:25:21 +00:00
45 lines
837 B
NASM
45 lines
837 B
NASM
|
two_option_menu: MACRO
|
||
|
db \1, \2, \3
|
||
|
dw \4
|
||
|
ENDM
|
||
|
|
||
|
TwoOptionMenuStrings:
|
||
|
; entries correspond to *_MENU constants
|
||
|
; width, height, blank line before first menu item?, text pointer
|
||
|
two_option_menu 4, 3, FALSE, .YesNoMenu
|
||
|
two_option_menu 6, 3, FALSE, .NorthWestMenu
|
||
|
two_option_menu 6, 3, FALSE, .SouthEastMenu
|
||
|
two_option_menu 6, 3, FALSE, .YesNoMenu
|
||
|
two_option_menu 6, 3, FALSE, .NorthEastMenu
|
||
|
two_option_menu 7, 3, FALSE, .TradeCancelMenu
|
||
|
two_option_menu 7, 4, TRUE, .HealCancelMenu
|
||
|
two_option_menu 4, 3, FALSE, .NoYesMenu
|
||
|
|
||
|
.NoYesMenu:
|
||
|
db "NO"
|
||
|
next "YES@"
|
||
|
|
||
|
.YesNoMenu:
|
||
|
db "YES"
|
||
|
next "NO@"
|
||
|
|
||
|
.NorthWestMenu:
|
||
|
db "NORTH"
|
||
|
next "WEST@"
|
||
|
|
||
|
.SouthEastMenu:
|
||
|
db "SOUTH"
|
||
|
next "EAST@"
|
||
|
|
||
|
.NorthEastMenu:
|
||
|
db "NORTH"
|
||
|
next "EAST@"
|
||
|
|
||
|
.TradeCancelMenu:
|
||
|
db "TRADE"
|
||
|
next "CANCEL@"
|
||
|
|
||
|
.HealCancelMenu:
|
||
|
db "HEAL"
|
||
|
next "CANCEL@"
|