mob/verb
SwitchPokemon(/**/)
var/obj/Pokemons/M=input("Switch pokemon with ?","Switch")as null|anything in usr.pokemonslist-usr.selectedpokemon
if(M)
Problem description:
How can I switch position M with usr.selectedpokemon in usr.pokemonslist.
Code:
mob/verb Problem description: How can I switch position M with usr.selectedpokemon in usr.pokemonslist. |
I think you're talking about how you can switch around the order your Pokemon are listed in, am I correct? Just like how you can do so in the hand-held games?