°Aslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&action=printpage;topic=402.0e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/indexaecf.htmlslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&topic=402.0e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/indexaecf.html.zx╬kg^                    ╚авбo<OKtext/htmlISO-8859-1gzip8:╓o<        Tue, 10 Mar 2020 10:44:54 GMT0є░░ о0оPоАз▓Ёо╬kg^Ho< Print Page - Question about the Event Data?

Board of Slick

Library of the Ancients => Final Fantasy IV Research & Development => Topic started by: Edea on March 10, 2008, 04:52:56 PM

Title: Question about the Event Data?
Post by: Edea on March 10, 2008, 04:52:56 PM
I was strolling along merrily with JCE's translation of FF4j.  I edited Rydia to have the White Magic menu as an adult, and even got her to learn White spells as she levelled up.  Everything was good...

...until I saw that she had two copies of Cure 2 in her White menu.

The hell?  I had it set to teach her Cure 2 at level 13.  That one was expected, and happened when she was still a child.  However, when she came back as an adult...another copy of Cure 2 was sitting at the end of the menu.  Whaaaa?

So I searched and searched for the reason why this was happening.  I looked at JCE's document (http://www.blitzkrieginnovations.net/ff2us_hacking_doc-v3.html) about offsets, and found one entitled "Event Data."  Well, sure, I guess Rydia joining is an event.  So I go to that offset and begin looking for "0F," which is Cure 2's hex ID.  I find this at 9399D:
Quote
E2 04 3A
E2 04 39
E2 04 36
E2 04 37
E2 04 38
E2 02 0F
E2 03 1E
E2 03 21
E2 03 24

...OK, that explains why Rydia got Cure 2 lodged into her White menu again when she rejoined.  But, uh...she's not supposed to learn White Magic anymore.  Why is that there?  :hmm:  Was she supposed to keep her White Magic originally or...?
Title: Re: Question about the Event Data?
Post by: Lenophis on March 10, 2008, 05:06:22 PM
I guess that depends. Does Rydia ever learn Cure 2 through levels as a child? If so, then it might be an intentional oversight (more likely a "we quit caring, cause she can't use it anyway" deal), and that you'd probably be better off giving her something else to learn. Perhaps if you leave out the white magic she auto-learns as a child? *shrug*
Title: Re: Question about the Event Data?
Post by: Phoenix on March 10, 2008, 05:18:01 PM
I made the same discovery, and I just assumed they were going to give her White Magic as an adult and decided not to. Same thing with Kain's casting stance (and I believe magic list 01), they just got cut somewhere along the way.
Title: Re: Question about the Event Data?
Post by: Deathlike2 on March 10, 2008, 05:28:58 PM
Someone probably figured that Rydia would be better than Rosa as a spellcaster.

Unfortunately, that's true by design.
Title: Re: Question about the Event Data?
Post by: Dragonsbrethren on March 10, 2008, 05:40:31 PM
Not to mention that if she retained her white magic, along with Kain, you'd end up with four healers in the final party. Shame that didn't happen, because Edge could really use four healers...
Title: Re: Question about the Event Data?
Post by: Edea on March 10, 2008, 05:41:50 PM
LOL, yeah, I'm sure she doesn't learn Cure 2 as a kid, so it seems like they cut it out.

$926FB-$9275D controls which spells Tellah recalls on Mt. Ordeals, if anyone's interested.  Might be nice to give him the Holy, Flare, or Quake spells in exchange for less useful fare.
Title: Re: Question about the Event Data?
Post by: Deathlike2 on March 10, 2008, 05:44:59 PM
Not to mention that if she retained her white magic, along with Kain, you'd end up with four healers in the final party. Shame that didn't happen, because Edge could really use four healers...

With the massive Will Power Kain can gain late game, sadly he could be better than Rosa magicwise. In fact, Rosa's stat growth is embarrassing to all White Mages.
Title: Re: Question about the Event Data?
Post by: Edea on March 10, 2008, 05:50:50 PM
I'll probably just redirect those last four spells (Cure2, Fire2, Ice2, and Bolt2) into the Call menu and turn their IDs into Imp, Bomb, Cocatrice and Mind Flayer.  Then, I'll rewrite her spells learned by level to include the level 2 spells, and maybe I'll do something different to the items that normally allow her to learn those summons.  I'm so happy Phoenix directed me to this place :D .
Title: Re: Question about the Event Data?
Post by: Phoenix on March 10, 2008, 10:52:28 PM
No prob. :finger: I was pointed here by JCE, so I was just paying the favor forward.
Title: Re: Question about the Event Data?
Post by: Deathlike2 on March 10, 2008, 11:02:03 PM
I'm just here because I liked JCE's hacks, but I love FF4 more than probably any of the FF SNES games.

Somehow we need a "how the heck did you get here thread".
Title: Re: Question about the Event Data?
Post by: Deathlike2 on January 16, 2009, 03:11:34 PM
I was strolling along merrily with JCE's translation of FF4j.

Don't you mean J2e's?  :tongue:

Quote
I find this at 9399D:

It looks like the offsets are different in FF2US (both revisions) and FF4ET...

That should be 0x939AB (headered, all SNES versions excluding FF4, 0x9399D FF4 headered)

$926FB-$9275D controls which spells Tellah recalls on Mt. Ordeals, if anyone's interested.  Might be nice to give him the Holy, Flare, or Quake spells in exchange for less useful fare.

0x92712 (headered, all SNES versions excluding FF4, 0x926FB FF4 headered)

 :edit:
Mega late edit for FF4 info
Title: Re: Question about the Event Data?
Post by: Deathlike2 on January 24, 2009, 07:46:23 AM
Rydia learns Fire1 @ 0x91B16 (headered, FF2US 1.0, 1.1, FF4ET), 0x91AFF (headered, FF4)

Rosa learns Exit @ 0x93234 (headered, FF2US 1.0, 1.1, FF4ET), 0x93226 (headered, FF4)

Edge learns Flood and Blitz @ 0x9446B (headered, FF2US 1.0, 1.1, FF4ET), 0x9445D (headered, FF4)
Title: Re: Question about the Event Data?
Post by: Deathlike2 on February 09, 2009, 06:58:15 PM
Can someone look into the event data... as to why there's an 8-byte difference between FF2 (both revisions) and FF4ET?

 :edit:
Differences between the versions would be interesting.. to say the least.. there's more than a 9 byte difference from FF4 to FF4ET and FF2US for the event data...
Title: Re: Question about the Event Data?
Post by: Deathlike2 on February 16, 2011, 10:06:02 PM
 :bump:
Quick bump for personal reasons and minor update to a post
Title: Re: Question about the Event Data?
Post by: Zozma on February 16, 2011, 11:39:04 PM
I see little activity on the ff4 section in general but im still playing around with mine as well. good to know about the cure2 spell being added too because i gave her white magic menu to someone else so i dont need that happening lol...
Title: Re: Question about the Event Data?
Post by: JCE3000GT on April 23, 2011, 03:29:17 PM
I can actually help explain this duplicating spells in more detail.  Anytime you have someone sharing the same spell menu ID--which is the Adult Caller sharing the Child Caller's spell menu ID for example--and when one learns a spell the other learns it thus duplicating it since it shares the same menu ID.  Try this, replace Cecils's White magic menu with Young Rydia's White magic menu and have Cecil learn a White spell at his next level up as well as Young Rydia and watch as both learn the spell twice.  This is the best I can remember about this issue--I think I might be missing something but maybe this will at least get it in the right direction.

Here's a video (http://www.youtube.com/watch?v=eCYtX7hnZEs) explaining what I'm on about.

Title: Re: Question about the Event Data?
Post by: Zozma on April 24, 2011, 12:40:40 PM
It's a shame the game has no check for this as that would allow the same menu to be used by a character you get later without bugs.

I don't suppose there is a way to extend the number of available magic menus? you'd think there are plenty but i had some "skills" in mind for characters like cid etc but i am already having to make Tellah, Golbez, and FuSoYa share the exact same white and black menus as well as sacrifice Edge's menu to a more useful magic user.
Title: Re: Question about the Event Data?
Post by: JCE3000GT on April 24, 2011, 09:29:32 PM
I haven't been able to increase the number of spell menu IDs.  But nothing ASM won't cure. 
Title: Re: Question about the Event Data?
Post by: Zozma on April 25, 2011, 01:47:06 AM
unfortunately I am merely a spriter and have only gone so far due to the nice work others have done. ASM isnt my forte
and on such an old-school game i doubt it worth the trouble. i really only made sprites on a site called FFH as well, everything else was secondary :P

I suppose for the 14.5 characters (fusoya half sprite) that do exist naturally and with 2.5 of them not using magic at all there are enough magic menus to work with...