- 4
- Posts
- 3
- Years
- Seen Mar 2, 2025
Hello,
I've been recently adding a new Script to my game in the MegaEvolutions section, and I also added a PokemonForms.txt to my game's PBS. I also edited the PokeBattle_Battlers section (I think it was) accordingly. I'm using Pokémon Essentials 16.2 version. The issue is that after a battle in which I mega evolved a Pokémon, and with two Pokémons with Mega Stones in my team, when I check my Pokémon team in Menu after that battle and I arrive to the other Pokémon that holds a Mega Stone of the two, but that is the one I didn't mega evolved, this error message appears interrupting the game:
Exception: TypeError
Message: cannot convert true into Integer
PSystem_Utilities:1461:in `sprintf'
PSystem_Utilities:1461:in `pbCryFile'
PSystem_Utilities:1444:in `pbPlayCry'
PScreen_Summary:945:in `pbScene'
PScreen_Summary:907:in `loop'
PScreen_Summary:983:in `pbScene'
PScreen_Summary:997:in `pbStartScreen'
PScreen_Party:790:in `pbSummary'
PScreen_Party:1905:in `pbPokemonScreen'
PScreen_Party:1816:in `loop'
It is like I can't mega evolve two Pokémons or like If I have more than one Pokémon with a Mgea Stone, the game shows up an error pop-up message.
I would be very thankful If someone can help me out with this and knows why is this error occurring or knows what happens and how to fix it.
Thanks in advance.
I've been recently adding a new Script to my game in the MegaEvolutions section, and I also added a PokemonForms.txt to my game's PBS. I also edited the PokeBattle_Battlers section (I think it was) accordingly. I'm using Pokémon Essentials 16.2 version. The issue is that after a battle in which I mega evolved a Pokémon, and with two Pokémons with Mega Stones in my team, when I check my Pokémon team in Menu after that battle and I arrive to the other Pokémon that holds a Mega Stone of the two, but that is the one I didn't mega evolved, this error message appears interrupting the game:
Exception: TypeError
Message: cannot convert true into Integer
PSystem_Utilities:1461:in `sprintf'
PSystem_Utilities:1461:in `pbCryFile'
PSystem_Utilities:1444:in `pbPlayCry'
PScreen_Summary:945:in `pbScene'
PScreen_Summary:907:in `loop'
PScreen_Summary:983:in `pbScene'
PScreen_Summary:997:in `pbStartScreen'
PScreen_Party:790:in `pbSummary'
PScreen_Party:1905:in `pbPokemonScreen'
PScreen_Party:1816:in `loop'
It is like I can't mega evolve two Pokémons or like If I have more than one Pokémon with a Mgea Stone, the game shows up an error pop-up message.
I would be very thankful If someone can help me out with this and knows why is this error occurring or knows what happens and how to fix it.
Thanks in advance.
Last edited: