summaryrefslogtreecommitdiff
path: root/docs/menu.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/menu.md')
-rw-r--r--docs/menu.md25
1 files changed, 11 insertions, 14 deletions
diff --git a/docs/menu.md b/docs/menu.md
index 8d4bf32a8..b8bb6fddf 100644
--- a/docs/menu.md
+++ b/docs/menu.md
@@ -17,14 +17,13 @@ This is the only menu that does scrolling. It doesn't draw any TextBox around th
Structure:
```
.MenuDataHeader:
- db $40 ; flags
- db 04, 02 ; start coords
- db 13, 17 ; end coords
+ db MENU_BACKUP_TILES ; flags
+ menu_coords 2, 4, SCREEN_WIDTH - 1, 13
dw .MenuData2
db 1 ; default option
.MenuData2:
- db $00 ; flags
+ db 0 ; flags
db 5, 0 ; rows, columns
db 1 ; horizontal spacing
dba Items
@@ -89,14 +88,14 @@ This, like is implied by the name, is a 2-dimensional menu, where you can move y
Structure:
```
.MenuDataHeader:
- db $40 ; flags
+ db MENU_BACKUP_TILES ; flags
db 12, 08 ; start coords
db 17, 19 ; end coords
dw .MenuData2
db 1 ; default option
.MenuData2:
- db $81 ; flags
+ db STATICMENU_CURSOR ; flags
dn 2, 2 ; rows, columns
db 6 ; spacing
dba Strings
@@ -126,14 +125,13 @@ These are like the regular VerticalMenu, except they allow for creating slightly
Structure:
```
.MenuDataHeader:
- db $40 ; flags
- db 00, 00 ; start coords
- db 07, 10 ; end coords
+ db MENU_BACKUP_TILES ; flags
+ menu_coords 0, 0, 10, 7
dw .MenuData2
db 1 ; default option
.MenuData2:
- db $81 ; flags
+ db STATICMENU_CURSOR | STATICMENU_DISABLE_B ; flags
db 0 ; items
dw Items
dw DisplayFunction
@@ -198,14 +196,13 @@ This is the simplest menu. Like, the most boring. Nothing special. Just normal.
Structure:
```
.MenuDataHeader:
- db %01010000 ; flags
- db 12, 12 ; start coords
- db 17, 19 ; end coords
+ db MENU_SPRITE_ANIMS | MENU_BACKUP_TILES ; flags
+ menu_coords 12, 12, SCREEN_WIDTH - 1, SCREEN_HEIGHT - 1
dw .MenuData2
db 1 ; default option
.MenuData2:
- db %10000000 ; flags
+ db STATICMENU_CURSOR ; flags
db 2 ; # items
db "GIVE@"
db "TAKE@"