mirror of
https://github.com/pret/pokeemerald.git
synced 2026-09-27 20:37:18 -05:00
Fixed bug with follower update after the party was healed. Credit: Jaizu
This commit is contained in:
@@ -33,13 +33,14 @@ EventScript_PkmnCenterNurse_IllTakeYourPkmn2::
|
||||
return
|
||||
|
||||
EventScript_PkmnCenterNurse_TakeAndHealPkmn::
|
||||
applymovement VAR_0x800B, Common_Movement_WalkInPlaceFasterLeft
|
||||
applymovement VAR_0x800B, Common_Movement_WalkInPlaceFasterLeft @ TODO: Make follower disappear here
|
||||
waitmovement 0
|
||||
dofieldeffect FLDEFF_POKECENTER_HEAL
|
||||
waitfieldeffect FLDEFF_POKECENTER_HEAL
|
||||
applymovement VAR_0x800B, Common_Movement_WalkInPlaceFasterDown
|
||||
waitmovement 0
|
||||
special HealPlayerParty
|
||||
callnative UpdateFollowingPokemon
|
||||
return
|
||||
|
||||
EventScript_PkmnCenterNurse_CheckTrainerHillAndUnionRoom::
|
||||
|
||||
@@ -646,6 +646,7 @@ SecretBase_EventScript_BattleTrainer::
|
||||
call_if_eq VAR_RESULT, B_OUTCOME_WON, SecretBase_EventScript_WonSecretBaseBattle
|
||||
call_if_eq VAR_RESULT, B_OUTCOME_LOST, SecretBase_EventScript_LostSecretBaseBattle
|
||||
special HealPlayerParty
|
||||
callnative UpdateFollowingPokemon
|
||||
release
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user