• 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!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist poll!
  • PokéCommunity supports the Stop Killing Games movement. If you're a resident of the UK or EU, consider signing one of the petitions to stop publishers from destroying games. Click here for more information!
  • 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