јAslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&topic=2110.0e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index4eb2.htmlslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&board=8.120e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index4eb2.html.zx„%h^џџџџџџџџџџџџџџџџџџџџШр•ЄвкOKtext/htmlISO-8859-1gzip@јевкџџџџџџџџTue, 10 Mar 2020 23:57:17 GMT0ѓАА Ў0ЎPЎ€ЇВ№Ў„%h^џџџџџџџџWвк Hidon heals itself?

Author Topic: Hidon heals itself?  (Read 2045 times)

13375K31C43R

  • Ultros
  • *
  • Posts: 675
  • Gender: Male
    • View Profile
    • Leet Sketcher's Final Fantasy III Patches
Hidon heals itself?
« on: August 24, 2015, 03:46:25 PM »
I've been playing Final Fantasy III recently, I've gotten to fighting Hidon, and for some reason every once in a while he regenerates back to full health. I'm guessing this isn't normal, I have a feeling that one of my patches is responsible, but so far I've ruled out Dead in the Air Fix B and Phoenix Chest. Has anyone else encountered this problem?
"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: Hidon heals itself?
« Reply #1 on: August 24, 2015, 07:26:51 PM »
OK, I've found the actual cause: Hidon is an Undead monster and I'm attacking him with Locke's Wing Edge, which is in the same category of weapons as Shadow's Striker because it can insta-kill enemies with an X. The thing is, though, Hidon's immune to Instant Death, so the weapon does deal damage instead of showing an X...but then Hidon regenerates all his HP anyway.

Is this another bug? I find it illogical that Hidon should gain full HP even though the weapon didn't actually succeed in killing him because of his immunity to Instant Death.
"Do not meddle in the affairs of wizards, for they are subtle and quick to anger." -Gildor from The Lord of the Rings

TheNattak

  • Garula
  • *
  • Posts: 203
  • Gender: Male
  • Mike
    • View Profile
    • Return of the Dark Sorcerer
Re: Hidon heals itself?
« Reply #2 on: August 24, 2015, 09:47:51 PM »
It is illogical in that it makes little sense, being a weapon. I guess it is including the instant death property to fill it's HP back to full, like the Death spell does to them, or a character with the Relic Ring. Not sure if the weapon issue could be considered a bug really, or intentional, but it would be cool to have it not do that lol. So they spawn back but with their current HP.

Tenkarider

  • Guard Leader
  • *
  • Posts: 50
    • View Profile
Re: Hidon heals itself?
« Reply #3 on: August 25, 2015, 02:26:18 AM »
From MasterZed's bug list gamefaq:
------------------------------------------------------------------------------------
X-type instant death revives instant death-immune undead -

Normally, Striker, etc. will revive an undead monster or character on any hit
through the use of its X-type instant death.  This does not trigger if the
undead is immune to instant death, however, it will revive anyway.  For
monsters, there will merely be the sound of its revival if the damage wasn't
enough to kill it, and if there was enough damage, it will go through the
normal death/revival sequence.
-----------------------------------------------------------------------------------

It was one of the bugs i was searching for its fix, but since Life 3 on undeads bug fix already exists, i can tollerate this bug... me at least.

assassin

  • Bane of Retards
  • *
  • Posts: 1,033
  • space bears are not gentle!
    • View Profile
    • My Barren Webpage
Re: Hidon heals itself?
« Reply #4 on: August 25, 2015, 07:48:25 AM »
yep, agreed it's a bug.  it has a cousin in FF3us:

http://mnrogar.slickproductions.org/phpBB3/viewtopic.php?f=2&t=108&p=1355&hilit=jumps+kill+effect#p1355

if you fix one, it'd be nice to fix the other.   duplicating the relevant C2/388D checks in C2/3D43 is the most obvious way.  one that involves a little less free space would be to modify the branches in C2/388D, and execute "pla / pla / rts", so as to exit the caller.  of course, that assumes the game isn't hacked to let other functions call $388D.

i'm favoring the former.  but you'll want to be mindful of not changing Doom's functionality.

if C2/388D returned a flag when it attempted the insta-kill, that would've been nice.  editing the function to do so would likely conflict with my "Reflect barrier shown on bodyguards fix".  though maybe it can be deduced from checking $B5 and $B6, or $A4...
« Last Edit: August 25, 2015, 08:00:00 AM by assassin »

assassin

  • Bane of Retards
  • *
  • Posts: 1,033
  • space bears are not gentle!
    • View Profile
    • My Barren Webpage
Re: Hidon heals itself?
« Reply #5 on: August 26, 2015, 01:13:55 PM »
here goes:
http://assassin17.brinkster.net/patches/beta/undead-id-immune-1b.txt

the second way is 4 bytes smaller.  i could technically drop the "LDA $3AA1,Y ..." check there for another 7, but don't want to, because it'd make this patch too logically dependent on having Jump Megafix in place.

checking animation bytes seems kinda fudgy, so i might favor the first, larger method anyway.  EDIT: the FF6j variant would drop the non-landing jump checks. (unless you added corresponding ones to C2/388D-equivalent to prevent the disappearance bugs as FF3us did.)

also, kudos to Djibriel for discussing how an Undead ID Immune fix would go back in January 2005.
« Last Edit: August 26, 2015, 02:22:47 PM by assassin »

13375K31C43R

  • Ultros
  • *
  • Posts: 675
  • Gender: Male
    • View Profile
    • Leet Sketcher's Final Fantasy III Patches
Re: Hidon heals itself?
« Reply #6 on: August 27, 2015, 02:58:33 AM »
OK. I have another bug fix patch ready to go, then I'll tackle this.
"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: Hidon heals itself?
« Reply #7 on: August 27, 2015, 07:08:25 AM »
eh, i can do it.  know offhand which C2 space is still free?

13375K31C43R

  • Ultros
  • *
  • Posts: 675
  • Gender: Male
    • View Profile
    • Leet Sketcher's Final Fantasy III Patches
Re: Hidon heals itself?
« Reply #8 on: August 27, 2015, 12:59:00 PM »
You could try C2/A736-C2/A7DC. I don't know of any patches that occupy any free space in that section.
"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: Hidon heals itself?
« Reply #9 on: August 27, 2015, 03:10:29 PM »
thanks.  has something claimed C2/A7DD - C2/A7FF?  I ask because C2/A7F4 - C2/A7FF might be free in FF6j, unlike the rest of that block.

13375K31C43R

  • Ultros
  • *
  • Posts: 675
  • Gender: Male
    • View Profile
    • Leet Sketcher's Final Fantasy III Patches
Re: Hidon heals itself?
« Reply #10 on: August 27, 2015, 03:32:36 PM »
I've got no idea what free space is available in FF6j, only FF3us. C2/A7DD-C2/A7FF is claimed by Imzogelmo's "Color-coded MP digits" patch.
"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: Hidon heals itself?
« Reply #11 on: August 27, 2015, 10:35:51 PM »
You could also try C2/67DB-C2/67FF. As far as I'm aware, that section is unclaimed in both the US and Japanese ROMs and it's large enough for your fix.
"Do not meddle in the affairs of wizards, for they are subtle and quick to anger." -Gildor from The Lord of the Rings