Final Fantasy Hacktics

Modding => PSX FFT Hacking => Topic started by: ninjafusion007 on July 15, 2019, 10:14:23 am

Title: Get Jp Up
Post by: ninjafusion007 on July 15, 2019, 10:14:23 am
Hello,

Because I cant seem to find it, are there any ASM patches that allows you to change the amount of Jp that you get with Get Jp UP so you can get more?
Title: Re: Get Jp Up
Post by: Zenn on July 15, 2019, 10:37:58 am
Yes there are (only for PSX). I can think of this one (made by xjamxx and uploaded on github):
  <Patch name="JP Gain">
    <Description>Base JP Gain is 10 instead of 8 and job level goes by 4 instead of 2. Now you can gain up to 99 JP. Gained JP Up goes to spillover too.</Description>
    <Location file="BATTLE_BIN" offset="17E934" mode="ASM" offsetMode="RAM">
      sll v0,s7,0x02
      srl v1,s1,0x02
      addiu v1,v1,0x000a
      lbu a0,0x0090(s2) #Load Second Set of Supports
      addu s1,v0,v1
      andi v0,a0,0x0040
      beq v0,zero,JGS1 #Branch if Unit doesn't have Gained  JP Up
      sll v0,s1,0x01
      addu v0,v0,s1
      srl v1,v0,0x1f
      addu v0,v0,v1
      sra s1,v0,0x01
JGS1: lbu a0,0x0000(s0)
      nop
      bne a0,zero,JGS2
      nop
      addu s1,zero,zero
JGS2: lbu v0,0x0005(s2) #Load Unit's Team
      addu s0,zero,zero
      andi s3,v0,0x0030
JGLP: beq s0,s5,JGS4
      nop
      bgez s1,JGS3
      addu a1,s1,zero
      addiu a1,s1,0x0003
JGS3: addu a0,s0,zero
      sra a1,a1,0x02 #Gained JP / 4
      lw a3,0x0010(sp)
      jal 0x0017ea80 #Store JP; Calculate Unlocked Jobs
      andi a2,s3,0x00ff
JGS4: addiu s0,s0,0x0001
      slti v0,s0,0x0015
      bne v0,zero,JGLP
      nop
      addu a0,s5,zero
    </Location>
</Patch>

But if you only want to change the amount Get Jp UP gives:
  <Patch name="GET JP UP Gain">
    <Description>Gained JP Up mod by 2.</Description>
    <Location file="BATTLE_BIN" offset="17E9AC" mode="ASM" offsetMode="RAM">
      ori v0,zero,0x0002 #Times JP Up multiplies base JP gain
      multu s1,v0
      mflo s1
      nop
      nop
    </Location>
</Patch>
Title: Re: Get Jp Up
Post by: ninjafusion007 on July 15, 2019, 11:05:11 am
Ty Zenn !!! :D
Title: Re: Get Jp Up
Post by: Xifanie on July 15, 2019, 01:32:38 pm
Just remember that this will make the incentive even greater for players to equip the skill, as if most players weren't equipping it most of the game... sacrificing tactical advantage for faster growth. I just think it's better to raise the base JP earned and get rid of Gained JP Up altogether and let players use whatever support skills, but that's just me... I also don't remember if someone made such a hack. Probably!
Title: Re: Get Jp Up
Post by: Nyzer on July 15, 2019, 05:45:27 pm
Yeah, especially with early jobs being pretty lackluster, Gained JP Up is just too good to equip anything else until something like mid Ch. 3. I wouldn't really agree with boosting its effects.

Easier just to raise JP gains across the board. Or slash costs.
Title: Re: Get Jp Up
Post by: ninjafusion007 on July 15, 2019, 07:32:56 pm
Well, I have done many changes to the game to make it more challenging, also raised both Jp costs and Job Levels.. I just thought it would be nice to have something like that  :P
Title: Re: Get Jp Up
Post by: Nyzer on July 15, 2019, 08:48:20 pm
There's just too much emphasis on that skill instead of other supports. You end up using it basically until you've mastered your preferred jobs... it's just boring.