Added pokedex.getname(%NUMBER%)=%NAME% or kinda
This commit is contained in:
parent
5690a27219
commit
74769c43f0
|
@ -31,6 +31,11 @@
|
||||||
|
|
||||||
Case "getspecies"
|
Case "getspecies"
|
||||||
|
|
||||||
|
Case "getname"
|
||||||
|
Dim number As Integer = int(argument)
|
||||||
|
If Pokemon.PokemonDataExists(number)
|
||||||
|
return Pokemon.GetPokemonByID(number).GetName()
|
||||||
|
End If
|
||||||
End Select
|
End Select
|
||||||
|
|
||||||
Return DEFAULTNULL
|
Return DEFAULTNULL
|
||||||
|
|
Loading…
Reference in New Issue