summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorghoulslash <41651341+ghoulslash@users.noreply.github.com>2020-07-03 14:07:38 -0600
committerghoulslash <41651341+ghoulslash@users.noreply.github.com>2020-07-03 14:07:38 -0600
commit5ad69bdd7205abf57de18162e636f1696ea0abe2 (patch)
tree36197b492db3fc25707d2bc1faaba787af60b5c5
parent580aebd44e7627c9986ac763278d9438e6103233 (diff)
Updated Trainer Scripts (markdown)
-rw-r--r--Trainer-Scripts.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/Trainer-Scripts.md b/Trainer-Scripts.md
index 6fa38b0..8f017f1 100644
--- a/Trainer-Scripts.md
+++ b/Trainer-Scripts.md
@@ -198,6 +198,8 @@ bool8 LoadTrainerObjectScript(void)
Also, add `#include "trainer_see.h"` to the top of the file for this function to recognize `gApproachingTrainers`
+Finally, add `#include/event_scripts.h` at the top of [src/trainer_see.c](../blob/master/src/trainer_see.c)
+
### How to Set Up:
Rather than make a new object event template field, we can use the fact that `.trainerType` is conveniently 16 bits. Set up your object event the following way:
<a href="https://imgur.com/oYsv8ZB"><img src="https://i.imgur.com/oYsv8ZB.png" title="source: imgur.com" /></a>