P3D-Legacy/P3D/Battle/BattleSystemV2/QueryObjects/DisplayLevelUpQueryObject.vb

23 lines
596 B
VB.net
Raw Normal View History

2016-09-07 18:50:38 +02:00
Namespace BattleSystem
Public Class DisplayLevelUpQueryObject
Inherits QueryObject
Dim p As Pokemon
Dim oldStats() As Integer
Public Sub New(ByVal p As Pokemon, ByVal oldStats() As Integer)
MyBase.New(QueryTypes.DisplayLevelUp)
Me.p = P3D.Pokemon.GetPokemonByData(p.GetSaveData())
2016-09-07 18:50:38 +02:00
Me.oldStats = oldStats
End Sub
Public Overrides Sub Update(BV2Screen As BattleScreen)
Core.SetScreen(New BattleGrowStatsScreen(Core.CurrentScreen, p, oldStats))
End Sub
End Class
End Namespace