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)
-   -   Other Wild Pokemon Changer (https://www.pokecommunity.com/showthread.php?t=351273)

DizzyEgg June 27th, 2015 11:56 AM

Wild Pokemon Changer
 
Does anyone know how to change what Pokemon are present in a certain area? For example, there are 3 Pokemon on route 1: X1, X2 and X3 and I'd like to replace them with a new set. I know there's a JPAN's hack for that but I have no idea how I should use it.

Lance32497 June 28th, 2015 7:38 PM

Quote:

Originally Posted by DizzyEgg (Post 8819175)
Does anyone know how to change what Pokemon are present in a certain area? For example, there are 3 Pokemon on route 1: X1, X2 and X3 and I'd like to replace them with a new set. I know there's a JPAN's hack for that but I have no idea how I should use it.

Special 0x58: Change Wild Data Hack

There are 3 ways to make it works, first is by loadpointer command, Second is by Setting the value to 8008 and 8009 in halves, lower halve in 8008 and upper in 8009 and lastly, by writebytetooffset.

So I'll show you the sample script, let's say the Wild data is stored in 08ABCDEF,

Loadpointer
Spoiler:

By using loadpointer command and bank 0x0, we can change the Wild Data,

...
loadpointer 0x0 0xABCDEF
special 0x58
...


Var 8008 and 8009
Spoiler:

...
setvar 0x8008 0xCDEF
setvar 0x8009 0x08AB
setvar 0x8005 0x0
setvar 0x8006 0x1
special 0x58
....

Writebytetooffset
Spoiler:

...
writebytetooffset 0xEF 0x203F48C
writebytetooffset 0xCD 0x203F48D
writebytetooffset 0xAB 0x203F48E
writebytetooffset 0x08 0x203F48F
...


That's all


All times are GMT -8. The time now is 2:31 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.