summaryrefslogtreecommitdiff
path: root/constants/text_constants.asm
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-06-12 11:51:59 -0700
committerGitHub <noreply@github.com>2016-06-12 11:51:59 -0700
commitbfaabd08be0a790dff961276d76af3e1af4e6e24 (patch)
tree60742e693805fd75031079e8d3b8a87847452d1e /constants/text_constants.asm
parent2b2c6fefd311101c87845c8c498746dc74bd725f (diff)
parent3ab3f4273b1288883a43b64cae4191dfa6d2313e (diff)
Merge pull request #135 from YamaArashi/master
sync tileset WRAM labels
Diffstat (limited to 'constants/text_constants.asm')
-rw-r--r--constants/text_constants.asm14
1 files changed, 14 insertions, 0 deletions
diff --git a/constants/text_constants.asm b/constants/text_constants.asm
new file mode 100644
index 00000000..3cddce26
--- /dev/null
+++ b/constants/text_constants.asm
@@ -0,0 +1,14 @@
+; 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
+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)