Implemented "Beast" emblem check in the party screen, (was I supposed to be the one to do it?)

This commit is contained in:
FantaX1911 2019-01-25 18:45:03 +02:00
parent 018ecb62d0
commit 28c1af7d10

View File

@ -843,6 +843,28 @@ Public Class PartyScreen
End If End If
End Sub End Sub
Private Sub CheckForBeastEmblem()
'This sub checks if Entei, Raikou and Suicune are in the player's party.
Dim hasEntei As Boolean = False
Dim hasRaikou As Boolean = False
Dim hasSuicune As Boolean = False
For Each p As Pokemon In PokemonList
Select Case p.Number
Case 244
hasEntei = True
Case 243
hasRaikou = True
Case 245
hasSuicune = True
End Select
Next
If hasEntei And hasRaikou And hasSuicune Then
GameJolt.Emblem.AchieveEmblem("beast")
End If
End Sub
Private Sub CheckForOverkillEmblem() Private Sub CheckForOverkillEmblem()
If PokemonList.Count = 6 Then If PokemonList.Count = 6 Then
Dim has100 As Boolean = True Dim has100 As Boolean = True