Hello everyone,
I'm new here and I was hoping to get some help with some script bug I have.
I only added those scripts in my game: Overshadow script, Pokémon following script and the intro script. I don't know if custom tilesets count as modification, but I will mention those as well.
Anyway, now here's the problem: Every time my character goes into a cave, the game decides to crash and I receive this error message (this doesn't happen when entering a building, only in caves):
---------------------------
Pokemon Lucid
---------------------------
Exception: NoMethodError
Message: undefined method `*' for nil:NilClass
Game_Character:197:in `screen_z'
Sprite_Character:148:in `update_or'
Tilemap_Perspective:429:in `shadow_update'
DynamicShadows:178:in `update'
Sprite_Character:40:in `perspectivetilemap_initialize'
Tilemap_Perspective:423:in `shadow_initialize'
DynamicShadows:151:in `initialize'
Spriteset_Map:163:in `new'
Spriteset_Map:163:in `_animationSprite_initialize'
Spriteset_Map:162:in `each'
This exception was logged in
C:\Users\Zeon\Saved Games/Pokemon Lucid/errorlog.txt.
Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
I know that there were some people with the same issue, but when I was trying out their solutions, nothing worked. Compiling the data didn't work, restarting the game file didn't work and replacing the "original" cave tileset with a new one didn't work either. I'm still at the beginning of my game and I really don't want to give up this project just because of this error.
I want to apologize if I seem like a clueless idiot, but I really sat there for hours trying to fix this error by myself.
Would really appreciate the help.
I'm new here and I was hoping to get some help with some script bug I have.
I only added those scripts in my game: Overshadow script, Pokémon following script and the intro script. I don't know if custom tilesets count as modification, but I will mention those as well.
Anyway, now here's the problem: Every time my character goes into a cave, the game decides to crash and I receive this error message (this doesn't happen when entering a building, only in caves):
---------------------------
Pokemon Lucid
---------------------------
Exception: NoMethodError
Message: undefined method `*' for nil:NilClass
Game_Character:197:in `screen_z'
Sprite_Character:148:in `update_or'
Tilemap_Perspective:429:in `shadow_update'
DynamicShadows:178:in `update'
Sprite_Character:40:in `perspectivetilemap_initialize'
Tilemap_Perspective:423:in `shadow_initialize'
DynamicShadows:151:in `initialize'
Spriteset_Map:163:in `new'
Spriteset_Map:163:in `_animationSprite_initialize'
Spriteset_Map:162:in `each'
This exception was logged in
C:\Users\Zeon\Saved Games/Pokemon Lucid/errorlog.txt.
Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
I know that there were some people with the same issue, but when I was trying out their solutions, nothing worked. Compiling the data didn't work, restarting the game file didn't work and replacing the "original" cave tileset with a new one didn't work either. I'm still at the beginning of my game and I really don't want to give up this project just because of this error.
I want to apologize if I seem like a clueless idiot, but I really sat there for hours trying to fix this error by myself.
Would really appreciate the help.
Last edited by a moderator: