The PokéCommunity Forums

The PokéCommunity Forums (https://www.pokecommunity.com/index.php)
-   Binary ROM Hacking (https://www.pokecommunity.com/forumdisplay.php?f=284)
-   -   Script [Script Help FireRed!] Change level up by rare candy (https://www.pokecommunity.com/showthread.php?t=434090)

NeoPlayerX April 25th, 2020 3:31 PM

[Script Help FireRed!] Change level up by rare candy
 
Hello!
I would like to change the level value that rare candy give to pokemon.
Is there possible?
I've tried to find pointer to edit script but I'm only failed :c (I'm very beginner)
Thanks =)

mr_chub March 11th, 2021 5:14 PM

Bump, looking for this answer too!

Asith March 11th, 2021 11:00 PM

afaik (never tried hacking this) rare candy simply works by looking up the growth rate table for the pokemon species the player selects and directly obtaining the amount of exp it needs to reach its current level + 1. Then it just fixes that number of exp onto the pokemon. If you're working in decomp, it would probably be as easy as changing the + 1 to whatever level increase you want. I'm not sure exactly where you would find that value if you're trying this in binary hacking though.

Manekimoney March 12th, 2021 3:38 AM

Quote:

Originally Posted by Asith (Post 10310143)
afaik (never tried hacking this) rare candy simply works by looking up the growth rate table for the pokemon species the player selects and directly obtaining the amount of exp it needs to reach its current level + 1. Then it just fixes that number of exp onto the pokemon. If you're working in decomp, it would probably be as easy as changing the + 1 to whatever level increase you want. I'm not sure exactly where you would find that value if you're trying this in binary hacking though.

One possible way would be to use decomp to change the value and build the rom file from that (so you have a fire red rom file with the only change being the "+1" change). Then you compare that file to an unmodified Fire Red file in a hex editor and see exactly what byte changed.
Just note that some changes (and perhaps even this one) mess up the entire hex structure of the built file, making it impossible to compare the rom files. The only way to find out would be to try it out.


All times are GMT -8. The time now is 9:18 AM.


Like our Facebook Page Follow us on Twitter © 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.

Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.