From 506a14084e32d7532b8400a6457f46492bbc47ab Mon Sep 17 00:00:00 2001 From: Rangi <35663410+Rangi42@users.noreply.github.com> Date: Tue, 13 Apr 2021 18:24:37 -0400 Subject: The 'def_trainers' macro checks that trainers' event flag bits are correct (#318) --- scripts/FightingDojo.asm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scripts/FightingDojo.asm') 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: -- cgit v1.3.1-sl0p