• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Nuzlocke Mode

I have recently tried this script for v18, and have been getting the same error upon throwing a ball. Did you ever find a solution?

[Pokémon Essentials version 18]
Exception: NameError
Message: uninitialized constant PokeBattle_Battle::NUZLOCKEMAPS

Backtrace:
Nuzlocke:125:in `nuzlockeMultipleMaps'
Nuzlocke:97:in `pbThrowPokeBall'
PItem_BattleItemEffects:307
PItem_BattleItemEffects:306:in `call'
EventHandlers:134:in `trigger'
PItem_Items:311:in `triggerUseInBattle'
Battle_Action_UseItem:124:in `pbUsePokeBallInBattle'
Battle_Phase_Attack:81:in `pbAttackPhaseItems'
Battle_Phase_Attack:68:in `each'
Battle_Phase_Attack:68:in `pbAttackPhaseItems'

I assume you're using Option 1 from the Configuration (Dubious Clause) as opposed to Option 2, and that because of that, the system can no longer detect the variables "NUZLOCKEMAPS". Try un-commenting out the NUZLOCKEMAPS code underneath Option 2 even though you aren't using it, then removing the contents inside so that it looks like this:
Code:
# OPTION 2: Connected Maps (so you don't get 2 encounters in the same route)
# example: (It's an array of arrays, simple as that, just mimic the example)
NUZLOCKEMAPS = []
 
I assume you're using Option 1 from the Configuration (Dubious Clause) as opposed to Option 2, and that because of that, the system can no longer detect the variables "NUZLOCKEMAPS". Try un-commenting out the NUZLOCKEMAPS code underneath Option 2 even though you aren't using it, then removing the contents inside so that it looks like this:
Code:
# OPTION 2: Connected Maps (so you don't get 2 encounters in the same route)
# example: (It's an array of arrays, simple as that, just mimic the example)
NUZLOCKEMAPS = []

You were exactly right! Thank you so much for the help, it works like a dream now! :P
 
Got this error with the script when trying to catch a Pokemon. Any help?
[PokeCommunity.com] Nuzlocke Mode
 
[PokeCommunity.com] Nuzlocke Mode
Okay so I'm getting this when using the Nuzlocke script and it's saying that something isn't defined when it actually is, but when I look to see what needs to be changed and all I get when searching for where the HP stuff is, is what's in the script itself and not anywhere else.

What's going on?
 
Back
Top