• Welcome to Final Fantasy Hacktics. Please login or sign up.
 
June 14, 2025, 02:49:34 pm

News:

Don't be hasty to start your own mod; all our FFT modding projects are greatly understaffed! Find out how you can help in the Recruitment section or our Discord!


FFTA Modifying XP gain in battle

Started by johnsawyer, October 22, 2024, 09:39:44 pm

johnsawyer

Whats up yall,

I've been messing around with this for a while so figure I'd make a little write up here for the community so no one else has to suffer through the hex editing to figure this out like I did. Keep in mind that I am providing this data with very limited testing, especially with any edge cases, so take this with a grain of salt or at least as just a starting point.

If you are new to hex editing (like I was) you'll first want to get a hex editor like HxD (not sponsored) and open up your rom/gba file with it.
And this has been mentioned in another old thread (shout out @Darthatron) but the bytes to target reside at offset 0012e658 (which I would say is equivalent to saying "the 8th byte of line 12e658").

To change the xp gain of in battle attacks, you are going to target the two bytes at said offset, the default bytes should be `25 0C`.

Heres a table of values and their results that I have found:
65 0B: 8x xp gain
A5 0B: 4x xp gain
E5 0B: 2x xp gain (Originally provided by Dartharon)
65 14: 1/2 xp gain
A7 0B: 100xp
FE 0B: 97xp
E5 1D: 7xp
A5 1D: 6xp
AE 0B: 5xp
E5 1C: 3xp
A5 1C: 2xp
E5 4C: 1xp
BE 0B: 0xp
A5 14: 2xp +-1xp for target level difference

I am a novice when it comes to this, I have no idea how the calculation is done and exactly what these bytes do, hopefully there is no side effects to making these changes, I will respond in this thread if I ever find anything. If anyone knows more about how these values work and why I would love to learn if you're willing to share.

Hope this helps someone.
  • Modding version: Other/Unknown

dck

Great findings, very valuable post.
  • Modding version: Other/Unknown
  • Discord username: adri#1824