Visual Basic 6.0 HEX Editing Functions - For Hacking ROMs.
View Single Post
May 9th, 2008 (9:39 PM). Edited May 9th, 2008 by Darthatron.
Originally Posted by
Hey Darthatron buddy, it's been a while, since I asked you a question, but I need your wisdom to progress!
How do you get a listbox's list values to be data that the program has read from the ROM?
I'll explain what I mean:
I want the list of 'words' in the list box to be Pokémon. But the order is obviously dependant on what the program reads. If I got it to read data at &H30303 for example, and the hex-byte was 0A, I would want it to say "Caterpie", if it was FB I would want it to say "Celebi". This list would have to be as long as there as relevant bytes to change, so the list could be 251 'words' long.
I hope you understand that, cus I don't think i understand what I just wrote lol!
I think I understand....
ListBox.ListIndex = ReadHEX(LoadedROM, Location, 1)
Is that it? Unless you mean the list of Pokemon is jumbled up and you want to read the Byte, rather than the location?
First off you'd make the ItemData to the actual number of the Pokemon.
Check out this demo source and see if you can understand it. I did comment it, so it shouldn't be too difficult.
Hope I could help? If not try and rephrase the question. :D
あなた は しきしゃ です
わたし は ばか です
Joined Jan 2006
View Public Profile
Send a private message to Darthatron
Visit Darthatron's homepage!
Find all posts by Darthatron
Find threads started by Darthatron
Ignore Posts by Darthatron