diff options
| author | Rangi <sylvie.oukaour+rangi42@gmail.com> | 2025-09-26 16:55:23 -0400 |
|---|---|---|
| committer | Rangi <sylvie.oukaour+rangi42@gmail.com> | 2025-09-26 16:55:23 -0400 |
| commit | 628797baffe7ea7dd4b224116d9704c7ae1b9c29 (patch) | |
| tree | c018e77ef1f05cf777f3349f04165a1c78d2dc3d /constants/text_constants.asm | |
| parent | Clean up home/copy2.asm (#531) (diff) | |
| download | pokeyellow-628797baffe7ea7dd4b224116d9704c7ae1b9c29.tar.gz pokeyellow-628797baffe7ea7dd4b224116d9704c7ae1b9c29.tar.xz pokeyellow-628797baffe7ea7dd4b224116d9704c7ae1b9c29.zip | |
Revise some RAM buffer constants
Diffstat (limited to 'constants/text_constants.asm')
| -rw-r--r-- | constants/text_constants.asm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/constants/text_constants.asm b/constants/text_constants.asm index d4e259fe..4dbdf666 100644 --- a/constants/text_constants.asm +++ b/constants/text_constants.asm @@ -1,5 +1,5 @@ -DEF NAME_LENGTH EQU 11 -DEF ITEM_NAME_LENGTH EQU 13 +DEF NAME_LENGTH EQU 11 +DEF ITEM_NAME_LENGTH EQU 13 DEF NAME_BUFFER_LENGTH EQU 20 ; PrintNumber, PrintBCDNumber @@ -8,9 +8,9 @@ DEF NAME_BUFFER_LENGTH EQU 20 const BIT_LEFT_ALIGN ; 6 const BIT_LEADING_ZEROES ; 7 -DEF MONEY_SIGN EQU (1 << BIT_MONEY_SIGN) -DEF LEFT_ALIGN EQU (1 << BIT_LEFT_ALIGN) -DEF 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 |
