summaryrefslogtreecommitdiff
path: root/engine/menu/main_menu.asm
diff options
context:
space:
mode:
authorpfero <ohpee@loves.dicksinhisan.us>2018-05-30 22:53:12 +0200
committerpfero <ohpee@loves.dicksinhisan.us>2018-05-30 22:53:59 +0200
commitcd9191b074ad1f0cc76375f535a2e487b0451532 (patch)
treee11e3f8d679217ac4ecd747de6c06edad4cc6e86 /engine/menu/main_menu.asm
parent9ab9ea4ab59cc3c226a7fe15b4fcc92b4af57243 (diff)
Clean up Makefile
This makefile can now figure graphics dependencies on its own, creates dependency files for each compilation unit and compiles everything separately. This is a proposal. Please try it out, read the Makefile to see if you get what I'm trying to do, and propose any improvements you want.
Diffstat (limited to 'engine/menu/main_menu.asm')
-rw-r--r--engine/menu/main_menu.asm25
1 files changed, 25 insertions, 0 deletions
diff --git a/engine/menu/main_menu.asm b/engine/menu/main_menu.asm
new file mode 100644
index 0000000..5701eba
--- /dev/null
+++ b/engine/menu/main_menu.asm
@@ -0,0 +1,25 @@
+INCLUDE "constants.asm"
+
+SECTION "Main Menu Definition", ROMX[$5418], BANK[$01]
+
+MainMenuHeader:
+ db $40
+ db 0, 0, 7, 13
+ dw .data
+ db 1 ; default option
+
+.data
+ db $80
+ db 0 ; number of options
+
+ dw $5461
+ db $8a, $1f
+ dw MainMenuStrings
+
+MainMenuStrings: ; 01:5428
+ db "つづきから はじめる@"
+ db "さいしょから はじめる@"
+ db "せっていを かえる@"
+ db "#を あそぶ@"
+ db "じかんセット@"
+; 01:5457