• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • Reminder: AI-generated content is not allowed on the forums per the Rules and Regulations. Please contact us if you have any questions!
Resource icon

Resource Challenge Modes 2.2.1

[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Script error in event 16 (coords 50,46), map 24 (Viridian Forest)
Exception: NoMethodError
Message: undefined method `pbGetBattlerFromSideAndIndex' for #<Battle>

***Full script:
TrainerBattle.start(:BUGCATCHER, "Rick")
Backtrace:
[Challenge Modes] 013_Trainer_Scaling.rb:220:in `scale_trainer_party'
[Challenge Modes] 013_Trainer_Scaling.rb:210:in `block in initialize'
[Challenge Modes] 013_Trainer_Scaling.rb:208:in `each'
[Challenge Modes] 013_Trainer_Scaling.rb:208:in `each_with_index'
[Challenge Modes] 013_Trainer_Scaling.rb:208:in `initialize'
256:Overworld_BattleStarting:509:in `new'
256:Overworld_BattleStarting:509:in `start_core'
256:Overworld_BattleStarting:486:in `start'
(eval):1:in `execute_script'
033:Interpreter:138:in `eval'

I got this with trainer scaling enabled when battling a trainer
Good catch, i fix it
 
Idea for monotype, catching (but not using) pokemon of the wrong type if they evolve into that type. As an example, you could catch an Eevee in a mono-fire run, and it would be unusable in battle but would be able to evolve into Flareon and then be used
 
Idea for monotype, catching (but not using) pokemon of the wrong type if they evolve into that type. As an example, you could catch an Eevee in a mono-fire run, and it would be unusable in battle but would be able to evolve into Flareon and then be used
I will mplent this in the next Update🙏
 
I will mplent this in the next Update🙏
If you want to use part of my Monotype Challenge port for this, feel free. It includes this function as far as I remember, saving you time

In any case, your Challenges Plugin does a better job than mine XD
 
Bug with one catch per map and the SOS battles plugin, if a pokemon SOSes, you will no longer be able to catch that encounter
 
I think the block for the XItems is wrong

Ruby:
Expand Collapse Copy
#===============================================================================
# Block X-Items specifically (Battle stat boosters)
#===============================================================================
ItemHandlers::CanUseInBattle.copy(:XATTACK, :battle_items)
ItemHandlers::CanUseInBattle.copy(:XDEFEND, :battle_items)
ItemHandlers::CanUseInBattle.copy(:XSPATK, :battle_items)
ItemHandlers::CanUseInBattle.copy(:XSPDEF, :battle_items)
ItemHandlers::CanUseInBattle.copy(:XSPEED, :battle_items)
ItemHandlers::CanUseInBattle.copy(:XACCURACY, :battle_items)
ItemHandlers::CanUseInBattle.copy(:DIREHIT, :battle_items)
ItemHandlers::CanUseInBattle.copy(:GUARDSPEC, :battle_items)

You are copying from :XATTACK to :battle_items instead of from :battle_items to :XATTACK so you are overwriting the handler from :battle_items with the one of :XATTACK also you are only taking into account the basic XItems and not the :XATTACK2, etc.
 
Nononever updated Challenge Modes with a new update entry:

Monotype improvment

### Monotype Mode Improvements
- Pre-Evolution Catching Allowed: Updated Monotype rules to allow catching Pokémon that are not of the specified type if they can evolve into that type.
- Example: You can now catch an Eevee in a Monotype Fire run because it evolves into Flareon.
- Strict Battle Enforcement: Pokemon that do not currently match the Monotype type cannot be used in battle until they are evolved.
- Recursive Evolution Checks: The system now checks...

Read the rest of this update entry...
 
Just downloaded the new version and...
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Exception: NoMethodError
Message: undefined method `pbGetBattlerFromSideAndIndex' for #<Battle>

This is with trainer scaling
 
Seems the new version is not uploaded since the time it was uploaded is still 2025-11-27.
 
Just downloaded the new version and...
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Exception: NoMethodError
Message: undefined method `pbGetBattlerFromSideAndIndex' for #<Battle>

This is with trainer scaling
Still doesn't seem to be fixed
 
I have been trying this plugin and it's great!
I just wanted to ask if you had any intentions of adding some other randomizer features that are present in the UP Randomizer, such as random learnsets, TM and move tutor compatibility, abilities and shop items.
I haven't tried to do it myself because I'm completely new to Pokémon Essentials, but I might try implement it.
Thanks!
 
Back
Top