• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Party Selecton Help

Sir_Tman

Overworked game Dev
  • 198
    Posts
    9
    Years
    I have a bit in my game where the player enters a tournament.
    They way i'm doing it is

    Player Picks (x) amount of pokemon and remove the rest.
    The later Restore the pokemon that where taken away.

    I have been very stuck on this and also I can't find anything on the forums.
     
    I saw this but I though it was just for the battle fronier. Guess I didn't read it properly thanks

    Go to thrill city , market place there will be a hiker who will sell you the gardevoirite for 20 ,000

    THANK YOU VERY MUCH! A MEGA GARDEVOIR IS ALL I NEED, OR A SHINY ONE THO xD

    OH AND CAN YOU GUYS GIVE TIPS ON HOW TO CATCH ROAMING LEGENDARY POKEMON? HAVING A HARD TIME CATCHING THE DORUS TRIO, THEY FLEE ALL THE TIME. THANKS!

    Apoligise I know know how to bring up the Selection screen and restore the pokemon. How ever how do set up the event so if the player cancel you exit event procidings?
     
    Last edited by a moderator:
    Apoligise I know know how to bring up the Selection screen and restore the pokemon. How ever how do set up the event so if the player cancel you exit event procidings?

    I haven't tested this but try running the script call in a conditional branch and putting an exit event.

    I'll have a better look to it later.
     
    Last edited:
    I did that and it didn't work it only pick what ever was in the main branch

    Code:
    PokemonSelection.choose(min, max, canCancel, acceptFainted)

    Try PokemonSelection.choose(3, 3, true, false)

    EDIT also:

    loop do
    pbEntryScreen
    validPartyChosen=(pbBattleChallenge.getParty!=nil)
    break if(canCancel || validPartyChosen)
    break if pbBattleChallenge.getParty==nil
    Kernel.pbMessage(_INTL("Choose a Pokémon."))
    end
     
    Back
    Top