aboutsummaryrefslogtreecommitdiffstats
path: root/constants/text_constants.asm
diff options
context:
space:
mode:
authorvulcandth <vulcandth@gmail.com>2022-06-06 16:25:34 -0500
committerGitHub <noreply@github.com>2022-06-06 17:25:34 -0400
commitc1ef7b75972fa4fbdf125bc85cc1a66f358151cd (patch)
treebcf71939ec5573ed5001c4a4b4342d26e5d8f9b1 /constants/text_constants.asm
parentImproved Virtual Console patch identifiers (#85) (diff)
downloadpokeyellow-c1ef7b75972fa4fbdf125bc85cc1a66f358151cd.tar.gz
pokeyellow-c1ef7b75972fa4fbdf125bc85cc1a66f358151cd.tar.xz
pokeyellow-c1ef7b75972fa4fbdf125bc85cc1a66f358151cd.zip
RGBDS syntax updates (#86)
New MACRO and DEF syntax
Diffstat (limited to 'constants/text_constants.asm')
-rw-r--r--constants/text_constants.asm14
1 files changed, 7 insertions, 7 deletions
diff --git a/constants/text_constants.asm b/constants/text_constants.asm
index f8ecfd52..ee898803 100644
--- a/constants/text_constants.asm
+++ b/constants/text_constants.asm
@@ -1,6 +1,6 @@
-NAME_LENGTH EQU 11
-ITEM_NAME_LENGTH EQU 13
-NAME_BUFFER_LENGTH EQU 20
+DEF NAME_LENGTH EQU 11
+DEF ITEM_NAME_LENGTH EQU 13
+DEF NAME_BUFFER_LENGTH EQU 20
; PrintNumber
const_def 5
@@ -8,9 +8,9 @@ NAME_BUFFER_LENGTH EQU 20
const BIT_LEFT_ALIGN ; 6
const BIT_LEADING_ZEROES ; 7
-MONEY_SIGN EQU (1 << BIT_MONEY_SIGN)
-LEFT_ALIGN EQU (1 << BIT_LEFT_ALIGN)
-LEADING_ZEROES EQU (1 << BIT_LEADING_ZEROES)
+DEF MONEY_SIGN EQU (1 << BIT_MONEY_SIGN)
+DEF LEFT_ALIGN EQU (1 << BIT_LEFT_ALIGN)
+DEF LEADING_ZEROES EQU (1 << BIT_LEADING_ZEROES)
; special text IDs (see home/text_script.asm)
const_def $d0
@@ -20,4 +20,4 @@ LEADING_ZEROES EQU (1 << BIT_LEADING_ZEROES)
const TEXT_SAFARI_GAME_OVER ; $d3
const TEXT_PIKACHU_ANIM ; $d4
-TEXT_START_MENU EQU $00
+DEF TEXT_START_MENU EQU $00