• 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 Trading Card Game 2 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.

[Error] Exception:TypeError

mybusiness

Guest
  • 0
    Posts
    I´ve never seen one of these before:
    Code:
    [Pokémon: Mission Impossible (pre-Alpha)]
    Exception: TypeError
    Message: Symbol as array index
    Intl_Messages:568:in `[]'
    Intl_Messages:568:in `get'
    Intl_Messages:683:in `get'
    Intl_Messages:720:in `pbGetMessage'
    PBMoves:679:in `getName'
    PItem_ItemEffects:971
    PItem_ItemEffects:953:in `call'
    EventHandlers:150:in `trigger'
    PItem_Items:231:in `triggerUseOnPokemon'
    PItem_Items:637:in `pbUseItem'
     
    So it look like you're trying to call an item in an array,
    Code:
    array[index]
    but your "index" has a symbol in it based on how the code is set up.
    Can you show the code that's throwing that error? That would help with a more exact diagnosis.
     
    It was related to some items that also make you learn and forget moves. Now, the problem is gone, since I´ve rewritten those from scratch again, instead of fixing them. Thanx, anyways.
     
    Back
    Top