• 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.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • 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.

[Custom Feature Question] V18 random pokemon from a set Aka dynamax battles help

  • 52
    Posts
    5
    Years
    • Seen Mar 15, 2022
    This isn't a feature i plan on adding for a while but i wanted to know if there is anyway i could make dynamax like dens that a specified set of pokemon example "pidove,tepig,sharpedo" could be encountered when interacting with the den that way you can encounter in this case one of those 3 pokemon and than wait a few hours before the den reopens

    thanks in advanced to who ever can help
     
    Yes this is totally possible. You'd need to generate Pokemon using pbGenPkmn and then add them to the player party using pbAddPokemon. Then with some eventing, you'll be able to lock a certain Pokemon or Set of Pokemon for 3-4 hours.
     
    that would work although i would want it to be like a battle where you can catch the pokemon if you want
     
    This command lets you start a Pokemon battle. First number represents the dex number of the Pokemon, second its level.
    Code:
    pbWildBattle(1,30)
    You can replace the 1 with a variable and randomize it. I think switch number 23 supports a timer in seconds you could use that to add a cooldown to your event.
    Code:
    pokes = [:PIDOVE,:TEPIG,:SHARPEDO]
    poke = getID(PBSpecies,pokes[rand(pokes.length)])
    pbWildBattle(poke,30)
    If you need further help, be sure to ask . :)
     
    ok do you mean a variable like poke or control variables also i keep getting a error when trying to get this to work ill send the error log soon

    nevermind i think i mistyped something somewhere its working now all i need is to figure out the cooldown switch
     
    Last edited:
    Back
    Top