• 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!
  • Cyndy, May, Hero (Conquest), or Wes - 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.

Trying to make the trigger return to top of the list

Blake7

To Ignite all people within our nation
  • 49
    Posts
    8
    Years
    • Seen Nov 30, 2018
    I am using Shiney570's bag script and in the mouse function whenever I try to click the switch button when the last pocket is selected I get this error.
    Spoiler:

    The line is this -> @item_max=thispocket.length (only happens when i mouse click on the right switch when bottom pocket is selected, if I use keyboard it goes to top of list without error. But with mouse it gives the above error. Loop on the left switch is fine, if I click left switch when first pocket is selected it goes to bottom pocket without error. )
    [PokeCommunity.com] Trying to make the trigger return to top of the list

    Instead I want it to either stop there or go back to the top of the list.
    Here is the script:
    Spoiler:
     
    Last edited:
    Back
    Top