• 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!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • 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] "Can't use that here."

  • 78
    Posts
    7
    Years
    Hey guys, I have a question about an item I put into the game. It's a Key Item that calls a Common Event. Here is the script:

    Code:
    ItemHandlers::UseInField.add(:SANITYCHECKER,proc{|item|
       pbCommonEvent(7)
    })

    The item works and calls the Common Event just fine, but when the Common Event ends, it says "Can't use that here."
    What do I need to do to fix that? I tried Googling and looking through the scripts but I'm not good with RMXP Scripts. I'm using Essentials v19.1.

    EDIT: I found that if I Register the item for quick use and use it in the field, it uses it just fine without saying "Can't use that here." It only says "Can't use that here." when I use it in the menu.
     
    Last edited:
    Back
    Top