- 9
- Posts
- 15
- Years
- Seen Apr 21, 2011
New Pocket to Bag
Hi!
I have again a little question!
How can I add a new pocket to the bag?
I try to extend the code in line 651 of PokemonBag.
But everytime I click to the pocket the following error occures:
---------------------------
Pokemon Essentials
---------------------------
Exception: NoMethodError
Message: undefined method `length' for nil:NilClass
PokemonBag: 16: in `pocket='
PokemonBag:444:in `pbChooseItem'
PokemonBag:424:in `loop'
PokemonBag:491:in `pbChooseItem'
PokemonBag:423:in `pbActivateWindow'
PokemonBag:423:in `pbChooseItem'
PokemonBag:962:in `pbStartScreen'
PokemonBag:961:in `loop'
PokemonBag:1053:in `pbStartScreen'
PokemonMenu:171:in `pbStartPokemonMenu'
This exception was logged in ./errorlog.txt.
Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
Can somebody help me?
~ Kareth
Hi!
I have again a little question!
How can I add a new pocket to the bag?
I try to extend the code in line 651 of PokemonBag.
But everytime I click to the pocket the following error occures:
Spoiler:
---------------------------
Pokemon Essentials
---------------------------
Exception: NoMethodError
Message: undefined method `length' for nil:NilClass
PokemonBag: 16: in `pocket='
PokemonBag:444:in `pbChooseItem'
PokemonBag:424:in `loop'
PokemonBag:491:in `pbChooseItem'
PokemonBag:423:in `pbActivateWindow'
PokemonBag:423:in `pbChooseItem'
PokemonBag:962:in `pbStartScreen'
PokemonBag:961:in `loop'
PokemonBag:1053:in `pbStartScreen'
PokemonMenu:171:in `pbStartPokemonMenu'
This exception was logged in ./errorlog.txt.
Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
Can somebody help me?
~ Kareth