Attempt to fix Stance Change

added CalculateStats() instances
This commit is contained in:
Capt_Segis 2016-09-19 13:12:51 -05:00 committed by GitHub
parent 576a3a7c5d
commit 47fa384936
1 changed files with 2 additions and 0 deletions

View File

@ -841,6 +841,7 @@
If moveUsed.IsDamagingMove = True Then
p.AdditionalData = "blade"
p.ReloadDefinitions()
p.CalculateStats()
Me.ChangeCameraAngel(1, own, BattleScreen)
BattleScreen.BattleQuery.Add(New ToggleEntityQueryObject(own, ToggleEntityQueryObject.BattleEntities.OwnPokemon, PokemonForms.GetOverworldSpriteName(p), 0, 1, -1, -1))
BattleScreen.BattleQuery.Add(New TextQueryObject(p.GetDisplayName() & " transformed into Blade Forme!"))
@ -849,6 +850,7 @@
If moveUsed.ID = 588 Then
p.AdditionalData = ""
p.ReloadDefinitions()
p.CalculateStats()
Me.ChangeCameraAngel(1, own, BattleScreen)
BattleScreen.BattleQuery.Add(New ToggleEntityQueryObject(own, ToggleEntityQueryObject.BattleEntities.OwnPokemon, PokemonForms.GetOverworldSpriteName(p), 0, 1, -1, -1))
BattleScreen.BattleQuery.Add(New TextQueryObject(p.GetDisplayName() & " transformed into Shield Forme!"))