• 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!
  • Cyndy, May, Hero (Conquest), or Wes - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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.

[Scripting Question] Pokemon Essentials Surfing Partner/Flying Partner

  • 68
    Posts
    6
    Years
    • Seen Sep 19, 2023
    So I'm making a game where Pikachu follows the player. The Pikachu counts as a partner.

    If I were to download the script that enabled follow Pokemon, it would allow ever Pokemon in the first slot of your summary, rather than just Pikachu, which is the only Pokemon I want out.
    But surfing is the main problem, and maybe even flying too.

    You can't surf or fly with a partner. Is there any script that can remove a partner when surfing and then readd it when you hit land? Or something like it? An event or script or something other?
    Back to the follow Pokémon script, If you have any ideas about how to make the following Pokemon single out for Pikachu only? Any ideas? Thanks!
     
    You can use dependent events in order to have solely Pikachu follow you. In order to get a sprite to follow you, call this script command (I'm assuming you're using a fresh copy of Essentials) :-

    pbAddDependency2(@event_id,"Pikachu",2)

    In the above command, the pikachu within quotes is the name of the event and the 2 is the common event that happens whenever you interact with pikachu. You can set the common event in Database<Common Events.
    What this does is add a dependency to the player character, so wherever the player goes, this event follows. Keep in mind that dependent events may cause problems with movesets.

    Don't forget to add a Pikachu sprite for the dependent event.
     
    Yes, that is exactly what I've done, but when Pikachu is registered as a partner, the partner will not allow you to surf or fly, because there is no room for it or something of that sort. Thanks anyway. What I need to know is how to remove Pikachu as a partner when surfing or flying, and then re-register it once finished.
     
    Hmmm why don't you install Following Pokémon made by mej71 and edit the code when the player surfs, ir your follower pokémon is Pikachu, it will change its OW to the other one? Same about flying case.
    But yeah you'll need some knowledge about ruby to write that.
     
    Back
    Top