I'm getting an error when a pokemon is caught in the safari zone. Normal pokemon catching is fine
This error only occurs if you have set the pc creator, if you haven't then it works fine
The error occurs just before the message (the message doesn't show)
Transferred to Bills PC
This is the code its referring to
how do i solve this?
This error only occurs if you have set the pc creator, if you haven't then it works fine
The error occurs just before the message (the message doesn't show)
Transferred to Bills PC
Exception: SystemStackError
Message: stack level too deep
PokeBattle_BattlePeer:20:in `pbGetStorageCreator'
PokeBattle_BattlePeer:21:in `pbGetStorageCreator'
PokeBattle_BattlePeer:21:in `pbGetStorageCreator'
PokeBattle_BattlePeer:21:in `pbGetStorageCreator'
PokeBattle_BattlePeer:21:in `pbGetStorageCreator'
PokeBattle_BattlePeer:21:in `pbGetStorageCreator'
PokeBattle_BattlePeer:21:in `pbGetStorageCreator'
PokeBattle_BattlePeer:21:in `pbGetStorageCreator'
PokeBattle_BattlePeer:21:in `pbGetStorageCreator'
PokeBattle_BattlePeer:21:in `pbGetStorageCreator'
This is the code its referring to
Code:
def pbGetStorageCreator()
creator=nil
if $PokemonGlobal && $PokemonGlobal.seenStorageCreator
creator=pbGetStorageCreator
end
return creator
end
how do i solve this?