• 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] Gifting pokemon with passwords

  • 1
    Posts
    335
    Days
    • Seen Apr 15, 2025
    Im trying to gift the player a pokemon if they put in the correct password, I've managed to get the text box to open and i can give the player the pokemon but I'm struggling with giving the player the pokemon ONLY if they put in the right password, I would love some help also I'm pretty new to scripting and essentials in general so I'm sorry if this is a silly question i just cant find an answer
     
    You should use Mr. Gela's Password script.

    Create a new script above "Main" script in the script editor

    Paste the following inside:
    Spoiler:


    Then, in the event in which you want to give out the pokemon, you should create a Conditional Branch, with the following script as a condition:
    Spoiler:


    Replace the word "Passcode" with the words or numbers you want as the Passcode.
    Replace the phrase "Insert Password" with the phrase with which you ask for the password.
    The following two numbers (0,10) is the minimum and maximum lenght of the password the player is allowed to enter.
    The last word "false" indicates whether the passcode is case-sensitive. If you want the passcode to differentiate between upper and lower cases, change that to "true"

    I hope this helps you, it works for me so you should have no problem.

    PD: I've attached the Conditional Branch for you to look, but I forgot my RPG Maker is in Spanish lol. Hope you understand it tho.
     

    Attachments

    • [PokeCommunity.com] Gifting pokemon with passwords
      Captura de pantalla 2024-07-19 152511.png
      21.3 KB · Views: 4
    • [PokeCommunity.com] Gifting pokemon with passwords
      Captura de pantalla 2024-07-19 152650.png
      6.7 KB · Views: 4
    • [PokeCommunity.com] Gifting pokemon with passwords
      Captura de pantalla 2024-07-19 152700.png
      38.6 KB · Views: 4
    Back
    Top