summaryrefslogtreecommitdiff
path: root/Trainer-Scripts.md
diff options
context:
space:
mode:
Diffstat (limited to 'Trainer-Scripts.md')
-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>