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 JPAN Hacked Engine Change Pokemon (https://www.pokecommunity.com/showthread.php?t=348578)

Lance32497 May 7th, 2015 1:17 AM

JPAN Hacked Engine Change Pokemon
 
Quote:

Special 0x58 – Wild Pokémon Data Switch

Receives Arguments? Yes.
0x8006 = Pointer location
Key
0x0 = loaded with LoadPointer
0x1 = at variable 0x8008 and 0x8009, like special 0x56
0x2 = insert by hand or already there.
--------------------------------
Variable 0x8005 is the location. Same key as special 0x56 variable 0x8007

Returns values? No

Use this to switch the pokémon that appear in the map with a set of fresh new ones. I will briefly explain how the Wild pokémon data is laid out:

Name Bytes Description
Minimum level 1 The minimum level the pokémon appears at
Maximum Level 1 The maximum level the pokémon might appear at. Oddly enough, if this level is smaller than the previous one, the original game switches them both.
Pokémon species 2 The pokémon in-game number.

Repeat this for as long as you need for each type, that is:
 For grass wild data, place 12 pokémon, in order from least rare to most rare. Even if only one pokémon type appears in the entire route, fill all slots with pokémon, copies of the old ones. Any empty slots will lead to angry ??????? at LV 0, and nobody wants that.
There is a percentage table for the chances of appearance here, but I don’t have one, sorry.
 For Surfing area, place 5 pokémon from least rare to rarest. Fill every slot.
 For Tree Area, do the same as the Surfing area.
 For Fishing area, there are 10 pokemon to fill. The first two are caught by the Old Rod, the next three by the Good Rod and the last five by the Super rod

This will allow you to switch dynamically the Wild data on your map for all of the four, using a separate memory bank for each. That means that you can use all different wild data for all four or, if you wish, fill all with the same data. Just remember, you must fill each individually with the respective slot, on at a time, even if they’re equal.
does anyone here have a script for Wild Pokemon data Switch?
I had read ot many times but I'm so clueless for the vars I suppose to use

Lance32497 May 7th, 2015 5:28 AM

anyone


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