• 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.

[Scripting Question] How to make a Pokemon Unremovable

  • 68
    Posts
    6
    Years
    • Seen Sep 19, 2023
    Okay, so I'm making a kind of Ash rip-offish game, and obviously, Pikachu is the point of the game. Quite literally, he follows you around. How bad would it be if the player was just able to release him or store him in the PC. I've looked up methods for how to do this, but they're all outdated and not for v19.1. How would I go about doing this?
     
    Okay, so I'm making a kind of Ash rip-offish game, and obviously, Pikachu is the point of the game. Quite literally, he follows you around. How bad would it be if the player was just able to release him or store him in the PC. I've looked up methods for how to do this, but they're all outdated and not for v19.1. How would I go about doing this?

    Well, I would look in UI_PokemonStorage, and make exceptions for Pikachu in the methods that allow you to Deposit/Swap/Release a Pokemon from the storage screen. The game already has ways to prevent this in place (say, for the last remaining Pokemon in your party), so I would just use that as a guide and make an exception specifically for Pikachu.
     
    Thank you for the explanation, helps narrow things down a lot, but I'm reaaally bad at scripting. I would appreciate if I had a physical guide to follow.
     
    Back
    Top