• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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.

Toggling Following Pokémon with an item

JustX

The Mutant
  • 34
    Posts
    8
    Years
    I want to create an item which toggles the following pokemon script so I created following script section:

    ItemHandlers::UseFromBag.add(:NAME,proc{|item|
    $game_switches[130]=!$game_switches[130]
    next 2
    })

    the switch 130 is reserved for the script, but when I click on use it says "Cant use that here".
    What do I have to change?
     
    Back
    Top