summaryrefslogtreecommitdiff
path: root/constants/text_constants.asm
diff options
context:
space:
mode:
authorpikalaxalt <PikalaxALT@gmail.com>2016-06-01 09:44:32 -0400
committerpikalaxalt <PikalaxALT@gmail.com>2016-06-01 09:44:32 -0400
commit4b91cc770e8fc83353f962a4a6f9ebef6eb952c8 (patch)
tree817ba66931e06ebc5ba45103e5055a574d327a2f /constants/text_constants.asm
parentbd7620b8519bab0a2b827a4244a696207a111990 (diff)
Text macros; Prize Room
Diffstat (limited to 'constants/text_constants.asm')
-rwxr-xr-xconstants/text_constants.asm15
1 files changed, 15 insertions, 0 deletions
diff --git a/constants/text_constants.asm b/constants/text_constants.asm
new file mode 100755
index 00000000..4479e90e
--- /dev/null
+++ b/constants/text_constants.asm
@@ -0,0 +1,15 @@
+; 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
+TEXT_PIKACHU_ANIM EQU $d4
+
+; 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)