- 28
- Posts
- 7
- Years
- Land of the Ice and Snow
- Seen Mar 10, 2017
Every time I catch a Pokemon and then try to open the Pokegear (in the pause menu)
I get this error:
Script '#4 UI' line 2152: NoMethodError occured.
undefined method `disposed?' for nil:NilClass
Any suggestions? I am on Pokemon Essentials v16.2 and have not edited the Pokegear script. I also followed the instructions to what you said and have looked everywhere to find the answer for this but have no clue. Thanks!
(Should've added this the first time, sorry)
def disposed?; return @sprites["layer1"].disposed?; end
def dispose
pbDisposeSpriteHash(@sprites)
end
Those are lines 2152-2155.
I get this error:
Script '#4 UI' line 2152: NoMethodError occured.
undefined method `disposed?' for nil:NilClass
Any suggestions? I am on Pokemon Essentials v16.2 and have not edited the Pokegear script. I also followed the instructions to what you said and have looked everywhere to find the answer for this but have no clue. Thanks!
(Should've added this the first time, sorry)
def disposed?; return @sprites["layer1"].disposed?; end
def dispose
pbDisposeSpriteHash(@sprites)
end
Those are lines 2152-2155.
Last edited: