• 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.
  • Dawn, Gloria, Juliana, or Summer - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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!
  • 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.

Pokémon essentials

  • 7
    Posts
    5
    Years
    • Seen Oct 6, 2019
    I'm not sure this is the right place to ask the question, if not, I'm sorry.

    So recently I've bought RPGmaker xp and started on my own pokémon fangame, I want to make it a very indept game eventualy.
    But I got stuck for the first time, I'm trying to create a door wich is locked and can be opened by a certain key, I've made the item gave it a sprite etc...

    Now I have a basic door set-up, I thought adding a conditional branch would work, but I can't figure out where to select the item I created or on how to make the door check that the player has the key.

    Could anyone help me out?

    Thanks in advance
     
    When you have correctly defined your item with the link MGriffin gave you, create a conditional branch using a script with this line
    Code:
    $PokemonBag.pbHasItem?(:"INTERNALNAMEOFYOURITEM")
    Welcome on the forum by the way, I'm Belgian :p what with the bloody Belgian thing? haha
     
    Last edited:
    [PokeCommunity.com] Pokémon essentials

    I can still enter the door without having the key, did I do something wrong?
     
    Back
    Top