If you are trying to actually make a pokemon game, you'd be best off with using the Pokemon Starter Kit. It has everything you need.
If you need just a similar functionality, check out the demo. It explains which script calls you can use to gradually enable actors to be selectable in the party switcher.