• Welcome to Final Fantasy Hacktics. Please login or sign up.
 
July 03, 2025, 07:18:15 pm

News:

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


Small request

Started by Kaedre, November 15, 2012, 12:47:22 pm

Kaedre

I found this ASM somewhere in the forum:

"Blank support below Non-Charge increases damage and healing by X%. Blank support 2 under Non-Charge reduces damage/healing by 20%"

<Location file="BATTLE_BIN" offset="11F580">
        ba600508
   00000000
       </Location>

       <Location file="BATTLE_BIN" offset="F12E8">
64000324
1980043C
942D848C
00000000
92008490
00000000
02008430
02000410
00000000
   </Location>
    <Variable file="BATTLE_BIN" offset="f130c" default="14" name="X"/>
   <Location file="BATTLE_BIN" offset="F130d">
006324   
1980043C
982D848C
00000000
92008490
00000000
01008430
02000410
14000234
23186200
12200000
00000000
00000000
18006400
12180000
00000000
64000424
1A006400
1980033C
902D638C
62190608
00000000


Can it be changed to "Blank support below Non-Charge increases healing by X%"?

RavenOfRazgriz

Not easily, that ASM checks against the final output of your formula, healing only would require you to either specify it as only Undead Reverse-able healing (piggybacking the Undead Reverse routine, basically only affecting White Magic) or to create a list of specific formula that can be boosted, which gets... messy.

Kaedre

Quote from: RavenOfRazgriz on November 18, 2012, 06:53:23 pm
Not easily, that ASM checks against the final output of your formula, healing only would require you to either specify it as only Undead Reverse-able healing (piggybacking the Undead Reverse routine, basically only affecting White Magic)


No problem with that. I can use a support ability ( let's call it "Clarity") for my Cleric job class (similar to Priest) that can boost at least white magic healings.
I'm  not a hacker/modder, so i will be grateful if you or someone else can write this ASM for me.
For now, i thank you for the response and the attention to my request.

Pd: Forgive my english. I know it's poor.

Kaedre

So sorry, i messed things and forget something very important.  I HAVE TO CHANGE THE REQUEST to this:

"Blank support below Non-Charge increases healing by XX%. Blank support 2 under Non-Charge reduces healing by XX%"

Basically, i want to remove the damage buff/debuff from this ASM.

Sorry again for the mistake.

Choto

I'll look into it over the thanksgiving break.. I forget how that ASM works

Pride

iirc FFMaster made that ASM in the XA * YA calculation at x00186568, which is why it affects both healing and damage HP changes. You'd probably need to run a check for the HP Damage (   0x0190 in the unit battle ram) and branch if it is not 0.
  • Modding version: PSX
Check out my ASM thread. Who doesn't like hax?