aboutsummaryrefslogtreecommitdiffstats
path: root/constants
diff options
context:
space:
mode:
authorDaniel Harding <corrnondacqb@yahoo.com>2015-08-05 09:30:49 -0500
committerDaniel Harding <corrnondacqb@yahoo.com>2015-08-05 09:30:49 -0500
commit1b0404d0dc1962ae9ad8e25ac4aa598e1b7e62ae (patch)
treec6ee60528141a29834d90269b379558db5bd4849 /constants
parentfix tmlearn (diff)
parentconstants for PrintNumber (diff)
downloadpokeyellow-1b0404d0dc1962ae9ad8e25ac4aa598e1b7e62ae.tar.gz
pokeyellow-1b0404d0dc1962ae9ad8e25ac4aa598e1b7e62ae.tar.xz
pokeyellow-1b0404d0dc1962ae9ad8e25ac4aa598e1b7e62ae.zip
Merge pull request #111 from YamaArashi/master
constants for PrintNumber
Diffstat (limited to 'constants')
-rw-r--r--constants/misc_constants.asm8
1 files changed, 8 insertions, 0 deletions
diff --git a/constants/misc_constants.asm b/constants/misc_constants.asm
index b5d889d4..ef9e6ba3 100644
--- a/constants/misc_constants.asm
+++ b/constants/misc_constants.asm
@@ -149,6 +149,14 @@ TEXT_BLACKED_OUT EQU $d1
TEXT_REPEL_WORE_OFF EQU $d2
TEXT_SAFARI_GAME_OVER EQU $d3
+; PrintNumber
+
+BIT_LEFT_ALIGN EQU 6
+BIT_LEADING_ZEROES EQU 7
+
+LEFT_ALIGN EQU (1 << BIT_LEFT_ALIGN)
+LEADING_ZEROES EQU (1 << BIT_LEADING_ZEROES)
+
; serial
ESTABLISH_CONNECTION_WITH_INTERNAL_CLOCK EQU $01