diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-14 15:45:36 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-14 15:53:25 -0400 |
commit | 5c0f33cb5350d3e11bd75cc04d943549667ecd4c (patch) | |
tree | 2d5927ab83072b0673793269eacd14e6b5fd5ad2 /scripts/PewterGym.asm | |
parent | be326c65652d5e87e353172a4471458822ffd3da (diff) |
Use a 'trainer' macro for trainers in scripts/
Diffstat (limited to 'scripts/PewterGym.asm')
-rwxr-xr-x | scripts/PewterGym.asm | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/scripts/PewterGym.asm b/scripts/PewterGym.asm index e559db04..fd9e9063 100755 --- a/scripts/PewterGym.asm +++ b/scripts/PewterGym.asm @@ -88,15 +88,8 @@ PewterGym_TextPointers: dw PewterGymText6 PewterGymTrainerHeader0: - dbEventFlagBit EVENT_BEAT_PEWTER_GYM_TRAINER_0 - db ($5 << 4) ; trainer's view range - dwEventFlagAddress EVENT_BEAT_PEWTER_GYM_TRAINER_0 - dw PewterGymBattleText1 ; TextBeforeBattle - dw PewterGymAfterBattleText1 ; TextAfterBattle - dw PewterGymEndBattleText1 ; TextEndBattle - dw PewterGymEndBattleText1 ; TextEndBattle - - db $ff + trainer EVENT_BEAT_PEWTER_GYM_TRAINER_0, 5, PewterGymBattleText1, PewterGymEndBattleText1, PewterGymAfterBattleText1 + db -1 ; end PewterGymText1: text_asm |