mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-08-14 22:38:41 +02:00
25 lines
983 B
VB.net
25 lines
983 B
VB.net
Namespace ScriptVersion2
|
|
|
|
Partial Class ScriptComparer
|
|
|
|
' --------------------------------------------------------------------------------------------------------------------------
|
|
' Contains the <phone> constructs.
|
|
' --------------------------------------------------------------------------------------------------------------------------
|
|
|
|
Private Shared Function DoPhone(ByVal subClass As String) As Object
|
|
Dim command As String = GetSubClassArgumentPair(subClass).Command
|
|
Dim argument As String = GetSubClassArgumentPair(subClass).Argument
|
|
|
|
Select Case command.ToLower(Globalization.CultureInfo.InvariantCulture)
|
|
Case "callflag"
|
|
Return GameJolt.PokegearScreen.Call_Flag
|
|
Case "got"
|
|
Return ReturnBoolean(Core.Player.HasPokegear)
|
|
End Select
|
|
|
|
Return DEFAULTNULL
|
|
End Function
|
|
|
|
End Class
|
|
|
|
End Namespace |