øAslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&topic=2317.0e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index8212.htmldelayedslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&board=8.80e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index8212.html.zx%h^ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÈЋ�b‰OKtext/htmlISO-8859-1gzip@øÕb‰ÿÿÿÿÿÿÿÿÑHTue, 10 Mar 2020 23:55:08 GMT0ó°° ®0®P®€§²ð®%h^³b‰ Kefka does "a deed without a name"

Author Topic: Kefka does "a deed without a name"  (Read 520 times)

13375K31C43R

  • Ultros
  • *
  • Posts: 675
  • Gender: Male
    • View Profile
    • Leet Sketcher's Final Fantasy III Patches
Kefka does "a deed without a name"
« on: December 11, 2016, 03:50:45 PM »
As this wiki article article explains, when you face Kefka at the Sealed Gate, he can do a special attack called Hit, but its name will not be displayed at the top; instead you see a blank window. I've done some debugging, and my take on it is that when that battle is loaded, the script for monster 174h (Kefka) is loaded, but it's run by a party member who is acting as an enemy because that's how Kefka's map sprite gets used in place of the enemy. Therefore, Kefka the party member uses his Special, which doesn't exist, instead of Kefka the monster.

The article also mentions other scenarios where characters are treated as enemies and can potentially use Special attacks, but not unless those attacks are hacked into the scripts. Even though I don't tend to worry about scenarios only accessible by hacking, the fact that the Special attack is loaded in the wrong way seems to be the issue. Or, alternatively, the fact that Kefka the party member doesn't have a monster ID seems to be why the Special attack is loaded in the wrong way.
"Do not meddle in the affairs of wizards, for they are subtle and quick to anger." -Gildor from The Lord of the Rings

assassin

  • Bane of Retards
  • *
  • Posts: 1,033
  • space bears are not gentle!
    • View Profile
    • My Barren Webpage
Re: Kefka does "a deed without a name"
« Reply #1 on: December 11, 2016, 05:40:25 PM »
... but does he do it in a town without a name, in a heavy downpour?

anyway, good work.  seems like the solution would be to supplement the C2/2D71 call (at C2/303E) with a duplication of C2/0616-061C and C2/2DC2-2DC8.  a full-on C2/0610 or $2DC1 call would probably be too much.  the trickier question is whether to load Regular weapon graphic too.

Shadow at Colosseum doesn't have a script, iirc, so would be fully unaffected by the Special change.  and returning Gau should be meaninglessly affected, as he doesn't attack.
« Last Edit: December 11, 2016, 06:22:56 PM by assassin »

Tenkarider

  • Guard Leader
  • *
  • Posts: 50
    • View Profile
Re: Kefka does "a deed without a name"
« Reply #2 on: December 11, 2016, 06:10:33 PM »
special attack name aside, does that screw animation, properties and effect as well?

13375K31C43R

  • Ultros
  • *
  • Posts: 675
  • Gender: Male
    • View Profile
    • Leet Sketcher's Final Fantasy III Patches
Re: Kefka does "a deed without a name"
« Reply #3 on: December 12, 2016, 12:33:37 PM »
seems like the solution would be to supplement the C2/2D71 call (at C2/303E) with a duplication of C2/0616-061C and C2/2DC2-2DC8.  a full-on C2/0610 or $2DC1 call would probably be too much.

Shadow at Colosseum doesn't have a script, iirc, so would be fully unaffected by the Special change.  and returning Gau should be meaninglessly affected, as he doesn't attack.

I agree with all of this. As far as displaying the attack name goes, what's important is setting $33A8,Y to equal the monster ID because otherwise it's stuck at #$FFFF and that's why an empty string is displayed.

the trickier question is whether to load Regular weapon graphic too.

I don't think this part is necessary because Kefka already has a Flail.

Quote
special attack name aside, does that screw animation, properties and effect as well?

Yes it does, because all Kefka does is walk forward briefly and miss someone. In theory, implementing the above solution should fix all of this.

Are there any patches that use the function at C2/F7A1? Because the game doesn't seem to call it anywhere and I don't want a conflict. I can do some space optimization there to avoid using free space.
"Do not meddle in the affairs of wizards, for they are subtle and quick to anger." -Gildor from The Lord of the Rings

13375K31C43R

  • Ultros
  • *
  • Posts: 675
  • Gender: Male
    • View Profile
    • Leet Sketcher's Final Fantasy III Patches
Re: Kefka does "a deed without a name"
« Reply #4 on: December 12, 2016, 01:27:03 PM »
OK, I have a patch in the works, but first I need to know if $3C82,Y and $322E,Y mean anything. I know $322D,Y is the Special attack ID and $3C81,Y is the graphics, but I have to store 16-bit values in those two RAM addresses to save space.
« Last Edit: December 12, 2016, 01:51:16 PM by 13375K31C43R »
"Do not meddle in the affairs of wizards, for they are subtle and quick to anger." -Gildor from The Lord of the Rings