Error when trying to nickname a newly hatched Pokémon, using a custom (old) hatching animation
Hello guys.
I'm having a problem with the Pokémon Essentials. What is happening is that time for me to put a nickname for a Pokémon that just hatched from an egg, that is, who has just been born, an error occurs that makes close the game.
The error that appears is below. (I put in writing and placed an image.)
WRITTEN FORM
IMAGE FORM
That's what's happening. And for example, the script that comes with the Essentials, which is the PokemonEggHatching, the error even before inserting the name of the newborn Pokémon. So I decided to put another script that I found on the Internet, but with him, I could write the name of the Pokémon, but the game crashes when I confirm the name of the newborn Pokémon, that is one mistake that I put up.
I will put two images: One with the PokemonEggHatching script, which is the standard Hatch Script Essentials, and another image with the script that I found on the internet.
ERROR THAT APPEARS WITH SCRIPT Pokemon Egg Hatching. (Essentials standard script.)
ERROR THAT APPEARS WITH SCRIPT THAT I thought INTERNET
The Script name I found on the Internet's Egg Hatch Animation FL, in case anyone wants to know.
Of course the fault was not of FL, I'm just talking about who owns script for you to know that I am using Script.
His topic link is this >>> https://www.pokecommunity.com/showthread.php?t=334257 <<<
Please if anyone can help me, thank you very much. I did what I could to try to get, which was actually almost nothing, because I can not mess around with scripts and I'm afraid it happens some bug in my game.
I am Brazilian, I hope you do not mind to help me so, and I'm sorry for bad English, I'm using Google Translate.
If anyone knows how to fix this, please help me. If anyone knows anything that can help, please tell me.
This is my first post, so excuse me for anything. Thank you in advance for any help.
Hello guys.
I'm having a problem with the Pokémon Essentials. What is happening is that time for me to put a nickname for a Pokémon that just hatched from an egg, that is, who has just been born, an error occurs that makes close the game.
The error that appears is below. (I put in writing and placed an image.)
WRITTEN FORM
Spoiler:
---------------------------
Pokemon Lendas Místicas
---------------------------
Exception: NameError
Message: undefined local variable or method `pokemon' for #<PokemonEggHatchScene:0x958f590>
Hatch Egg Animation:103:in `pbMain'
Hatch Egg Animation:160:in `pbStartScreen'
Hatch Egg Animation:170:in `pbHatch'
Hatch Egg Animation:167:in `pbFadeOutIn'
Hatch Egg Animation:167:in `pbHatch'
PokemonEggHatching:213
PokemonEggHatching:201:in `each'
PokemonEggHatching:201
PokemonEggHatching:199:in `call'
PBEvent:54:in `trigger'
This exception was logged in
C:\Users\Positivo\Saved Games/Pokemon Lendas Místicas/errorlog.txt.
Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
Pokemon Lendas Místicas
---------------------------
Exception: NameError
Message: undefined local variable or method `pokemon' for #<PokemonEggHatchScene:0x958f590>
Hatch Egg Animation:103:in `pbMain'
Hatch Egg Animation:160:in `pbStartScreen'
Hatch Egg Animation:170:in `pbHatch'
Hatch Egg Animation:167:in `pbFadeOutIn'
Hatch Egg Animation:167:in `pbHatch'
PokemonEggHatching:213
PokemonEggHatching:201:in `each'
PokemonEggHatching:201
PokemonEggHatching:199:in `call'
PBEvent:54:in `trigger'
This exception was logged in
C:\Users\Positivo\Saved Games/Pokemon Lendas Místicas/errorlog.txt.
Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
IMAGE FORM
Spoiler:
That's what's happening. And for example, the script that comes with the Essentials, which is the PokemonEggHatching, the error even before inserting the name of the newborn Pokémon. So I decided to put another script that I found on the Internet, but with him, I could write the name of the Pokémon, but the game crashes when I confirm the name of the newborn Pokémon, that is one mistake that I put up.
I will put two images: One with the PokemonEggHatching script, which is the standard Hatch Script Essentials, and another image with the script that I found on the internet.
ERROR THAT APPEARS WITH SCRIPT Pokemon Egg Hatching. (Essentials standard script.)
Spoiler:
ERROR THAT APPEARS WITH SCRIPT THAT I thought INTERNET
Spoiler:
The Script name I found on the Internet's Egg Hatch Animation FL, in case anyone wants to know.
Of course the fault was not of FL, I'm just talking about who owns script for you to know that I am using Script.
His topic link is this >>> https://www.pokecommunity.com/showthread.php?t=334257 <<<
Please if anyone can help me, thank you very much. I did what I could to try to get, which was actually almost nothing, because I can not mess around with scripts and I'm afraid it happens some bug in my game.
I am Brazilian, I hope you do not mind to help me so, and I'm sorry for bad English, I'm using Google Translate.
If anyone knows how to fix this, please help me. If anyone knows anything that can help, please tell me.
This is my first post, so excuse me for anything. Thank you in advance for any help.