summaryrefslogtreecommitdiff
path: root/data/scripts/trainer_battle.inc
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-01-14 21:27:45 -0500
committerGriffinR <griffin.g.richards@gmail.com>2020-01-15 16:00:45 -0500
commit04d176334ad590d3462e3c1eb75c1313705ae183 (patch)
tree865ca807901bf57e63523b19f2d535c7ef391f89 /data/scripts/trainer_battle.inc
parent2f81b4a204d051aeb88580dc63381011ec49fcbb (diff)
Document some Quest Log
Diffstat (limited to 'data/scripts/trainer_battle.inc')
-rw-r--r--data/scripts/trainer_battle.inc16
1 files changed, 4 insertions, 12 deletions
diff --git a/data/scripts/trainer_battle.inc b/data/scripts/trainer_battle.inc
index f16e30ada..ccb279300 100644
--- a/data/scripts/trainer_battle.inc
+++ b/data/scripts/trainer_battle.inc
@@ -48,9 +48,7 @@ EventScript_DoTrainerBattle:: @ 81A4F21
applymovement VAR_LAST_TALKED, Movement_1A4FC5
waitmovement 0
special PlayTrainerEncounterMusic
- special sub_8110AB4
- compare VAR_RESULT, 2
- goto_if_eq EventScript_1A501A
+ goto_if_questlog EventScript_1A501A
battlebegin
ontrainerbattleend
@@ -64,9 +62,7 @@ EventScript_TryDoRematchBattle:: @ 81A4F3E
special ScrSpecial_ShowTrainerIntroSpeech
waitmessage
waitbuttonpress
- special sub_8110AB4
- compare VAR_RESULT, 2
- goto_if_eq EventScript_1A4FB8
+ goto_if_questlog EventScript_1A4FB8
special ScrSpecial_StartTrainerEyeRematch
waitstate
releaseall
@@ -87,9 +83,7 @@ EventScript_TryDoDoubleRematchBattle:: @ 81A4F73
special ScrSpecial_ShowTrainerIntroSpeech
waitmessage
waitbuttonpress
- special sub_8110AB4
- compare VAR_RESULT, 2
- goto_if_eq EventScript_1A4FB8
+ goto_if_questlog EventScript_1A4FB8
special ScrSpecial_StartTrainerEyeRematch
waitstate
releaseall
@@ -122,9 +116,7 @@ EventScript_1A4FC7:: @ 81A4FC7
special ScrSpecial_ShowTrainerIntroSpeech
waitmessage
waitbuttonpress
- special sub_8110AB4
- compare VAR_RESULT, 2
- goto_if_eq EventScript_1A501A
+ goto_if_questlog EventScript_1A501A
battlebegin
specialvar VAR_RESULT, ScrSpecial_GetTrainerBattleMode
compare VAR_RESULT, 0