summaryrefslogtreecommitdiff
path: root/constants/text_constants.asm
diff options
context:
space:
mode:
authorluckytyphlosion <alan.rj.huang@gmail.com>2016-06-03 17:54:53 -0400
committerluckytyphlosion <alan.rj.huang@gmail.com>2016-06-03 17:54:53 -0400
commit8cdf73265f95e9a55112f373804867244512878d (patch)
tree64f4263b86839e1eb9770688ad890683fa89c503 /constants/text_constants.asm
parent5c86071351aefd9ac0d15eeb7894da4160cfc761 (diff)
parent12b2aba4c3e112628a904e7336d8b2413c56da74 (diff)
Merge pull request #10 from PikalaxALT/master
Next batch of scripts, etc.
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)