Added pokedex.getname(%NUMBER%)=%NAME% or kinda

This commit is contained in:
Aragas 2016-09-12 19:11:51 +03:00
parent 5690a27219
commit 74769c43f0
1 changed files with 5 additions and 0 deletions

View File

@ -31,6 +31,11 @@
Case "getspecies"
Case "getname"
Dim number As Integer = int(argument)
If Pokemon.PokemonDataExists(number)
return Pokemon.GetPokemonByID(number).GetName()
End If
End Select
Return DEFAULTNULL