Fix for battlemusic playing after end battle
This commit is contained in:
parent
2efdad493a
commit
56527e85c0
|
@ -1218,7 +1218,10 @@ nextIndex:
|
||||||
End If
|
End If
|
||||||
p.ResetTemp()
|
p.ResetTemp()
|
||||||
Next
|
Next
|
||||||
|
|
||||||
If hasLevelUp = False Then
|
If hasLevelUp = False Then
|
||||||
|
MusicManager._afterBattleIntroSong = Nothing
|
||||||
|
MusicManager._introContinueSong = SavedOverworld.Level.MusicLoop
|
||||||
Core.SetScreen(New TransitionScreen(Me, SavedOverworld.OverworldScreen, New Color(255, 255, 254), False, AddressOf ChangeSavedScreen))
|
Core.SetScreen(New TransitionScreen(Me, SavedOverworld.OverworldScreen, New Color(255, 255, 254), False, AddressOf ChangeSavedScreen))
|
||||||
Else
|
Else
|
||||||
Dim EvolvePokeList As New List(Of Integer)
|
Dim EvolvePokeList As New List(Of Integer)
|
||||||
|
@ -1235,6 +1238,8 @@ nextIndex:
|
||||||
Next
|
Next
|
||||||
|
|
||||||
If EvolvePokeList.Count = 0 Then
|
If EvolvePokeList.Count = 0 Then
|
||||||
|
MusicManager._afterBattleIntroSong = Nothing
|
||||||
|
MusicManager._introContinueSong = SavedOverworld.Level.MusicLoop
|
||||||
Core.SetScreen(New TransitionScreen(Me, SavedOverworld.OverworldScreen, New Color(255, 255, 254), False, AddressOf ChangeSavedScreen))
|
Core.SetScreen(New TransitionScreen(Me, SavedOverworld.OverworldScreen, New Color(255, 255, 254), False, AddressOf ChangeSavedScreen))
|
||||||
Else
|
Else
|
||||||
Core.SetScreen(New TransitionScreen(Me, New EvolutionScreen(Core.CurrentScreen, EvolvePokeList, "", EvolutionCondition.EvolutionTrigger.LevelUp, True), Color.Black, False))
|
Core.SetScreen(New TransitionScreen(Me, New EvolutionScreen(Core.CurrentScreen, EvolvePokeList, "", EvolutionCondition.EvolutionTrigger.LevelUp, True), Color.Black, False))
|
||||||
|
|
Loading…
Reference in New Issue