ID:1589591
 
(See the best response by Ssj4justdale.)
Code:
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.

Best response
Can you elaborate on what you mean?

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?
Nvm I made it :)
            var/list/L = usr.pokemonslist
L.Swap(1,usr.selec)

and usr.selec verb is for slot i pick
alright, congrats.