View Single Post
  #50    
Old January 26th, 2013, 08:28 PM
SchokoInc
Unhatched Egg
 
Join Date: Nov 2012
well i actually did the same thing myself so i think i could help you :)

at first you copy all the code from the bite-offset and start replacing 08-bytes with FF until the game restarts exactly at the end of the animation :) If the animation plays fine, then you removed a 08-byte that didn't belong to the animation. If it stops midway, it was not the end of the animation and you have to restore it and replace the next 08 byte.
Alternatively in about 99% of all the cases an animation starts with 00 xx 27 or 00 xx 28 meaning you could search for the next 00 xx 27 or 00 xx 28 after your animation so just search for it at offset 1C3190 :) this way saves MUCH time :D

When you got your bite-animation-data just remove the final 08 bite and add the particles you need.

Now for the particles:
To get the thunder particle is quite easy: just remove the first 02 xx xx 3E 08 xx ... you see and all code until the next 02 xx xx 3E 08 so you remove the punching part. Then add the rest of the animation at the end of your bite animation, making them play after each other.

The fire- and ice-particles are harder to get, but if you remember which part you deleted in the thunderpunch animation this shouldn't be a big problem :) if you want to remove the ring of fire/ice in the beginning, just remove everything before the punch except the 00 xx 27 or 00 xx 28 parts as they load the graphics. If you want the ring to play BEFORE the bite, paste the bite animation at the position where you deleted the punch :)

Here is the code for the punchless fire-punch :)
00 9F 27 00 2D 27 00 97 27 0A 03 0C 0C 08 03 F9 A7 0B 08 0A 05 04 00 02 00 00 00 09 00 1F 00 02 E0 5B 3E 08 81 01 00 00 02 E0 5B 3E 08 81 01 40 00 02 E0 5B 3E 08 81 01 80 00 02 E0 5B 3E 08 81 01 C4 00 19 89 00 3F 05 02 10 67 3E 08 82 04 00 00 00 00 01 00 01 00 03 F9 89 09 08 02 05 01 00 00 00 03 00 0F 00 01 00 (paste the bite animation here if you want the ring) 0E 50 09 1D 08 04 04 19 8C 00 3F 05 03 F9 A7 0B 08 0A 05 04 00 00 00 09 00 00 00 1F 00 05 0B 03 0D 08

And this is the ringless punchless fire-punch (just paste this after your bite if you don't want the ring):
00 9F 27 00 2D 27 00 97 27 0A 03 0C 0C 08 03 F9 A7 0B 08 0A 05 04 00 02 00 00 00 09 00 1F 00 0E 50 09 1D 08 04 04 19 8C 00 3F 05 03 F9 A7 0B 08 0A 05 04 00 00 00 09 00 00 00 1F 00 05 0B 03 0D 08
Reply With Quote