mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-27 07:44:31 +02:00
Implemented pokedex check for the following achievements (Ancestor and Victorious)
This commit is contained in:
parent
2fe8610a6b
commit
952482d645
@ -57,6 +57,24 @@
|
|||||||
GameJolt.Emblem.AchieveEmblem("shooting star")
|
GameJolt.Emblem.AchieveEmblem("shooting star")
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
' Victorious:
|
||||||
|
Dim hasvictorious As Boolean = True
|
||||||
|
If Pokedex.GetEntryType(Core.Player.PokedexData, 494) < 2 Then
|
||||||
|
hasvictorious = False
|
||||||
|
End If
|
||||||
|
If hasvictorious = True Then
|
||||||
|
GameJolt.Emblem.AchieveEmblem("victorious")
|
||||||
|
End If
|
||||||
|
|
||||||
|
' Ancestor:
|
||||||
|
Dim hasancestor As Boolean = True
|
||||||
|
If Pokedex.GetEntryType(Core.Player.PokedexData, 151) < 2 Then
|
||||||
|
hasancestor = False
|
||||||
|
End If
|
||||||
|
If hasvictorious = True Then
|
||||||
|
GameJolt.Emblem.AchieveEmblem("ancestor")
|
||||||
|
End If
|
||||||
|
|
||||||
' Pokédex:
|
' Pokédex:
|
||||||
If Core.Player.IsGameJoltSave = True Then
|
If Core.Player.IsGameJoltSave = True Then
|
||||||
If Me.Profiles(0).Pokedex.Obtained >= Me.Profiles(0).Pokedex.Count Then
|
If Me.Profiles(0).Pokedex.Obtained >= Me.Profiles(0).Pokedex.Count Then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user