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

Trying to make the trigger return to top of the list

Blake7

To Ignite all people within our nation
49
Posts
7
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. )
    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