summaryrefslogtreecommitdiff
path: root/constants/text_constants.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2020-07-05 19:58:21 -0400
committerGitHub <noreply@github.com>2020-07-05 19:58:21 -0400
commitc57c93d2b2fb06cadafefda37c0974ba1ec9e6c0 (patch)
tree531d6b30d5a606ae963024825ed6e614843000a6 /constants/text_constants.asm
parent2718c36065e7eb201a149938bcdd51987c4e56b6 (diff)
parent5fe8aab3445cb76d8e1c4be954c0392f40798950 (diff)
Merge pull request #259 from Rangi42/master
Port pokecrystal's formatting of text commands and special characters
Diffstat (limited to 'constants/text_constants.asm')
-rw-r--r--constants/text_constants.asm15
1 files changed, 9 insertions, 6 deletions
diff --git a/constants/text_constants.asm b/constants/text_constants.asm
index a3ef2012..35b817eb 100644
--- a/constants/text_constants.asm
+++ b/constants/text_constants.asm
@@ -1,12 +1,6 @@
NAME_LENGTH EQU 11
ITEM_NAME_LENGTH EQU 13
-; special text IDs
-TEXT_MON_FAINTED EQU $d0
-TEXT_BLACKED_OUT EQU $d1
-TEXT_REPEL_WORE_OFF EQU $d2
-TEXT_SAFARI_GAME_OVER EQU $d3
-
; PrintNumber
BIT_MONEY_SIGN EQU 5
BIT_LEFT_ALIGN EQU 6
@@ -15,3 +9,12 @@ BIT_LEADING_ZEROES EQU 7
MONEY_SIGN EQU (1 << BIT_MONEY_SIGN)
LEFT_ALIGN EQU (1 << BIT_LEFT_ALIGN)
LEADING_ZEROES EQU (1 << BIT_LEADING_ZEROES)
+
+; special text IDs (see home/text_script.asm)
+ const_def $d0
+ const TEXT_MON_FAINTED ; $d0
+ const TEXT_BLACKED_OUT ; $d1
+ const TEXT_REPEL_WORE_OFF ; $d2
+ const TEXT_SAFARI_GAME_OVER ; $d3
+
+TEXT_START_MENU EQU $00