Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Pokémon Essentials
Reload this Page [Question] MegaEvolution not reverting after battles

Notices
For all updates, view the main page.

Pokémon Essentials All questions and discussion about Pokémon Essentials, the Pokémon game kit for RPG Maker XP, go in here. Also contains links to the latest downloads and the Essentials Wiki.



Reply
 
Thread Tools
  #1    
Old 2 Weeks Ago (09:13 AM).
ZioCricco's Avatar
ZioCricco ZioCricco is offline
 
Join Date: Apr 2015
Posts: 8
Hi guys! Sorry for my english, i'm an italian guy.
Well, this is the problem: I've set the megaevolution in my project and it works but If i started a new battle the pokemon backsprite is still megaevoluted. I've tried also with the preimposted Venusaur and the problem is the same. What should i do?
Thanks. Cricco.
Reply With Quote
  #2    
Old 2 Weeks Ago (12:30 PM).
jmp172's Avatar
jmp172 jmp172 is offline
 
Join Date: Nov 2010
Gender: Male
Posts: 24
What have you changed in the scripts or added, if you could tell it would be of great help for us to help you.
Reply With Quote
  #3    
Old 2 Weeks Ago (12:53 PM).
ZioCricco's Avatar
ZioCricco ZioCricco is offline
 
Join Date: Apr 2015
Posts: 8
I've implemented the "Elite Battle 2015" by Luka-SJ!
And the script for the mega evolution is the preset of essentials!

MultipleForms.register(:VENUSAUR,{
"getMegaForm"=>proc{|pokemon|
next 1 if isConst?(pokemon.item,PBItems,:VENUSAURITE)
next
},
"getUnmegaForm"=>proc{|pokemon|
next 0
},
"getMegaName"=>proc{|pokemon|
next _INTL("Mega Venusaur") if pokemon.form==1
next
},
"getBaseStats"=>proc{|pokemon|
next [80,100,123,80,122,120] if pokemon.form==1
next
},
"ability"=>proc{|pokemon|
next getID(PBAbilities,:THICKFAT) if pokemon.form==1
next
},
"height"=>proc{|pokemon|
next 24 if pokemon.form==1
next
},
"weight"=>proc{|pokemon|
next 1555 if pokemon.form==1
next
},
"onSetForm"=>proc{|pokemon,form|
pbSeenForm(pokemon)
}
})
Reply With Quote
  #4    
Old 2 Weeks Ago (01:08 PM).
jmp172's Avatar
jmp172 jmp172 is offline
 
Join Date: Nov 2010
Gender: Male
Posts: 24
the script looks good to me it might be that the lukasj battle scripts are causing your dilema
Reply With Quote
  #5    
Old 2 Weeks Ago (01:23 PM).
ZioCricco's Avatar
ZioCricco ZioCricco is offline
 
Join Date: Apr 2015
Posts: 8
I really don't know... When start another battle after the megaevolution only the sprite of the pokemon is megaevoluted... i can re-click the button for the megaevolution without any change!
Reply With Quote
  #6    
Old 2 Weeks Ago (02:22 PM).
ZioCricco's Avatar
ZioCricco ZioCricco is offline
 
Join Date: Apr 2015
Posts: 8
I'm really sorry for the double post but i've discovered that the pokemon remais megaevoluted only when i megaevolve with a wild pokèmon. When i fight with a trainer is all normal!
Reply With Quote
  #7    
Old 2 Weeks Ago (02:32 PM).
jmp172's Avatar
jmp172 jmp172 is offline
 
Join Date: Nov 2010
Gender: Male
Posts: 24
Without looking at the data i cant really be of help but be patient probably maruno or lukas will see this post and know what to do sorry and good luck
Reply With Quote
  #8    
Old 2 Weeks Ago (02:34 PM).
ZioCricco's Avatar
ZioCricco ZioCricco is offline
 
Join Date: Apr 2015
Posts: 8
Thanks jmp172, i will wait.
Reply With Quote
  #9    
Old 2 Weeks Ago (10:44 AM).
ZioCricco's Avatar
ZioCricco ZioCricco is offline
 
Join Date: Apr 2015
Posts: 8
Could be an error in the script of wild pokemon?
Reply With Quote
  #10    
Old 1 Week Ago (01:47 AM).
ZioCricco's Avatar
ZioCricco ZioCricco is offline
 
Join Date: Apr 2015
Posts: 8
Up D:
Reply With Quote
  #11    
Old 1 Week Ago (01:53 AM).
mej71's Avatar
mej71 mej71 is offline
 
Join Date: Mar 2014
Location: Omnipresence
Gender: Male
Posts: 740
There's several places the un-mega-ing occurs, def pbWildBattle for instance. I'm fairly certain you've edited something else, as I've not had this problem with Luka's system. The un-mega-ing code looks like this
Code:
for i in $Trainer.party; (i.makeUnmega rescue nil); end
Reply With Quote
  #12    
Old 1 Week Ago (06:45 AM).
ZioCricco's Avatar
ZioCricco ZioCricco is offline
 
Join Date: Apr 2015
Posts: 8
In the script of the trainer i've this code, i've checked now!
where should I add it to so that it works even for the wild ?
Reply With Quote
  #13    
Old 1 Week Ago (10:27 AM).
Maruno's Avatar
Maruno Maruno is offline
Lead Dev of Pokémon Essentials
Moderator
 
Join Date: Jan 2008
Location: England
Posts: 4,021
It should already be there. What have you changed? Bearing in mind that you must have changed something.
__________________
Reply With Quote
Reply
Quick Reply

Sponsored Links
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are UTC -8. The time now is 03:02 PM.