It's been a while since the last guide, so it's time for a new one.
I'm assuming here that you're already familiar with the previous chapters and you know the basics about ROM hacking.
Ok, how do we get an animation from another game and put it in No Mercy?
I'll make an example using Virtual Pro Wrestling 2. I want to use one of the combo strike (the number '2' elbow). First, you need to find the animation value. In VPW2, P1's animation value is at 704C4.
If you look there while viewing this move, you'll see the value is '20DB'.
To find the ROM address we need the Toki3 values. Use this formula:
Toki3 = (animation - 1) * 4 + 80358A60
ROM = 152DF0 + Toki3
Toki3 = (20DB - 1) *4 + 80358A60 = 80360DC8
If you go there you'll see:
005FD456 (20DB's toki3)
005FD9B6 (20DC's toki3)
This move is a strike, so it uses only one animation (as opposed to grapples). While I'm here, I also get the value for the next move (that is needed to know where the animation ends in the ROM as I explained in the previous post).
I calculate the ROM addresses:
152DF0 + 5FD456 = 750246
152DF0 + 5FD9B6 = 7507A6
So, this Elbow strike begins at 750246 in ROM and the next move starts at 7507A6.
Now go to the VPW2 ROM at 750246. At the beginning you can see the Tokis2 (00 00 00 1A), write them down. Select the data and stop at 7507A6. The size of the selection should be '560' for this move.
Now use the Edit\Copy as Hex Data function (you need this to copy properly) and paste the data in the notepad.
Now, open the No Mercy ROM. If you're using the default one and you go at 01FA6B70 you'll see this:
We are at the end of the ROM data. The area starting with all those 'FFFF' is empty space and can be used as you wish. If you check the Back to Basics ROM you'll see how I've added several things there (those are mostly moves). In this example I'm using the default ROM and I'm adding this move right here at 01FA6B70.
So, I select '560' data in the ROM, select the data from the notepad and paste it (as 'OEM' text) in the ROM. Like I said previously, If you're doing it right you shouldn't get a message that prompts you to insert (if that happens you're using wrong sizes, try again).
Ok, now save (you backed up the original ROM before, right?)
Now, you have put the animation in the ROM, not replacing anything, but adding it. How do you use it in-game?
First, let's calculate the Toki3 address for No Mercy. We use a similar formula to the one we used in the 4th guide.
Toki3 = ROM address - 1BD1B0
Elbow's Toki3 = 01FA6B70 - 1BD1B0 = 01DE99C0
To use this animation, the Tokis must use these:
How can you proceed from here? There are a few options:
1) Change the Tokis of an existing move to replace it (like you would do for any hacks that uses Tokis3)
2) Change the Tokis of an unused move to replace it
3) Make a Custom MMM that uses a free animation (one that is not currently assigned to any MMM)
To make this guide simpler I'll use option 1 here. I want to replace the default Elbow Weak Strike
I replace them with:
If you go to SD Mall and preview the Weak Elbow Strike you'll see the new animation. It works like any animation in the game so you can use it as a splice for move hacks also.
That's it for now, let me know if you have questions
Here are the formulas for other games:
P1 Animation at: 5b124
Toki3 = (animation - 1) * 4 + 80358A20
ROM address = Toki3 + 144AA0
P1 Animation at: 706AC
Toki3 = (animation - 1) * 4 + 803B7C00
ROM address = Toki3 + DAC50
P1 Animation at: 593CC
Toki3 = (animation - 1) * 4 + 803BEB30
ROM address = Toki3 + 4AD00
Just follow the same method explained before and it should work fine.