summaryrefslogtreecommitdiff
path: root/constants/misc_constants.asm
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-06-12 10:11:31 -0700
committerYamaArashi <shadow962@live.com>2016-06-12 10:11:31 -0700
commit3a6a300da48c98ab844ddc4d209abf51adf2aa44 (patch)
treed6c97893cf16c963799f789f8248531653aa537a /constants/misc_constants.asm
parentbcb251261dae3cd9ba423fc139c7db4433a1a802 (diff)
sync text
Diffstat (limited to 'constants/misc_constants.asm')
-rw-r--r--constants/misc_constants.asm24
1 files changed, 10 insertions, 14 deletions
diff --git a/constants/misc_constants.asm b/constants/misc_constants.asm
index de777c5d..cc10de70 100644
--- a/constants/misc_constants.asm
+++ b/constants/misc_constants.asm
@@ -29,6 +29,16 @@ D_LEFT EQU %00100000
D_UP EQU %01000000
D_DOWN EQU %10000000
+const_value set 0
+ const BIT_A_BUTTON
+ const BIT_B_BUTTON
+ const BIT_SELECT
+ const BIT_START
+ const BIT_D_RIGHT
+ const BIT_D_LEFT
+ const BIT_D_UP
+ const BIT_D_DOWN
+
SCREEN_WIDTH EQU 20
SCREEN_HEIGHT EQU 18
@@ -152,20 +162,6 @@ FLAG_RESET EQU 0
FLAG_SET EQU 1
FLAG_TEST EQU 2
-; 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_LEFT_ALIGN EQU 6
-BIT_LEADING_ZEROES EQU 7
-
-LEFT_ALIGN EQU (1 << BIT_LEFT_ALIGN)
-LEADING_ZEROES EQU (1 << BIT_LEADING_ZEROES)
-
; HP bar
HP_BAR_GREEN EQU 0
HP_BAR_YELLOW EQU 1