BW Pokedex Scripting Help Needed

updawg734

Whats up, dawg?
Member
Joined
Apr 26, 2017
Posts
89
Hello,

I'm currently attempting to implement the BW Pokedex from shiney570 (found here: http://reliccastle.com/forums/showthread.php?tid=1090).

I've followed all of the instructions on the scripting, but I still am getting an error that I'm not sure how to fix. Since the thread from shiney 570 is from the old Relic Castle, I wasn't sure if I could post on there and expect help.

Here is the error that I keep getting when I try to open the Pause Menu:


Code:
Exception: NoMethodError
 
Message: undefined method '[]' for nil:NilClass
 
Main:187:in 'pokedexSeen'
 
PSystem_Utilities:2302:in 'pbSetViableDexes'
 
PSystem_Utilities:2299:in 'each'
 
PSystem_Utilities:2299:in 'pbSetViableDexes'
 
Main:4245:in 'pbStartScene'
 
Main:4870:in 'pbStartPokemonMenu'
 
Scene_Map:193:in 'call_menu'
 
Scene_Map:163:in 'update'
 
Main:1353:in 'main'
 
Main:1350:in 'loop'

I'm getting better at scripting but I've fiddled around with this for a while and I'm still stumped. Wondering if anyone can point me in the right direction.

Thanks!
 

leilou

A wild Minun appeared!
Member
Joined
May 17, 2017
Posts
223
I don't know the script but the error says that something that shouldn't be nil is nil. You could try to look into the method then make debug outputs(with print e.g.) and figure out what is nil and then trace down why that is. That beein said it could be a missing graphic that you either didn't install or was simply moved. From essentials v16 to essentials v17 lot's of graphics locations were changed.
 

updawg734

Whats up, dawg?
Member
Joined
Apr 26, 2017
Posts
89
I don't know the script but the error says that something that shouldn't be nil is nil. You could try to look into the method then make debug outputs(with print e.g.) and figure out what is nil and then trace down why that is. That beein said it could be a missing graphic that you either didn't install or was simply moved. From essentials v16 to essentials v17 lot's of graphics locations were changed.

I don't think it is a graphic, as I moved all the graphics to the right locations...still can't figure it out :/
 
Top