• 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!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist 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] Help with Fairy Lock Field Move effect

  • 40
    Posts
    4
    Years
    • Seen Jan 13, 2022
    I want to make it to where certain locked doors can be unlocked with Fairy Lock if they have the name UnlockableDoor.
    To be clear, this would not copy Rock Smash.

    Any tips on how to do it?
     
    I want to make it to where certain locked doors can be unlocked with Fairy Lock if they have the name UnlockableDoor.
    To be clear, this would not copy Rock Smash.

    Any tips on how to do it?

    It depends on how complicated you want to make this. If you just want a door to unlock if you interact with it and a Pokémon on your team has Fairy Lock, you can use a conditional branch that has !pbCheckMove(:FAIRYLOCK).nil? as a script. Then, have the door "unlock" (but really it's activating a self-switch) if a Pokémon on your team has Fairy Lock or remain locked if you don't have such a Pokémon.

    If you want this to be more like a field move, then that would require more work, but would be just copying existing code.
     
    Back
    Top