• 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 a problem. I get more than one encounter on a map. How do I
enable that only one encounter appears at each map? oO
 
I have a problem. I get more than one encounter on a map. How do I
enable that only one encounter appears at each map? oO

Make sure on line 21 you take out the comments.
 
Using the Gen 6 pack and replaced all instances of "if pokemon.hp>0" with "if pokemon.hp>0 $PokemonGlobal.nuzlocke==true," but I'm getting the error: Script 'PItem_ItemEffects' line 335: SyntaxError occurred. When I looked back, that line had "if pokemon.hp>0 $PokemonGlobal.nuzlocke==true". So why is this a problem? Also, where do I put the event to turn nuzlocke mode on?
 
so if i copy this into my game do i have to do anything to make it work?

HTML:
#==INSTRUCTIONS=================================================================
#
# To install this script it's simple, just put it above main. (yes, plug and play)
# Also: Replace lines 327, 340, 1153, 1172 of PokémonItemEffects replace:
#       "   if pokemon.hp>0"
# With:
#       "   if pokemon.hp>0 || $PokemonGlobal.nuzlocke==true" 
#
#==HOW TO USE===================================================================
#
# To use this script simply call in an event: "$PokemonGlobal.nuzlocke = true" 
#
# If you want to turn off the mode just do the same, but with false instead.
#
#==CONFIGURATION================================================================

# OPTION 1: Dubious Clause (same species encounter doesn't count)
DUBIOUSCLAUSE = true

# 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)
=begin
NUZLOCKEMAPS = [
[5,21],
[2,7,12]
]
=end
#===============================================================================
 
Using the Gen 6 pack and replaced all instances of "if pokemon.hp>0" with "if pokemon.hp>0 $PokemonGlobal.nuzlocke==true," but I'm getting the error: Script 'PItem_ItemEffects' line 335: SyntaxError occurred. When I looked back, that line had "if pokemon.hp>0 $PokemonGlobal.nuzlocke==true". So why is this a problem? Also, where do I put the event to turn nuzlocke mode on?

You get a syntax error because that's improper syntax
Code:
if pokemon.hp>0[COLOR="Red"] &&[/COLOR] $PokemonGlobal.nuzlock
 
Hello. I tried out your script for a while. I like the idea of it and thank you for making it. But I have trouble getting it to work:
I tried to follow the instructions clearly and put in "if pokemon.hp>0 $PokemonGlobal.nuzlocke==true" instead of "if pokemon.hp>0", but that gave me a syntax error and I followed the instructions in the last post and made it "if pokemon.hp>0 && $PokemonGlobal.nuzlocke==true". Now I can finally start the game again and it´s nice to see that it´s impossible to heal using the Pokémon Center or the PC, but I can still revive using the Revive-Item. I´m very sure I replaced all the "if pokemon.hp>0"-lines so I´m wondering why it still doesn´t work.
 
I'm getting this error when I throw a ball, what can I do?

[PokeCommunity.com] Nuzlocke Mode
 
script works fine for me except when I sometimes get this error on first encounter in map. Can someone help me with it?

Exception: SystemStackError
Message: stack level too deep
Nuzlocke:101:in `nuzlocke_ThrowPokeBall'
Nuzlocke:106:in `nuzlocke_ThrowPokeBall'
Nuzlocke:106:in `nuzlocke_ThrowPokeBall'
Nuzlocke:106:in `nuzlocke_ThrowPokeBall'
Nuzlocke:106:in `nuzlocke_ThrowPokeBall'
Nuzlocke:106:in `nuzlocke_ThrowPokeBall'
Nuzlocke:106:in `nuzlocke_ThrowPokeBall'
Nuzlocke:106:in `nuzlocke_ThrowPokeBall'
Nuzlocke:106:in `nuzlocke_ThrowPokeBall'
Nuzlocke:106:in `nuzlocke_ThrowPokeBall'
 
Hi, nice script, I'll definitively add it to my game.
I'd like to have the option to make a "semi-nuzlocke" too, by that I mean no dead pokemon if fainted, but still be able to catch only one Pokemon by route.
Would that be possible, and how?



Found the solution!
Spoiler:

I just added that in a new section, and if the player choose Nuzlocke I call $PokemonGlobal.nuzlocke = true
and if they choose semi nuzlocke I call:
$PokemonGlobal.snuzlocke = true
 
Last edited by a moderator:
this is an amazing script, but I want to know if there is an option to make it optional? like, at he beginning of the game it asks if you want to do a nuzlocke or not.
 
this is an amazing script, but I want to know if there is an option to make it optional? like, at he beginning of the game it asks if you want to do a nuzlocke or not.
Literally just make a choice function before your professor comes in to talk and if they say they want a nuzlocke put "$PokemonGlobal.nuzlocke = true," and when it's no just let it continue as normal.
 
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'
 
Last edited:
Back
Top