<player.isgamejolt(-bool-)>

returns true is it is a Gamejolt account, argument is optional, if true also checks if the player's GJ acc is banned and returns false if it is.
This commit is contained in:
darkfire006 2021-09-27 14:29:51 -05:00
parent 22bf0afdce
commit 45edf9a057
1 changed files with 5 additions and 0 deletions

View File

@ -89,6 +89,11 @@
Return ReturnBoolean(Core.Player.HasPokedex)
Case "haspokegear"
Return ReturnBoolean(Core.Player.HasPokegear)
Case "isgamejolt"
If argument = "1" Then
ReturnBoolean(Core.Player.IsGameJoltSave = True AndAlso GameJolt.LogInScreen.UserBanned(GameJoltSave.GameJoltID) = False)
End If
Return ReturnBoolean(Core.Player.IsGameJoltSave)
End Select
Return DEFAULTNULL
End Function