diff options
| author | Rangi <35663410+Rangi42@users.noreply.github.com> | 2020-07-11 15:47:19 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-11 15:47:19 -0400 |
| commit | aa97e196dd5b37e89db5ddf154dc7aea9b02a045 (patch) | |
| tree | c994a1ca8f587d674e680ec808e7fcbaab4d053d /constants/trainer_constants.asm | |
| parent | Merge pull request #268 from Rangi42/master (diff) | |
| parent | Use const_skip and const_next macros for brevity (diff) | |
| download | pokeyellow-aa97e196dd5b37e89db5ddf154dc7aea9b02a045.tar.gz pokeyellow-aa97e196dd5b37e89db5ddf154dc7aea9b02a045.tar.xz pokeyellow-aa97e196dd5b37e89db5ddf154dc7aea9b02a045.zip | |
Merge pull request #269 from Rangi42/master
Remove enum; add const_skip and const_next
Diffstat (limited to 'constants/trainer_constants.asm')
| -rwxr-xr-x | constants/trainer_constants.asm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/constants/trainer_constants.asm b/constants/trainer_constants.asm index 6e4c2f18..878fac26 100755 --- a/constants/trainer_constants.asm +++ b/constants/trainer_constants.asm @@ -1,9 +1,8 @@ OPP_ID_OFFSET EQU 200 trainer_const: MACRO -\1 EQU const_value -OPP_\1 EQU const_value + OPP_ID_OFFSET -const_value = const_value + 1 + const \1 +OPP_\1 EQU OPP_ID_OFFSET + \1 ENDM const_def |
