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

[Eventing Question] Headbutt Tree Method

  • 1
    Posts
    4
    Years
    • Anyone u like
    • Seen Jun 3, 2021
    Hello everyone! This is my first post and I need some help. I'm doing a Headbutt Tree event based on a Control Variable that I'd made for a Honey Tree (pic added here). So, I want to make it similar (if a Pokémon in my party have Headbutt, then I can battle a random Pokémon), but the problem it's that I don't know how to set that conditional branch's script. I've already tried with pbCheckMove, $Trainer.pokemonParty, but it doesn't work. Do I need to add something else besides that CB script?? I'm using v.16.2

    (excuse my english, it's not my native language :c)
     

    Attachments

    • [PokeCommunity.com] Headbutt Tree Method
      honey.png
      80.6 KB · Views: 7
    • [PokeCommunity.com] Headbutt Tree Method
      headbutt.png
      81.1 KB · Views: 4
    So the game doesn't know if you have Headbutt? Do I understand well?

    I think it's because you wrote pbCheckMove(PBMoves::HEADBUTT) instead of pbCheckMove(:HEADBUTT).

    If it doesn't solve the problem, can you post the code of pbCheckMove? I don't have v16.2 so I cannot check in my scripts.
     
    Back
    Top