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/VictoryRoad1F.asm | |
| parent | Trim extra newlines from some files (diff) | |
| download | pokeyellow-506a14084e32d7532b8400a6457f46492bbc47ab.tar.gz pokeyellow-506a14084e32d7532b8400a6457f46492bbc47ab.tar.xz pokeyellow-506a14084e32d7532b8400a6457f46492bbc47ab.zip | |
The 'def_trainers' macro checks that trainers' event flag bits are correct (#318)
Diffstat (limited to 'scripts/VictoryRoad1F.asm')
| -rw-r--r-- | scripts/VictoryRoad1F.asm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/VictoryRoad1F.asm b/scripts/VictoryRoad1F.asm index b70f0dd4..e07e549e 100644 --- a/scripts/VictoryRoad1F.asm +++ b/scripts/VictoryRoad1F.asm @@ -4,7 +4,7 @@ VictoryRoad1F_Script: res 5, [hl] call nz, .next call EnableAutoTextBoxDrawing - ld hl, VictoryRoad1TrainerHeader0 + ld hl, VictoryRoad1TrainerHeaders ld de, VictoryRoad1F_ScriptPointers ld a, [wVictoryRoad1FCurScript] call ExecuteCurMapScriptInTable @@ -47,6 +47,8 @@ VictoryRoad1F_TextPointers: dw BoulderText dw BoulderText +VictoryRoad1TrainerHeaders: + def_trainers VictoryRoad1TrainerHeader0: trainer EVENT_BEAT_VICTORY_ROAD_1_TRAINER_0, 2, VictoryRoad1BattleText1, VictoryRoad1EndBattleText1, VictoryRoad1AfterBattleText1 VictoryRoad1TrainerHeader1: |
