Files
pokegold-spaceworld/engine/menu/main_menu.asm
T
Rangi 20ac549a91 Copy pokecrystal's conventions for this data, including:
- Tabs for indentation, spaces for alignment
- Consistent comments and formatting for menu header data (incomplete here, until the related code is disassembled)
- The second two menus do not "take priority"; they're all just a count + that many items + ending -1
2018-06-03 10:55:41 -04:00

65 lines
886 B
NASM

INCLUDE "constants.asm"
SECTION "Main Menu Definition", ROMX[$5418], BANK[$01]
MainMenuHeader:
db $40
menu_coords 0, 0, 13, 7
dw .MenuData
db 1 ; default option
.MenuData: ; 01:5420
db $80
db 0 ; items
dw MainMenuItems
db $8a, $1f
dw .Strings
.Strings: ; 01:5428
db "つづきから はじめる@"
db "さいしょから はじめる@"
db "せっていを かえる@"
db "#を あそぶ@"
db "じかんセット@"
MainMenuJumptable: ; 01:5457
dw $547c
dw $555c
dw $5cf3
dw $555c
dw $5473
CONTINUE EQU 0
NEW_GAME EQU 1
OPTION EQU 2
PLAY_POKEMON EQU 3
SET_TIME EQU 4
MainMenuItems:
NewGameMenu:
db 2
db NEW_GAME
db OPTION
db -1
ContinueMenu:
db 3
db CONTINUE
db NEW_GAME
db OPTION
db -1
PlayPokemonMenu:
db 2
db PLAY_POKEMON
db OPTION
db -1
PlayPokemonSetTimeMenu:
db 3
db PLAY_POKEMON
db OPTION
db SET_TIME
db -1