• 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!
  • 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] Mathematical operations cause NoMethodErrors

#Not Important

All hail the wishmaker
  • 910
    Posts
    5
    Years
    I keep getting this sort of errors
    Code:
    [Pokémon Essentials version 18]
    Exception: NoMethodError
    Message: undefined method `*' for nil:NilClass
    
    Backtrace:
    Tilemap_XP:409:in `addTile'
    Tilemap_XP:843:in `refresh'
    Tilemap_XP:840:in `each'
    Tilemap_XP:840:in `refresh'
    Tilemap_XP:938:in `update'
    TilemapLoader:49:in `update'
    Spriteset_Map:130:in `_animationSprite_update'
    Sprite_AnimationSprite:89:in `update'
    Spriteset_Map:68:in `_animationSprite_initialize'
    Sprite_AnimationSprite:50:in `shadow_initialize'
    it happens when doing mathematical operations
    e.g. +, -, *, /,**, etc.
     
    This error usually happens when you use mathematical operators on Objects that aren't Numerics. So double check each time if you are multiplying numbers.
     
    Back
    Top