• Welcome to Final Fantasy Hacktics. Please login or sign up.
 

Is there a way to make the formulas for Reis's Dragon skills affect a different

Started by RavenCurow, March 26, 2018, 10:38:17 pm

RavenCurow

monster.

I was looking at trying to make a class similar to Reis's Dragoner class that had abilities that can target different monsters. Like a beastmaster class or a chocobo knight or something along those lines.
  • Modding version: PSX
Ramza: Delita, your hurt?
Delita: No, really? Did you think I was taking a nap down here?

Xifanie

By ASM hacking, yes. You'd have to edit this code to affect the formulas checking if the target is a dragon: http://ffhacktics.com/wiki/Dragon_Check

  • 5A Dragon: Hit(100)%

  • 5B Dragon: Heal_(Y)% 100% Add Status

  • 5C Dragon: +Brave_(X) +PA/MA/SP(Y)

  • 5D Dragon: Set_Quick



I thought someone made a hack to change the Dragon requirement to Monster, but I couldn't find it.

Otherwise you'd have to edit existing formulas or create your own if you wanted something more than that.
  • Modding version: PSX
Love what you're seeing? https://supportus.ffhacktics.com/ 💜 it's really appreciated

Anything is possible as long as it is within the hardware's limits. (ie. disc space, RAM, Video RAM, processor, etc.)
<R999> My target market is not FFT mod players
<Raijinili> remember that? it was awful

RavenCurow

Whew, figures it would be something like that. Was hoping someone had already done it, but I guess I'll have to figure out how ASM coding works. Thanks for the help. Any recommendations on where to look for info for a beginner?

Edit: I found an ASM hack that another user posted some time ago but I'm not sure if it does what I'm looking for.

Quote from: FFMaster on October 24, 2012, 08:22:31 pm
Fun ASM hack here.

Reis formulas(Dragon hit only) becomes Monster Skill hit only

BATTLE.BIN
0x1205BC
1980023C
982D428C
E8FFBD27
92004290
1000BFAF
80004230
00000000
00000000

The bolded numbers can be changed to fit any RSM. Check the wiki for which numbers correspond to which RSM.


From what I can tell it either changes the formula to hit monster only or his characters with the beastmaster support only.
  • Modding version: PSX
Ramza: Delita, your hurt?
Delita: No, really? Did you think I was taking a nap down here?

Xifanie

Yeah, it seems to only hit units with the Monster Skill ability equipped, which... I don't see the point of such an ability?

You also didn't say what you wanted though.
  • Modding version: PSX
Love what you're seeing? https://supportus.ffhacktics.com/ 💜 it's really appreciated

Anything is possible as long as it is within the hardware's limits. (ie. disc space, RAM, Video RAM, processor, etc.)
<R999> My target market is not FFT mod players
<Raijinili> remember that? it was awful

RavenCurow

I would be satisfied with changing those formulas to check for any monster.
  • Modding version: PSX
Ramza: Delita, your hurt?
Delita: No, really? Did you think I was taking a nap down here?

Xifanie

Well, if we look at this page: http://ffhacktics.com/wiki/Battle_Stats

15E isn't listed, but according to the code documentation (http://ffhacktics.com/wiki/Dragon_Check), it stands for the Monster Graphic. A really easily solution if you just want any monster, is instead to target the Monster gender. Which, as far as battle stats are concerned, is 0x0006, with flag 0x20 for Monster.

All we need to do is load that byte instead of the monster graphic, and check if the flag is set:
lbu r2, 0x0006(r2)        Load Target's Gender
nop
andi r2, r2, 0x0020       Gender = Monster
nop


I also made a xml with the code since the hack was so simple, although I think I just wasted my time because I think JotF already has such a hack lol.

To anyone out there interested in ASM hacking, it's just that simple with code documentation, so why not give it a try?

PS: I didn't test it but I'd be really surprised if it didn't work.
  • Modding version: PSX
Love what you're seeing? https://supportus.ffhacktics.com/ 💜 it's really appreciated

Anything is possible as long as it is within the hardware's limits. (ie. disc space, RAM, Video RAM, processor, etc.)
<R999> My target market is not FFT mod players
<Raijinili> remember that? it was awful

RavenCurow

Thanks a lot! I'll go ahead and give it a try. I'll also look into learning ASM. I looked a bit at the tutorial last night, but the hex stuff gave me a headache lol. Can't be any worse than learning to subnet through. That stuff was torture.
  • Modding version: PSX
Ramza: Delita, your hurt?
Delita: No, really? Did you think I was taking a nap down here?

3lric

It happens. Pretty much everything that we do here that goes outside of FFTP can seem very daunting at first, but with enough patience, dedication and trial/error, you can learn rather quickly.
  • Modding version: PSX