diff options
author | PikalaxALT <PikalaxALT@gmail.com> | 2015-07-18 23:45:39 -0400 |
---|---|---|
committer | PikalaxALT <PikalaxALT@gmail.com> | 2015-07-18 23:45:39 -0400 |
commit | 60cd04b02300c288a01a2f78a44cb39cbe6861d1 (patch) | |
tree | ef5bb2bd660a2020864c909fb5dda73f027a9e7c /macros/trainer.asm | |
parent | e674869018ffe8f9be2351b2b569eb7300910e6a (diff) |
Trainer data structure and field move functions
Trainer data in map scripts is now a macro-defined structure.
Field move functions in main.asm are now nearly completely annotated, with local references.
Trailing white space deleted.
Diffstat (limited to 'macros/trainer.asm')
-rw-r--r-- | macros/trainer.asm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/macros/trainer.asm b/macros/trainer.asm index 610de1c13..b7c8ad803 100644 --- a/macros/trainer.asm +++ b/macros/trainer.asm @@ -2,3 +2,10 @@ trainerclass: MACRO enum \1
const_value = 1
ENDM
+
+trainer: MACRO
+ ; flag, group, id, seen text, win text, lost text, talk-again text
+ dw \1
+ db \2, \3
+ dw \4, \5, \6, \7
+ENDM
|