Ultraxwing
DonDon~Chan
- 7
- Posts
- 10
- Years
- Seen Mar 16, 2016
Hello, i know it is quite rude to make one's first post a help situation, but me and a friend have been working on a pokemon project using this engine, me and him did edits to two scripts that change how the HUD looks.
The error in question.
Exception: NoMethodError
Message: undefined method `visible=' for nil:NilClass
PScreen_Pokedex:667:in `pbChangeToDexEntry'
PScreen_Pokedex:747:in `pbStartDexEntryScene'
PScreen_Pokedex:1109:in `pbDexEntry'
PokeBattle_Scene:2811:in `pbShowPokedex'
PokeBattle_Scene:2808:in `pbFadeOutIn'
PokeBattle_Scene:2808:in `pbShowPokedex'
PokeBattle_Battle:236:in `pbThrowPokeBall'
PItem_ItemEffects:1677
PItem_ItemEffects:1676:in `call'
Event:150:in `trigger'
This error only appears when you capture a pokemon wildly, and it's random where it does it or not. But when it does pop up with said error, it will not let you keep said captured pokemon.
Here are the two scripts in question.
PokeBattle_Scene
https://www.mediafire.com/download/bza6kd5yimhjbuh/PokeBattle_Scene.txt
PokeBattle_SceneConstrants
https://www.mediafire.com/download/fnzr7d54l9l87w7/PokeBattle_SceneConstrants.txt
Hopefully you can help us figure this out. and thanks for any help.
The error in question.
Spoiler:
Exception: NoMethodError
Message: undefined method `visible=' for nil:NilClass
PScreen_Pokedex:667:in `pbChangeToDexEntry'
PScreen_Pokedex:747:in `pbStartDexEntryScene'
PScreen_Pokedex:1109:in `pbDexEntry'
PokeBattle_Scene:2811:in `pbShowPokedex'
PokeBattle_Scene:2808:in `pbFadeOutIn'
PokeBattle_Scene:2808:in `pbShowPokedex'
PokeBattle_Battle:236:in `pbThrowPokeBall'
PItem_ItemEffects:1677
PItem_ItemEffects:1676:in `call'
Event:150:in `trigger'
This error only appears when you capture a pokemon wildly, and it's random where it does it or not. But when it does pop up with said error, it will not let you keep said captured pokemon.
Here are the two scripts in question.
PokeBattle_Scene
https://www.mediafire.com/download/bza6kd5yimhjbuh/PokeBattle_Scene.txt
PokeBattle_SceneConstrants
https://www.mediafire.com/download/fnzr7d54l9l87w7/PokeBattle_SceneConstrants.txt
Hopefully you can help us figure this out. and thanks for any help.