Made talking to defeated trainers follower-safe.
This commit is contained in:
parent
7edb7bbc23
commit
37ca4a6ceb
1 changed files with 3 additions and 0 deletions
|
@ -10,6 +10,7 @@ EventScript_TrainerApproach::
|
|||
EventScript_TryDoNormalTrainerBattle::
|
||||
lock
|
||||
faceplayer
|
||||
setflag FLAG_SAFE_FOLLOWER_MOVEMENT
|
||||
applymovement VAR_LAST_TALKED, Movement_RevealTrainer
|
||||
waitmovement 0
|
||||
specialvar VAR_RESULT, GetTrainerFlag
|
||||
|
@ -44,6 +45,7 @@ EventScript_NoDoubleTrainerBattle::
|
|||
gotopostbattlescript
|
||||
|
||||
EventScript_DoNoIntroTrainerBattle::
|
||||
setflag FLAG_SAFE_FOLLOWER_MOVEMENT
|
||||
applymovement VAR_LAST_TALKED, Movement_RevealTrainer
|
||||
waitmovement 0
|
||||
special PlayTrainerEncounterMusic
|
||||
|
@ -93,6 +95,7 @@ EventScript_NotEnoughMonsForDoubleRematchBattle::
|
|||
end
|
||||
|
||||
EventScript_RevealTrainer::
|
||||
setflag FLAG_SAFE_FOLLOWER_MOVEMENT
|
||||
applymovement VAR_LAST_TALKED, Movement_RevealTrainer
|
||||
waitmovement 0
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue