diff options
author | Rangi <35663410+Rangi42@users.noreply.github.com> | 2021-04-13 18:24:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-13 18:24:37 -0400 |
commit | 506a14084e32d7532b8400a6457f46492bbc47ab (patch) | |
tree | 60ce89cfa9dc1158c5e8a8353ef96fba810c929c /scripts/FightingDojo.asm | |
parent | 2954013da1f10e11db4ec96f9586b7c01706ae1a (diff) |
The 'def_trainers' macro checks that trainers' event flag bits are correct (#318)
Diffstat (limited to 'scripts/FightingDojo.asm')
-rw-r--r-- | scripts/FightingDojo.asm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/FightingDojo.asm b/scripts/FightingDojo.asm index e5d0a0a7..fc9f68ea 100644 --- a/scripts/FightingDojo.asm +++ b/scripts/FightingDojo.asm @@ -1,6 +1,6 @@ FightingDojo_Script: call EnableAutoTextBoxDrawing - ld hl, FightingDojoTrainerHeader0 + ld hl, FightingDojoTrainerHeaders ld de, FightingDojo_ScriptPointers ld a, [wFightingDojoCurScript] call ExecuteCurMapScriptInTable @@ -90,6 +90,8 @@ FightingDojo_TextPointers: dw FightingDojoText7 dw FightingDojoText8 +FightingDojoTrainerHeaders: + def_trainers 2 FightingDojoTrainerHeader0: trainer EVENT_BEAT_FIGHTING_DOJO_TRAINER_0, 4, FightingDojoBattleText1, FightingDojoEndBattleText1, FightingDojoAfterBattleText1 FightingDojoTrainerHeader1: |