summaryrefslogtreecommitdiff
path: root/macros/trainer.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2015-07-21 02:04:38 -0400
committeryenatch <yenatch@gmail.com>2015-07-21 02:04:38 -0400
commit0b5471f385d3cc66bb4ae7aa4191ce3af9f50cac (patch)
tree61cb1021673d8a9b7b1cdddc64d90053a8476e8b /macros/trainer.asm
parent006fc875971c92f2249f47b5fd120c5df76c6883 (diff)
parentd5ddd9e54ec2422d6f1cd7c561c1750512d0a81d (diff)
Merge pull request #302 from PikalaxALT/more_enum
More enum
Diffstat (limited to 'macros/trainer.asm')
-rw-r--r--macros/trainer.asm11
1 files changed, 11 insertions, 0 deletions
diff --git a/macros/trainer.asm b/macros/trainer.asm
new file mode 100644
index 000000000..b7c8ad803
--- /dev/null
+++ b/macros/trainer.asm
@@ -0,0 +1,11 @@
+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