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/MtMoon1F.asm | |
parent | 2954013da1f10e11db4ec96f9586b7c01706ae1a (diff) |
The 'def_trainers' macro checks that trainers' event flag bits are correct (#318)
Diffstat (limited to 'scripts/MtMoon1F.asm')
-rw-r--r-- | scripts/MtMoon1F.asm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/MtMoon1F.asm b/scripts/MtMoon1F.asm index 68dacf29..d0477d2c 100644 --- a/scripts/MtMoon1F.asm +++ b/scripts/MtMoon1F.asm @@ -1,6 +1,6 @@ MtMoon1F_Script: call EnableAutoTextBoxDrawing - ld hl, MtMoon1TrainerHeader0 + ld hl, MtMoon1TrainerHeaders ld de, MtMoon1F_ScriptPointers ld a, [wMtMoon1FCurScript] call ExecuteCurMapScriptInTable @@ -28,6 +28,8 @@ MtMoon1F_TextPointers: dw PickUpItemText dw MtMoon1Text14 +MtMoon1TrainerHeaders: + def_trainers MtMoon1TrainerHeader0: trainer EVENT_BEAT_MT_MOON_1_TRAINER_0, 2, MtMoon1BattleText2, MtMoon1EndBattleText2, MtMoon1AfterBattleText2 MtMoon1TrainerHeader1: |