• 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.
  • The Eevee Expo Game Jam has concluded! 🎉 Head on over to the game jam forum to play through the games.
    Don't forget to come back September 21st to vote for your favorites!
  • Reminder: AI-generated content is not allowed on the forums per the Rules and Regulations. Please contact us if you have any questions!
Generation 9 Resource Pack [v21.1] (Updated with Indigo Disk contents)

Resource Generation 9 Resource Pack [v21.1] (Updated with Indigo Disk contents) 3.3.2

ok i beleve i have the pulgin scripts instaled and everything and now i get the error code insteade

[Pokémon Essentials version 21.1]

Exception: RuntimeError
Message: Undefined value TRAILBLAZE in GameData::Move
File PBS/pokemon.txt, section BULBASAUR, key TutorMoves
ACIDSPRAY,BODYSLAM,BULLETSEED,CHARM,CURSE,DOUBLEEDGE,ENDURE,ENERGYBALL,FACADE,FALSESWIPE,GIGADRAIN,GRASSKNOT,GRASSPLEDGE,GRASSYGLIDE,GRASSYTERRAIN,HELPINGHAND,KNOCKOFF,LEAFSTORM,MAGICALLEAF,PROTECT,RE...



Backtrace:
Compiler:454:in `checkEnumField'
Compiler:430:in `cast_csv_value'
Compiler:724:in `block (2 levels) in get_csv_record'
Compiler:710:in `each'
Compiler:710:in `block in get_csv_record'
Compiler:708:in `loop'
Compiler:708:in `get_csv_record'
Compiler_CompilePBS:49:in `block (4 levels) in compile_PBS_file_generic'
Compiler_CompilePBS:31:in `each_key'
Compiler_CompilePBS:31:in `block (3 levels) in compile_PBS_file_generic'

Then you didnt install the plugin scripts.
 
ok i beleve i have the pulgin scripts instaled and everything and now i get the error code insteade

[Pokémon Essentials version 21.1]

Exception: RuntimeError
Message: Undefined value TRAILBLAZE in GameData::Move
File PBS/pokemon.txt, section BULBASAUR, key TutorMoves
ACIDSPRAY,BODYSLAM,BULLETSEED,CHARM,CURSE,DOUBLEEDGE,ENDURE,ENERGYBALL,FACADE,FALSESWIPE,GIGADRAIN,GRASSKNOT,GRASSPLEDGE,GRASSYGLIDE,GRASSYTERRAIN,HELPINGHAND,KNOCKOFF,LEAFSTORM,MAGICALLEAF,PROTECT,RE...



Backtrace:
Compiler:454:in `checkEnumField'
Compiler:430:in `cast_csv_value'
Compiler:724:in `block (2 levels) in get_csv_record'
Compiler:710:in `each'
Compiler:710:in `block in get_csv_record'
Compiler:708:in `loop'
Compiler:708:in `get_csv_record'
Compiler_CompilePBS:49:in `block (4 levels) in compile_PBS_file_generic'
Compiler_CompilePBS:31:in `each_key'
Compiler_CompilePBS:31:in `block (3 levels) in compile_PBS_file_generic'
All of these errors youre getting are due to either not installing all the plugin files as directed, or not compiling after installing.
 
All of these errors youre getting are due to either not installing all the plugin files as directed, or not compiling after installing.
is installing the plugin files more involved then just copy/paste it in the plugins folder cuz if so then ya thats probaly whats triping me up cuz i am compiling though the debug menu
 
is installing the plugin files more involved then just copy/paste it in the plugins folder cuz if so then ya thats probaly whats triping me up cuz i am compiling though the debug menu
The instructions say what to do. You aren't instructed to put all the contente of the download into the Plugins folder.
 
Caruban updated Generation 9 Resource Pack [v21.1] (Updated with Indigo Disk contents) with a new update entry:

Minor update v3.3.1

Change logs:
  • Added Chilly Reception move failure check, so it fails if the Pokémon cannot switch and under Hail or Primodial weather
  • Added Silk Trap effect in pbEndOfRoundPhase
  • Fixed Charge effect to ends only after using an Electric-type damaging move
  • Fixed Chilly Reception MoveFailureCheck AI method
  • Fixed pbCanInflictStatus? to preventing fainted Pokémon from being inflicted by Drowsy and Frostbite
  • Fixed Psycho Shift error when used on the Pokémon that has a status...

Read the rest of this update entry...
 
How would I make oshawott evolve into Hisuian Samurott? Ive been poking around the PBS files and it still isnt evolving into it.
 
How would I make oshawott evolve into Hisuian Samurott? Ive been poking around the PBS files and it still isnt evolving into it.
Same way you evolve into Alolan and Galarian evolutions. The only difference is that while Alola/Galar are assigned to region 1 in Essentials by default, Hisui is assigned to region 2.
 
Same way you evolve into Alolan and Galarian evolutions. The only difference is that while Alola/Galar are assigned to region 1 in Essentials by default, Hisui is assigned to region 2.
Oh, and how would I do that💀, I havent messed w this pack very much and I was wanting to use Oshawott as one of the three starters but have it evolve into Hisuian Samurott.
 
Oh, and how would I do that💀, I havent messed w this pack very much and I was wanting to use Oshawott as one of the three starters but have it evolve into Hisuian Samurott.
Thats a bit outside of the scope of this plugin, as that's more of a basic Essentials thing, not a plugin thing. Just like in the main series, regional evolutions require you to be in the correct region to obtain them. So if you want all of the species with Hisui evolutions to evolve into those forms, you probably need to set your entire game in that region (at least internally). You can probably look at the wiki to figure out how to set up region maps.

If all of that is way more than you're interested in and all you care about is Oshawott in particular, then you'll have to do some of your own editing by removing Oshawott's form handler in the plugin and then creating your own custom form handler to force Oshawott into form 1 at all times (or under whatever conditions you find appropriate).
 
Thats a bit outside of the scope of this plugin, as that's more of a basic Essentials thing, not a plugin thing. Just like in the main series, regional evolutions require you to be in the correct region to obtain them. So if you want all of the species with Hisui evolutions to evolve into those forms, you probably need to set your entire game in that region (at least internally). You can probably look at the wiki to figure out how to set up region maps.

If all of that is way more than you're interested in and all you care about is Oshawott in particular, then you'll have to do some of your own editing by removing Oshawott's form handler in the plugin and then creating your own custom form handler to force Oshawott into form 1 at all times (or under whatever conditions you find appropriate).
Oh alright gotcha, Would it be fine if I just copied the regional form information from the PBS and swapped normal and hisuian's samurotts stuff including the sprite names?
 
Oh alright gotcha, Would it be fine if I just copied the regional form information from the PBS and swapped normal and hisuian's samurotts stuff including the sprite names?
Idk if that made much sense lmao but essentially Hisuian samurott becomes normal samurott and vice versa in the PBS file
 
Idk if that made much sense lmao but essentially Hisuian samurott becomes normal samurott and vice versa in the PBS file
Sure, if all you care about is Hisuian Samurott in particular and aren't concerned with the rest, then that would work.
 
Oh and unrelated to the plugin, would there be a way to make a shop for pokemon? Ive been wanting to make like a store where you can but certain pokemon but never really asked about whether or not it'd be possible.
 
Oh and unrelated to the plugin, would there be a way to make a shop for pokemon? Ive been wanting to make like a store where you can but certain pokemon but never really asked about whether or not it'd be possible.
there's a Blaack Market there, but remember to remove return before "pbaddpokemon", and is incompatible with Arcky's Poke Market Plugin

https://eeveeexpo.com/resources/1693/
 
Last edited:
Reflect isn't working and brings up this in a loop i'm wondering if this is an issue from here?

[2025-06-08 20:05:16 +0100]
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Exception: NameError
Message: undefined local variable or method `effects' for #<Battle::Move::StartWeakenPhysicalDamageAgainstUserSide>

Backtrace:
MoveEffects_MoveAttributes:774:in `pbEffectGeneral'
Battler_UseMove:709:in `pbProcessMoveHit'
Battler_UseMove:409:in `block in pbUseMove'
Battler_UseMove:407:in `times'
Battler_UseMove:407:in `pbUseMove'
Battler_UseMove:51:in `block in pbProcessTurn'
PBDebug:6:in `logonerr'
Battler_UseMove:51:in `pbProcessTurn'
Battle_AttackPhase:128:in `block (2 levels) in pbAttackPhaseMoves'
Battle_AttackPhase:124:in `each'
 
Reflect isn't working and brings up this in a loop i'm wondering if this is an issue from here?

[2025-06-08 20:05:16 +0100]
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Exception: NameError
Message: undefined local variable or method `effects' for #<Battle::Move::StartWeakenPhysicalDamageAgainstUserSide>

Backtrace:
MoveEffects_MoveAttributes:774:in `pbEffectGeneral'
Battler_UseMove:709:in `pbProcessMoveHit'
Battler_UseMove:409:in `block in pbUseMove'
Battler_UseMove:407:in `times'
Battler_UseMove:407:in `pbUseMove'
Battler_UseMove:51:in `block in pbProcessTurn'
PBDebug:6:in `logonerr'
Battler_UseMove:51:in `pbProcessTurn'
Battle_AttackPhase:128:in `block (2 levels) in pbAttackPhaseMoves'
Battle_AttackPhase:124:in `each'
Lucidious mentioned in the same post you did in DBK that this likely isn't a plugin issue, but something in the base scripts (and nothing in the backtrace points to this being Gen 9 pack so I'm not sure why you thought this might have caused it). Did you make changes to the scripts? Can you show the current code for the class Battle::Move::StartWeakenPhysicalDamageAgainstUserSide < Battle::Move section? Your line 774 in MoveEffects_MoveAttributes doesn't match up with what it looks like in a clean version of Essentials.
 
#===============================================================================
# For 5 rounds, lowers power of physical attacks against the user's side.
# (Reflect)
#===============================================================================
class Battle::Move::StartWeakenPhysicalDamageAgainstUserSide < Battle::Move
def canSnatch?; return true; end

def pbMoveFailed?(user, targets)
if user.pbOwnSide.effects[PBEffects::Reflect] > 0
@battle.pbDisplay(_INTL("But it failed!"))
return true
end
return false
end

def pbEffectGeneral(user)
user..effects[PBEffects::Reflect] = 3
user.pbOwnSide.effects[PBEffects::Reflect] = 8 if user.hasActiveItem?(:LIGHTCLAY)
@battle.pbDisplay(_INTL("{1} raised {2}'s Defense!", @Name, user.pbTeam(true)))
end
end
Lucidious mentioned in the same post you did in DBK that this likely isn't a plugin issue, but something in the base scripts (and nothing in the backtrace points to this being Gen 9 pack so I'm not sure why you thought this might have caused it). Did you make changes to the scripts? Can you show the current code for the class Battle::Move::StartWeakenPhysicalDamageAgainstUserSide < Battle::Move section? Your line 774 in MoveEffects_MoveAttributes doesn't match up with what it looks like in a clean version of Essentials.
#===============================================================================
# For 5 rounds, lowers power of physical attacks against the user's side.
# (Reflect)
#===============================================================================
class Battle::Move::StartWeakenPhysicalDamageAgainstUserSide < Battle::Move
def canSnatch?; return true; end

def pbMoveFailed?(user, targets)
if user.pbOwnSide.effects[PBEffects::Reflect] > 0
@battle.pbDisplay(_INTL("But it failed!"))
return true
end
return false
end

def pbEffectGeneral(user)
user..effects[PBEffects::Reflect] = 3
user.pbOwnSide.effects[PBEffects::Reflect] = 8 if user.hasActiveItem?(:LIGHTCLAY)
@battle.pbDisplay(_INTL("{1} raised {2}'s Defense!", @Name, user.pbTeam(true)))
end
end
 
Back
Top