Soccersam
Hilbert is Badass
- 179
- Posts
- 8
- Years
- Seen Feb 26, 2024
So I had made some custom mega evolution sprites for in-game use, and had implemented everything accordingly in the scripts, just like I was supposed to. It works fine for the most part too- the sprite shows up correctly, the pokemon mega-evolves successfully. The problem comes afterwards.
After beating the mega evolved pokemon, it faints, but then, instead of the trainer being defeated, it sends out the same pokemon once more (with its HP in the red zone), this time however, it does not mega evolve and stays in its normal form.
I tried doing this with the default Leader_Brock event in Cedolan City. I replaced his first pokemon Geodude with Meganium (the pokemon who is supposed to mega-evolve), and kept his second pokemon, shiny Onix, intact. When I battle, he sends out Meganium. It mega-evolves successfully, I defeat it. Next, it sends out Onix. I defeat that too.
But then, it sends out Meganium once more, this time with very low HP, in the red zone. Even though I very clearly defeated it before.
What could be the possible causes for this? Has anyone here run into any problems while implementing custom mega evolutions?
After beating the mega evolved pokemon, it faints, but then, instead of the trainer being defeated, it sends out the same pokemon once more (with its HP in the red zone), this time however, it does not mega evolve and stays in its normal form.
I tried doing this with the default Leader_Brock event in Cedolan City. I replaced his first pokemon Geodude with Meganium (the pokemon who is supposed to mega-evolve), and kept his second pokemon, shiny Onix, intact. When I battle, he sends out Meganium. It mega-evolves successfully, I defeat it. Next, it sends out Onix. I defeat that too.
But then, it sends out Meganium once more, this time with very low HP, in the red zone. Even though I very clearly defeated it before.
What could be the possible causes for this? Has anyone here run into any problems while implementing custom mega evolutions?