You are not logged in.
Pages: 1
Hello everyone !
2 years ago I made an evolution editor for the first gen of pokemon(french only). Im a big noob so i think the algorithm i did is very simple and inneficient.
I made a combobox and i added manually all the pokémon, then when you select a pokemon on the combobox it does something like this :
if (cb1.SelectedItem == "Bulbasaur")
{
if (gameCode == "YEL")
{
selectedPkm = "3ba06";
pkmLevel = "3ba07";
It looks like this for yellow version for exemple ! 3ba06 being the offset where the pokemon evos data is located and 3ba07 the lvl. Its VERY long to add manually all offset for both Yellow and blue/red
But by looking at equivalent hacktools i saw that some of them get the pokemon list directly from the pointersn how are they able to do that ?
Can someone post a really short exemple ? Like a hacktools that only show the pokemon list by reading it from a pointer so i can understand ?
thanks :)
Offline
This looks like Visual Basic or VBScript? Use SelectedIndex, not SelectedItem, and use that as the index into an array of pointers for the evo data, and another of pointers for the levels. Just search for "vbscript arrays", there are various tutorials.
My projects on GitHub:
• Polished Map 4.5.4 or 2.5.4++
• Tilemap Studio 3.2.2
• Pokémon Polished Crystal 2.2.0 or 3.0.0 beta
• Pokémon Red★/Blue★: Space World Edition 2020-11-01
Offline
This looks like Visual Basic or VBScript? Use SelectedIndex, not SelectedItem, and use that as the index into an array of pointers for the evo data, and another of pointers for the levels. Just search for "vbscript arrays", there are various tutorials.
Hey ! Thanks for your reply :)
It's C#, I will look for pointers array thanks :)
Offline
Pages: 1