diff options
| author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-03 12:44:47 -0400 |
|---|---|---|
| committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-03 12:44:47 -0400 |
| commit | c9c59dc34323a5e0b1886db5f845c8d41620826e (patch) | |
| tree | 0d07de202a4437e02cc8c66178b1dfec5c2a1673 /macros/data_macros.asm | |
| parent | Remove unused Yellow music (diff) | |
| download | pokeyellow-c9c59dc34323a5e0b1886db5f845c8d41620826e.tar.gz pokeyellow-c9c59dc34323a5e0b1886db5f845c8d41620826e.tar.xz pokeyellow-c9c59dc34323a5e0b1886db5f845c8d41620826e.zip | |
Reorganize constants/
To do: add comments associating constants with data and code
Diffstat (limited to 'macros/data_macros.asm')
| -rwxr-xr-x | macros/data_macros.asm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/macros/data_macros.asm b/macros/data_macros.asm index ee5cb8f0..371247d3 100755 --- a/macros/data_macros.asm +++ b/macros/data_macros.asm @@ -1,7 +1,11 @@ ; Constant enumeration is useful for monsters, items, moves, etc. const_def: MACRO +if _NARG >= 1 +const_value = \1 +else const_value = 0 +endc ENDM const: MACRO |
