• 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.

Project: Generation 6 for Pokémon Essentials (Pokémon sprites and PBS files)

Hey there!

For some reason my game crashes every time a Pokémon levels up.


After a battle


Exception: RuntimeError



Message: Script error within event 3, map 80 (Route 2):



Exception: NoMethodError



Message: Section098:1030:in `pbEvolutionCheck'undefined method `pbCheckEvolution' for Kernel:Module



***Full script:



pbTrainerBattle(PBTrainers::YOUNGSTER,"Alex",_I("Chu.."),false,0,false,0)



Interpreter:243:in `pbExecuteScript'



PField_Field:1027:in `each'



PField_Field:1027:in `pbEvolutionCheck'



PField_Field:1154



PField_Field:1149:in `call'



Event:54:in `trigger'



Event:49:in `each'



Event:49:in `trigger'



PTrainer_NPCTrainers:368:in `pbTrainerBattle'



PTrainer_NPCTrainers:343:in `pbBattleAnimation'







Interpreter:276:in `pbExecuteScript'



Interpreter:794:in `command_111'



Interpreter:320:in `execute_command'



Interpreter:193:in `update'



Interpreter:106:in `loop'



Interpreter:198:in `update'



Scene_Map:103:in `update'



Scene_Map:101:in `loop'



Scene_Map:114:in `update'



Scene_Map:68:in `main'



Using Rare Candy

Exception: NoMethodError

Message: undefined method `pbCheckEvolution' for nil:NilClass

PItem_Items:318:in `pbChangeLevel'

PItem_ItemEffects:757

PItem_ItemEffects:752:in `call'

Event:150:in `trigger'

PItem_Items:229:in `triggerUseOnPokemon'

PItem_Items:674:in `pbUseItem'

PItem_Items:666:in `loop'

PItem_Items:687:in `pbUseItem'

PItem_Items:662:in `pbFadeOutIn'

PItem_Items:662:in `pbUseItem'

Help's much appreciated!
 
Help plz! I tried everything!!!! but i only see pokemon from gen 5 and not gen 6!!!!
I have the gen 6 Icons,Pictures,Battlers,Etc
But they dont appear in-game
SOMEONE PLZ HELP ME I BEG
 
Help plz! I tried everything!!!! but i only see pokemon from gen 5 and not gen 6!!!!
I have the gen 6 Icons,Pictures,Battlers,Etc
But they dont appear in-game
SOMEONE PLZ HELP ME I BEG

you need to add the pokemon to Pokemon.txt file in the Pbs folder
[PokeCommunity.com] Project: Generation 6 for Pokémon Essentials (Pokémon sprites and PBS files)
 
Hi there.

I'm curious to ask if the Gen 6 project is still being worked on? I only ask because on the front page mej71 said "I will add the scripts at a later moment, but this will get you going for now". Does that mean there are further changes to the scripts that need doing, or did they simply mean they would update the download to include the scripts with the changes shown on the front page?
 
Hi there.

I'm curious to ask if the Gen 6 project is still being worked on? I only ask because on the front page mej71 said "I will add the scripts at a later moment, but this will get you going for now". Does that mean there are further changes to the scripts that need doing, or did they simply mean they would update the download to include the scripts with the changes shown on the front page?

No longer being worked on, but there's nothing else to do. That section was simply to add links to other posts which contain some of the extra scripts I had added to the project (inverse battles, the new healing center, etc). These are posted, I just didn't add the links. I don't update this or most of my scripts anymore because PokeCommunity takes an incredibly time to load anything if I'm logged in, and the longer the post the longer it takes. If you haven't noticed, I left the original two posts in a spoiler in the main posts, so it's incredibly large, and trying to even edit it takes forever to save changes or even just errors out. Tried on several different devices and browsers.
 
So I installed the battler folder (without EBS) but instead of animating the sprites are just one long picture. This is everywhere, pokedex, in battle, summary, you name it. Help?
 
which part is ability message script?

It's not included. In the old Gen 6 download, which is still in the post, just in a spoiler, but is based on v15, it's there. It's something that is nearly impossible to add as a standalone script, since it's called numerous times in many different methods throughout the battle system, which have at least a few changes every single Essentials release.
 
It's not included. In the old Gen 6 download, which is still in the post, just in a spoiler, but is based on v15, it's there. It's something that is nearly impossible to add as a standalone script, since it's called numerous times in many different methods throughout the battle system, which have at least a few changes every single Essentials release.
so, it's impossible to add the script in v16?
 
Ok! Some lines of script on the main page are incorrect.

Code:
# 0 = no parameter
  # 1 = Positive integer
  # 2 = Item internal name
  # 3 = Move internal name
  # 4 = Species internal name
  # 5 = Type internal name
  EVOPARAM=[0,    # Unknown (do not use)
    0,0,0,1,0,    # Happiness, HappinessDay, HappinessNight, Level, Trade
    2,2,1,1,1,    # TradeItem, Item, AttackGreater, AtkDefEqual, DefenseGreater
    1,1,1,1,1,    # Silcoon, Cascoon, Ninjask, Shedinja, Beauty
    2,2,2,2,3,    # ItemMale, ItemFemale, DayHoldItem, NightHoldItem, HasMove
    4,1,1,1,4,    # HasInParty, LevelMale, LevelFemale, Location, TradeSpecies
    3,1,1,1,1,1,  # HappinessMoveType, TypeDark, LevelRain, LevelDay, LevelNight, Upsidedown Level
    0,0,0          # HappinessMale, HappinessFemale,
  ]

Should be

Code:
# 0 = no parameter
  # 1 = Positive integer
  # 2 = Item internal name
  # 3 = Move internal name
  # 4 = Species internal name
  # 5 = Type internal name
  EVOPARAM=[0,    # Unknown (do not use)
    0,0,0,1,0,    # Happiness, HappinessDay, HappinessNight, Level, Trade
    2,2,1,1,1,    # TradeItem, Item, AttackGreater, AtkDefEqual, DefenseGreater
    1,1,1,1,1,    # Silcoon, Cascoon, Ninjask, Shedinja, Beauty
    2,2,2,2,3,    # ItemMale, ItemFemale, DayHoldItem, NightHoldItem, HasMove
    4,1,1,1,4,    # HasInParty, LevelMale, LevelFemale, Location, TradeSpecies
    [COLOR="Red"]5[/COLOR],1,1,1,1,1,  # HappinessMoveType, TypeDark, LevelRain, LevelDay, LevelNight, Upsidedown Level
    0,0,0          # HappinessMale, HappinessFemale,
  ]

also

Code:
if poke<=PBSpecies.maxValue && 
           (evo&_EVODATAMASK)==_EVOPREVFORM && # evolved from
           [PBEvolution::Level,PBEvolution::LevelMale,
           PBEvolution::LevelFemale,PBEvolution::AttackGreater,
           PBEvolution::AtkDefEqual,PBEvolution::DefenseGreater,
           PBEvolution::Silcoon,PBEvolution::Cascoon,
           PBEvolution::Ninjask,PBEvolution::Shedinja,
           PBEvolution::LevelDay,PBEvolution::LevelNight,
           PBEvolution::LevelDarkInParty,PBEvolution::LevelRain].include?(evonib)
          ret=(ret==-1) ? level : [ret,level].min
          break
        end

Should be!

Code:
if poke<=PBSpecies.maxValue && 
           (evo&_EVODATAMASK)==_EVOPREVFORM && # evolved from #LevelDarkInParty
           [PBEvolution::Level,PBEvolution::LevelMale,
           PBEvolution::LevelFemale,PBEvolution::AttackGreater,
           PBEvolution::AtkDefEqual,PBEvolution::DefenseGreater,
           PBEvolution::Silcoon,PBEvolution::Cascoon,
           PBEvolution::Ninjask,PBEvolution::Shedinja,
           PBEvolution::LevelDay,PBEvolution::LevelNight,
           PBEvolution::[COLOR="Red"]TypeDark[/COLOR],PBEvolution::LevelRain].include?(evonib)
          ret=(ret==-1) ? level : [ret,level].min
          break
        end

And

Code:
when PBEvolution::LevelDarkInParty
    if pokemon.level>=level
      for i in $Trainer.party
        return poke if !i.isEgg? && i.hasType?(:DARK)
      end
    end

Should be!

Code:
when PBEvolution::[COLOR="Red"]TypeDark[/COLOR]
    if pokemon.level>=level
      for i in $Trainer.party
        return poke if !i.isEgg? && i.hasType?(:DARK)
      end
    end

This should fix alot if errors for people.

To add Sylveon's evolution in the PSB
Code:
Evolutions=VAPOREON,Item,WATERSTONE,JOLTEON,Item,THUNDERSTONE,FLAREON,Item,FIRESTONE,LEAFEON,Location,465,GLACEON,Location,433,[COLOR="Red"]SYLVEON,HappinessMoveType,FAIRY,[/COLOR]ESPEON,HappinessDay,,UMBREON,HappinessNight,

Needs to be before Espeon and Umbreon so it check first.
 
Last edited:
Ok! Some lines of script on the main page are incorrect.

Code:
# 0 = no parameter
  # 1 = Positive integer
  # 2 = Item internal name
  # 3 = Move internal name
  # 4 = Species internal name
  # 5 = Type internal name
  EVOPARAM=[0,    # Unknown (do not use)
    0,0,0,1,0,    # Happiness, HappinessDay, HappinessNight, Level, Trade
    2,2,1,1,1,    # TradeItem, Item, AttackGreater, AtkDefEqual, DefenseGreater
    1,1,1,1,1,    # Silcoon, Cascoon, Ninjask, Shedinja, Beauty
    2,2,2,2,3,    # ItemMale, ItemFemale, DayHoldItem, NightHoldItem, HasMove
    4,1,1,1,4,    # HasInParty, LevelMale, LevelFemale, Location, TradeSpecies
    3,1,1,1,1,1,  # HappinessMoveType, TypeDark, LevelRain, LevelDay, LevelNight, Upsidedown Level
    0,0,0          # HappinessMale, HappinessFemale,
  ]

Should be

Code:
# 0 = no parameter
  # 1 = Positive integer
  # 2 = Item internal name
  # 3 = Move internal name
  # 4 = Species internal name
  # 5 = Type internal name
  EVOPARAM=[0,    # Unknown (do not use)
    0,0,0,1,0,    # Happiness, HappinessDay, HappinessNight, Level, Trade
    2,2,1,1,1,    # TradeItem, Item, AttackGreater, AtkDefEqual, DefenseGreater
    1,1,1,1,1,    # Silcoon, Cascoon, Ninjask, Shedinja, Beauty
    2,2,2,2,3,    # ItemMale, ItemFemale, DayHoldItem, NightHoldItem, HasMove
    4,1,1,1,4,    # HasInParty, LevelMale, LevelFemale, Location, TradeSpecies
    [COLOR="Red"]5[/COLOR],1,1,1,1,1,  # HappinessMoveType, TypeDark, LevelRain, LevelDay, LevelNight, Upsidedown Level
    0,0,0          # HappinessMale, HappinessFemale,
  ]

also

Code:
if poke<=PBSpecies.maxValue && 
           (evo&_EVODATAMASK)==_EVOPREVFORM && # evolved from
           [PBEvolution::Level,PBEvolution::LevelMale,
           PBEvolution::LevelFemale,PBEvolution::AttackGreater,
           PBEvolution::AtkDefEqual,PBEvolution::DefenseGreater,
           PBEvolution::Silcoon,PBEvolution::Cascoon,
           PBEvolution::Ninjask,PBEvolution::Shedinja,
           PBEvolution::LevelDay,PBEvolution::LevelNight,
           PBEvolution::LevelDarkInParty,PBEvolution::LevelRain].include?(evonib)
          ret=(ret==-1) ? level : [ret,level].min
          break
        end

Should be!

Code:
if poke<=PBSpecies.maxValue && 
           (evo&_EVODATAMASK)==_EVOPREVFORM && # evolved from #LevelDarkInParty
           [PBEvolution::Level,PBEvolution::LevelMale,
           PBEvolution::LevelFemale,PBEvolution::AttackGreater,
           PBEvolution::AtkDefEqual,PBEvolution::DefenseGreater,
           PBEvolution::Silcoon,PBEvolution::Cascoon,
           PBEvolution::Ninjask,PBEvolution::Shedinja,
           PBEvolution::LevelDay,PBEvolution::LevelNight,
           PBEvolution::[COLOR="Red"]TypeDark[/COLOR],PBEvolution::LevelRain].include?(evonib)
          ret=(ret==-1) ? level : [ret,level].min
          break
        end

And

Code:
when PBEvolution::LevelDarkInParty
    if pokemon.level>=level
      for i in $Trainer.party
        return poke if !i.isEgg? && i.hasType?(:DARK)
      end
    end

Should be!

Code:
when PBEvolution::[COLOR="Red"]TypeDark[/COLOR]
    if pokemon.level>=level
      for i in $Trainer.party
        return poke if !i.isEgg? && i.hasType?(:DARK)
      end
    end

This should fix alot if errors for people.

To add Sylveon's evolution in the PSB
Code:
Evolutions=VAPOREON,Item,WATERSTONE,JOLTEON,Item,THUNDERSTONE,FLAREON,Item,FIRESTONE,LEAFEON,Location,465,GLACEON,Location,433,[COLOR="Red"]SYLVEON,HappinessMoveType,FAIRY,[/COLOR]ESPEON,HappinessDay,,UMBREON,HappinessNight,

Needs to be before Espeon and Umbreon so it check first.

I've fixed all this in the main post, and it no longer requires changing any scripts, just the PBS files.
 
This is My First Post here on Pokecommunity so if i did wrong pls help me.I just put this gen 6 for pokemon essentials replaced pbs and stuff but now when i open editor.exe i get this

---------------------------
Pokemon Essentials
---------------------------
Exception: NameError

Message: uninitialized constant PBColors

Compiler:1680:in `pbCompilePokemonData'

Compiler:4098:in `pbCompileAllData'

Compiler:4212



This exception was logged in

C:\Users\ADMIN\Saved Games/Pokemon Chaos Red/errorlog.txt.

Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
 
I feel like the main page is missing some essential script edits used to get this to work.. When I downloaded the PBS files and updated my B/W essentials(w/Elite Battle added), all it would do is give me scripts errors for items and evolutions such as Syveon.

Is the first post missing something?
 
Hi, I'm new to the majority of this and i was wondering, is it just the pbs files i'm supposed to download? Because when i boot up the game it only goes up to genesect in the debug menus
 
I feel like the main page is missing some essential script edits used to get this to work.. When I downloaded the PBS files and updated my B/W essentials(w/Elite Battle added), all it would do is give me scripts errors for items and evolutions such as Syveon.

Is the first post missing something?
The first post says v16 multiple times. Klein's BW kit is based on v15, so you're a version behind.

Hi, I'm new to the majority of this and i was wondering, is it just the pbs files i'm supposed to download? Because when i boot up the game it only goes up to genesect in the debug menus

I imported it into a fresh v16 essentials and it works fine for me. Try forcing to compile. If that doesn't work, maybe you just put it in the wrong folder?
 
The first post says v16 multiple times. Klein's BW kit is based on v15, so you're a version behind.



I imported it into a fresh v16 essentials and it works fine for me. Try forcing to compile. If that doesn't work, maybe you just put it in the wrong folder?

My apologies. I didn't realize that B/W kit was based on v15. Thank you for the response.
 
Is there a way to update Klein's BW Kit to function with this?

Not without a lot of scripting. Klein's kit is based off of v15, and this utilizes v16. So it would require a lot of porting of Klein's scripts, which could be very error ridden if you don't know what you're doing.
 
Back
Top