• 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!
  • Which Pokémon Masters protagonist do you like most? Let us know by casting a vote in our Masters favorite protagonist poll here!
  • Red, Hilda, Paxton, or Kellyn - 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] 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