diff options
| author | yenatch <yenatch@gmail.com> | 2014-09-17 12:35:51 -0700 |
|---|---|---|
| committer | yenatch <yenatch@gmail.com> | 2014-09-17 12:36:49 -0700 |
| commit | 29aff84107a6463a94f0d7d81de8a1603e0d741f (patch) | |
| tree | dd6007400d90dcb71c7312f4d800cda6fa82b08d /macros.asm | |
| parent | Use a macro for move attributes. (diff) | |
| download | pokeyellow-29aff84107a6463a94f0d7d81de8a1603e0d741f.tar.gz pokeyellow-29aff84107a6463a94f0d7d81de8a1603e0d741f.tar.xz pokeyellow-29aff84107a6463a94f0d7d81de8a1603e0d741f.zip | |
Enumerate move constants and add unnamed animation constants.
Diffstat (limited to 'macros.asm')
| -rw-r--r-- | macros.asm | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -14,6 +14,17 @@ dex EQUS "db $5f, $50" ; End a Pokedex entry. percent EQUS "* $ff / 100" +; Constant enumeration is useful for monsters, items, moves, etc. +const_def: MACRO +const_value = 0 +ENDM + +const: MACRO +\1 EQU const_value +const_value = const_value + 1 +ENDM + + homecall: MACRO ld a, [H_LOADEDROMBANK] push af |
