Quote:
Originally Posted by bluedart
Great, except for now, when I actually do need them.
Again, I'm trying to find the offsets of the actual effects since a romhack base that has too many useful effects to be removed has broken something I'd like to restore to its vanilla working order. I was hoping to use manual hex editing to do this, but I'd need to know the offset of the move to do that.
Hopefully that will clarify any further misunderstanding of the issue. Again, thank you for your attempted help thus far; hopefully this will only serve to help expedite the advance toward my goal.
Of course, there's no guarantee that restoring the data would actually work as I intend it to, but since I'm trying to debug this and it is the only lead I have I'm going to have to pursue it first.
|
The attack data table is at 0x250C04. To get to the move, multiply the index number of the move by 12, and then add that to the offset I just gave you. This is all in hex of course. You can find the index number by going to Bulbapedia and finding it (in decimal). There are probably other ways too.
Anyway, you'll need some sort of Hex calculator. I don't know what computer you have but I'm pretty sure every OS comes with one. There are also online ones too.
Anyway, once you have the offset, you'll want to select the 12 bytes at that offset in a clean FireRed. This is the default move data. Then you'll want to replace the data in the ROM you have with the vanilla data.
I haven't checked the ROM base you're using, but if they expanded the attack data table then the offset above will not be right. If you search for 04 0C 25 08 in the rom, and you get no results, you know they changed it.
That table has all the data you'd be able to edit in PGE. It might not work, however, if the changes to the move's effects were made to the battle script itself. In that case, you will want to get a Battle Script editor/compiler/decompiler and find and replaces the scripts with the ones from default FireRed.
Hopefully, this helped a little! If you have any more questions or want me to clarify anything feel free to ask.
__________________
"The human sacrificed himself, to save the Pokemon. I pitted them against each other, but not until they set aside their differences did I see the true power they all share deep inside. I see now that the circumstances of one's birth are irrelevant; it is what you do with the gift of life that determines who you are." -Mewtwo