26
Gameplay / Re: Simple Mod idea for Final Fantasy VIII, would it be easy to make?
« on: 2018-04-21 09:28:32 »
Should be easy enough to do if you know how to work with ff8.
The following patches in memory would do it for the English Steam version for stats other than hit or eva:
The way this works is that the following functions:
are called with the character level as a parameter and it's easy to pull this off the stack when it tries to get the value for the junctioned magic amount.
Hit and Eva are calculated in the following functions:
it's probably possible to change these too but it's more work than I'm willing to do.
The following patches in memory would do it for the English Steam version for stats other than hit or eva:
Code: [Select]
Address: 0x004966E5
From: 8A 14 4D F9 E0 CF 01
To: 8A 54 24 1C 90 90 90
Code: [Select]
Address: 0x00496788
From: 8A 14 4D F9 E0 CF 01
To: 8A 54 24 1C 90 90 90
Code: [Select]
Address: 0x004963CB
From: 8A 1C 45 F9 E0 CF 01
To: 8A 5C 24 14 90 90 90
The way this works is that the following functions:
Code: [Select]
0x496310: GetCharacterHP (int lvl, int char_id)
0x496440: GetCharacterStat (int lvl, int char_id, int stat)
are called with the character level as a parameter and it's easy to pull this off the stack when it tries to get the value for the junctioned magic amount.
Hit and Eva are calculated in the following functions:
Code: [Select]
0x4967C0: GetCharacterHit (int char_id)
0x4968A0: GetCharacterEva (int char_id, int unk1)
it's probably possible to change these too but it's more work than I'm willing to do.