• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Staff applications for our PokéCommunity Daily and Social Media team are now open! Interested in joining staff? Then click here for more info!
  • 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.

Enable Safari without any pokemon in party

  • 2
    Posts
    13
    Years
    • Seen Nov 20, 2016
    Hi, i want the players starting Pokemon to be obtained via the safari but you cant enter any battles without a Pokemon in the party. Looking through the scripts i'm lost where to start, anyone able to point me in the right direction?
     
    This is untested, but try adding a line of script to the bottom of the game start event (in the all-black map, upper left corner) that reads "pbSafariState.pbStart(999)" or however many Safari Balls you want in their inventory.

    You will have to find some way of including "pbSafariState.pbEnd" in an event triggered by the player successfully catching a Pokemon, though. Otherwise the entire game will be in the Safari Zone. My suggestion is have it in a door event that the player can only walk through if they have a Pokemon, otherwise the character thinks to themself I came here for a Pokemon, I can't leave yet.
     
    Thanks for the help, I've used pbSafariState.pbStart(30) but the problem is wild encounters aren't activated unless you have a pokemon in your party, when I give the player a pokemon safari works. I'm wondering if there is a way to override this. Also is there any guides or a list of all the scripts already in game, I cant find anything on here or the wiki page.
     
    Back
    Top