• Welcome to Final Fantasy Hacktics. Please login or sign up.
 
March 28, 2024, 03:30:05 pm

News:

Please use .png instead of .bmp when uploading unfinished sprites to the forum!


Requesting 08 0C formula hacks

Started by scbw1234, July 15, 2014, 11:26:41 am

scbw1234

July 15, 2014, 11:26:41 am Last Edit: July 16, 2014, 01:07:50 pm by scbw1234
08 from Dmg_F(MA*Y) to Dmg_F((MA+Y)*MA/2
0C from Heal_F(MA*Y) to Heal_F((MA+Y)*MA/2

PS:I should of post this in the help section,could someone move this for me please?

Choto

Unless any of the other ASM'ers pop in to do these, they probably won't get done. You could do it yourself though. Look at this: http://ffhacktics.com/wiki/08_Dmg_F(MA*Y)

specifically these lines:

00188d9c: 0c061725 jal 0x 00185c94            Get Ability Power (Store MA and Y)

Jal commands jump to other routines of code. So you can see that this routine stores the math formula as MA and Y. Change this to jal 0x00185cc0 :  Base XA and YA for MA + Y / 2. This routine will store the mathematics you want.

Hint: Use MassHexASM, type jal 0x00185cc0 in the left text box and hit encode. Copy the hex on the right and that will go in the bold of this FFTorgASM hack:

<Location File= blah blah whatever else goes here>
01520408
00000000

</Location>

If you don't know what i'm talking about, go to your FFTorgASM folder and open one of the .xml files in a text editor. You will see that what I've posted is a makeshift snippet of a hack. You just need to make a hack like that to apply your jal 0x185cc0 code (using the hex that MasshexASM created).

Then look at :http://ffhacktics.com/wiki/0C_Heal_F(MA*Y)

I think you know what to do here.

If you see a laughing monkey at any time during this process, quit immediately and change career paths.