Author Topic: Summon Effect Data Peculiarities  (Read 5110 times)

Deathlike2

  • Moderator
  • *
  • Posts: 3,538
  • I'm looking at you, bitch!
    • View Profile
Re: Summon Effect Data Peculiarities
« Reply #15 on: March 13, 2008, 05:46:15 PM »
The Tower of Bab-il documents can be found on Romhacking.net, but here's the direct link:

http://www.romhacking.net/docs/%5B97%5Dff2usdocs.zip

Along with the offsets document from Yousei's FF4Edit, those files started me on my way to understanding the FF4 ROM. I think you'll find them helpful, although maybe not as much as I did since you know more starting off. But there's still some good tables and things in there, like the spell data and spell code explanation, and the enemy data table.

If you look in the spell code explanation document, they actually show the check for Cure4 when single targeting, so you're right on that. That's what makes me think the same goes for other spells.

Ok, I'll check that out.

Quote
As for Sylph, I don't think there is an "enemy attack" classification for spells, other than the 8-letter names vs 6-letter names. I think enemies simply don't take MP cost into account (since they don't even have MP data, right?). If you change an enemy attack to have an MP cost, enemies can still cast it (no matter the cost) but if you add the spell to your list, it will still cost your character MP.

It's not quite that. I mean it is "classified" as an enemy casted magic. Think of Milon (or Scarmilglione), before he becomes undead. He casts Lit-1, but even if you suck out all the MP from him, he can continues to cast it. Think of the Sylph spell in terms of enemy casted magic, and that's why it is operating as such. There is some bit that says "hey, I'm being casted by an enemy" and the game interprets that and makes it cost 0 MP as a result.

I'll post in a new thread my findings if there is anything of significance.
« Last Edit: March 13, 2008, 06:29:25 PM by Deathlike2 »
Working on the next Yet To Be Named FF4 "Hardtype" Hack Download Latest: v1.48

Video Demos: #1 #2 #3

Phoenix

  • FF4 Hacker
  • *
  • Posts: 456
    • View Profile
    • Phoenix Hacks
Re: Summon Effect Data Peculiarities
« Reply #16 on: March 13, 2008, 06:46:06 PM »
OK, I think I understand what you were saying: when Sylph is casted, the subroutine always thinks it's being casted by an enemy. Seems possible. If someone could figure out the ASM for the rest of the spell subroutines, we could see what's actually happening. I'll need to learn a little more before I'll be able to figure out, but maybe eventually I can see what the reason is.