summaryrefslogtreecommitdiff
path: root/constants
diff options
context:
space:
mode:
Diffstat (limited to 'constants')
-rw-r--r--constants/gfx_constants.asm1
-rw-r--r--constants/main_menu_constants.asm12
-rw-r--r--constants/text_constants.asm2
-rw-r--r--constants/wram_constants.asm6
4 files changed, 20 insertions, 1 deletions
diff --git a/constants/gfx_constants.asm b/constants/gfx_constants.asm
index 536f4a4..52f74e5 100644
--- a/constants/gfx_constants.asm
+++ b/constants/gfx_constants.asm
@@ -35,6 +35,7 @@ HP_YELLOW EQU 1
HP_RED EQU 2
SPRITEBUFFERSIZE EQU 7*7 * 8 ; 7 * 7 (tiles) * 8 (bytes per tile)
+DOUBLESPRITEBUFFERSIZE EQU 2*SPRITEBUFFERSIZE
; sprite_oam_struct members (see macros/wram.asm)
const_def
diff --git a/constants/main_menu_constants.asm b/constants/main_menu_constants.asm
new file mode 100644
index 0000000..033e396
--- /dev/null
+++ b/constants/main_menu_constants.asm
@@ -0,0 +1,12 @@
+ const_def
+ const M_NEW_GAME
+ const M_CONTINUE
+ const M_PLAY_GAME
+ const M_SET_TIME
+
+ const_def
+ const CONTINUE
+ const NEW_GAME
+ const OPTION
+ const PLAY_POKEMON
+ const SET_TIME \ No newline at end of file
diff --git a/constants/text_constants.asm b/constants/text_constants.asm
index f899ea3..e487d4c 100644
--- a/constants/text_constants.asm
+++ b/constants/text_constants.asm
@@ -1,6 +1,6 @@
; name lengths
NAME_LENGTH EQU 11 ; English
-PLAYER_NAME_LENGTH EQU 8 ; English
+PLAYER_NAME_LENGTH EQU 6 ; Japanese
BOX_NAME_LENGTH EQU 9 ; English
MON_NAME_LENGTH EQU 6
MOVE_NAME_LENGTH EQU 13 ; English
diff --git a/constants/wram_constants.asm b/constants/wram_constants.asm
index c530a8b..8fc2c59 100644
--- a/constants/wram_constants.asm
+++ b/constants/wram_constants.asm
@@ -21,3 +21,9 @@ PLAYER_BIKE EQU 1
PLAYER_SKATE EQU 2
PLAYER_SURF EQU 4
PLAYER_SURF_PIKA EQU 8
+
+; wDebugFlags:: ; ce63
+ const_def
+ const DEBUG_BATTLE_F
+ const DEBUG_FIELD_F
+ const CONTINUED_F