1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
two_option_menu: MACRO
db \1, \2, \3
dw \4
ENDM
TwoOptionMenuStrings:
; entries correspond to *_MENU constants
table_width 5, TwoOptionMenuStrings
; 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
assert_table_length NUM_TWO_OPTION_MENUS
.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@"
|