• 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!
  • Akari, Selene, Mint, Solana - 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.

Using headbutt on the party menu doesn't work

yonicstudios

Game Developer
  • 51
    Posts
    9
    Years
    For some odd reason, using headbutt via the party menu on the events I used for headbutt will not work, even if I had renamed the events to HeadbuttTree. It keeps saying "Can't use that here."

    My guess was that I should've used another way of firing up the HeadbuttTree event, but that didn't seem to work on "Collide" nor "Event Collide".

    The scripts don't seem to be wrong, either...

    Code:
    HiddenMoveHandlers::CanUseMove.add(:HEADBUTT,proc{|move,pkmn|
       facingEvent=$game_player.pbFacingEvent
       if !facingEvent || facingEvent.name!="HeadbuttTree"
         Kernel.pbMessage(_INTL("Can't use that here."))
         return false
       end
       return true
    })
    It does work when you use it outside the party menu, though. What could this mean?
     
    Back
    Top