diff options
| author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-09 14:51:48 -0400 |
|---|---|---|
| committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-09 14:51:48 -0400 |
| commit | 3e572b6f48b81e5340980c13b1b37b2907942713 (patch) | |
| tree | c994a1ca8f587d674e680ec808e7fcbaab4d053d /constants/text_constants.asm | |
| parent | Eliminate enum: use const instead, with case-by-case parallel const implement... (diff) | |
| download | pokeyellow-3e572b6f48b81e5340980c13b1b37b2907942713.tar.gz pokeyellow-3e572b6f48b81e5340980c13b1b37b2907942713.tar.xz pokeyellow-3e572b6f48b81e5340980c13b1b37b2907942713.zip | |
Use const_skip and const_next macros for brevity
Diffstat (limited to 'constants/text_constants.asm')
| -rw-r--r-- | constants/text_constants.asm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/constants/text_constants.asm b/constants/text_constants.asm index 35b817eb..aa8374e5 100644 --- a/constants/text_constants.asm +++ b/constants/text_constants.asm @@ -2,9 +2,10 @@ NAME_LENGTH EQU 11 ITEM_NAME_LENGTH EQU 13 ; PrintNumber -BIT_MONEY_SIGN EQU 5 -BIT_LEFT_ALIGN EQU 6 -BIT_LEADING_ZEROES EQU 7 + const_def 5 + const BIT_MONEY_SIGN ; 5 + const BIT_LEFT_ALIGN ; 6 + const BIT_LEADING_ZEROES ; 7 MONEY_SIGN EQU (1 << BIT_MONEY_SIGN) LEFT_ALIGN EQU (1 << BIT_LEFT_ALIGN) |
