øAslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&topic=2048.15e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index0478.htmldelayedslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&board=8.20e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index0478.html.zx1$h^ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÈ ,/|OKtext/htmlISO-8859-1gzip@øÕ|ÿÿÿÿÿÿÿÿÑHTue, 10 Mar 2020 23:51:37 GMT0ó°° ®0®P®€§²ð®0$h^ÿÿÿÿÿÿÿÿÌ$| New patch: Dead in the Air Bug fix

Poll

Which fix do you prefer?

Fix A: Delays Doom until entity lands.
2 (100%)
Fix B: Delays zeroing HP until entity lands.
0 (0%)

Total Members Voted: 2

Author Topic: New patch: Dead in the Air Bug fix  (Read 5535 times)

13375K31C43R

  • Ultros
  • *
  • Posts: 675
  • Gender: Male
    • View Profile
    • Leet Sketcher's Final Fantasy III Patches
Re: New patch: Dead in the Air Bug fix
« Reply #15 on: April 23, 2016, 11:38:28 AM »
I don't remember exactly what I saw that made me realize there was a problem, but basically that function is the main function for removing the Control link. What happens is that the controller, stored in Y, would stop chanting and their "who I'm controlling" variable would be cleared, while the submissive, stored in X, would no longer be turned away from the controller and their "who's controlling me" variable would be cleared. But because X and Y were interchanged, all of that got turned on its head.
"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: New patch: Dead in the Air Bug fix
« Reply #16 on: May 26, 2016, 08:53:52 PM »
Today I noticed a bug I'm fairly sure: while playing my game I had a character poisoned and almost dead when they jumped, and he died in the air due to a poison tic...and never came back down. I checked with the original game and noticed the character does fall back down, then dies. So I patched the original ROM with this patch since I had a suspicion (fix A-NX, to be precise) and the character was then stuck in the air when dying from poison. So I'm thinking this might indeed be a bug with this patch, though I'm not sure if it's just with fix-A or all of them as I didn't test all that.

Video demonstration:
Patched: https://www.youtube.com/watch?v=VtfQ9jdJIrc&feature=youtu.be
Non-patched: https://www.youtube.com/watch?v=lv3B8HVnpNU&feature=youtu.be
« Last Edit: May 26, 2016, 08:59:02 PM by TheNattak »

13375K31C43R

  • Ultros
  • *
  • Posts: 675
  • Gender: Male
    • View Profile
    • Leet Sketcher's Final Fantasy III Patches
Re: New patch: Dead in the Air Bug fix
« Reply #17 on: May 26, 2016, 09:57:16 PM »
Hmm... I think I know the reason why. It's because the game normally replaces Wound status with Air Anchor status if the character is Wounded while Jumping. I thought that only applied to Condemned status, but apparently it's also possible through Poison and, I assume, Seizure. This only applies to Fix A, not B, because B retains the "replace Wound with Air Anchor" function.

I guess I'm going to have to find some workaround for it then, which hopefully won't be too difficult or conflict with any of my other patches... :sad:
"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: New patch: Dead in the Air Bug fix
« Reply #18 on: May 31, 2016, 02:37:28 PM »
One thing I've noticed, now that I think about it: this patch was intended to fix specifically the issue of a living character with 0 HP, which can happen if Condemned expires on a Jumping character. However, since Poison and Seizure can still affect Jumping characters, that means this issue is still present. So the question then becomes, should I make it so that Jumping characters cannot take damage from Poison or Seizure or healing from Regen?

A more "perfect" fix IMO - and certainly a purer one - is to preserve the game's original function of replacing Wound status on Jumping characters with Air Anchor status, but add a function call during the "game ending" function and/or the "victory" function to make sure every living character with 0 HP is given Wound status, and therefore doesn't receive any EXP or Magic Points. That's also a fix I've been wanting to implement for a while now.
"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: New patch: Dead in the Air Bug fix
« Reply #19 on: May 31, 2016, 05:26:10 PM »
I thought about this as well, when thinking about which fix (A or B) actually makes more since, and then thought/saw how the character is still dead in the air with Fix B, which I've went over to due to the issue with Fix A. I feel that a jumping character should stay poisoned/seizure while in the air, since time is going by for them as well as the other characters, but I see the reason for blocking it if it's the only way.

I'm not sure I completely understand the more perfect fix idea, but I'm a bit absent minded at the moment so that figures.

I think a good fix if possible, would be to have the dead-in-the-air character fall down from jump in the dead pose, landing back with the party. :happy:

13375K31C43R

  • Ultros
  • *
  • Posts: 675
  • Gender: Male
    • View Profile
    • Leet Sketcher's Final Fantasy III Patches
Re: New patch: Dead in the Air Bug fix
« Reply #20 on: May 31, 2016, 06:53:06 PM »
I'm not sure I completely understand the more perfect fix idea, but I'm a bit absent minded at the moment so that figures.
Basically, the whole reason the game replaces Wound with Air Anchor status is so they'll have a chance to land. The reason the issue exists is because, if the battle ends with a character in this state, the game doesn't recognize that those characters are supposed to be dead.

I think a good fix if possible, would be to have the dead-in-the-air character fall down from jump in the dead pose, landing back with the party. :happy:
You're not the first to suggest that to me. I think it would take too much work.
"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: New patch: Dead in the Air Bug fix
« Reply #21 on: June 05, 2016, 11:27:43 PM »
There's another possible alternative. The big problem that Square addresses with a character dying while Jumping, by replacing Wound status with Air Anchor status, is that a character that is Wounded cannot move and therefore never gets a chance to land. So the alternative is, simply, prevent Wound status from preventing landing from a Jump.
"Do not meddle in the affairs of wizards, for they are subtle and quick to anger." -Gildor from The Lord of the Rings

Tenkarider

  • Guard Leader
  • *
  • Posts: 50
    • View Profile
Re: New patch: Dead in the Air Bug fix
« Reply #22 on: June 06, 2016, 09:04:32 AM »
could this change have side effects?

Looking forward to see the fix being released  :wink:

Imzogelmo

  • Ogopogo Aficianado
  • *
  • Posts: 241
  • Gender: Male
  • Ask me about my other job.
    • View Profile
    • NEPROMR
Re: New patch: Dead in the Air Bug fix
« Reply #23 on: June 06, 2016, 06:03:32 PM »
Personally I don't mind the switching Air Anchor status to the dead jumper (regardless of the cause of death). If it's not the final enemy target, this doesn't pose a problem. I think we just need a step right before closing out the battle to let the 0 HP characters die (could easily exclude the Zombies) and thus be left out of the XP and other rewards. I don't think it would be hard to make a little function to do that at the appropriate time.

5/31/16 - I have an assembly of the battle portion of C2, relocated to the F0 bank, which has both vanilla and patch code in my dropbox. I'll be updating it with additional patches as I have time. I will *not* be releasing it publicly, but ask me for the link and I'll share.

Tenkarider

  • Guard Leader
  • *
  • Posts: 50
    • View Profile
Re: New patch: Dead in the Air Bug fix
« Reply #24 on: June 06, 2016, 06:28:17 PM »
probably it's the best solution

13375K31C43R

  • Ultros
  • *
  • Posts: 675
  • Gender: Male
    • View Profile
    • Leet Sketcher's Final Fantasy III Patches
Re: New patch: Dead in the Air Bug fix
« Reply #25 on: June 07, 2016, 12:49:33 PM »
OK, I've managed to fix it the "right" way, but it'll be a while before I release the updated patch because I have an exam to study for and the fix I came up with conflicts with three different existing patches.
"Do not meddle in the affairs of wizards, for they are subtle and quick to anger." -Gildor from The Lord of the Rings

Xenovant

  • Tunnel Armor
  • *
  • Posts: 154
  • (ಠ_ಠ)
    • View Profile
Re: New patch: Dead in the Air Bug fix
« Reply #26 on: June 07, 2016, 04:38:37 PM »
OK, I've managed to fix it the "right" way, but it'll be a while before I release the updated patch because I have an exam to study for and the fix I came up with conflicts with three different existing patches.

Good luck, with the fix and with the exam :P

13375K31C43R

  • Ultros
  • *
  • Posts: 675
  • Gender: Male
    • View Profile
    • Leet Sketcher's Final Fantasy III Patches
Re: New patch: Dead in the Air Bug fix
« Reply #27 on: September 06, 2016, 12:29:40 PM »
:bump: Version 2.0.
"Do not meddle in the affairs of wizards, for they are subtle and quick to anger." -Gildor from The Lord of the Rings

Tenkarider

  • Guard Leader
  • *
  • Posts: 50
    • View Profile
Re: New patch: Dead in the Air Bug fix
« Reply #28 on: September 07, 2016, 12:13:32 AM »
does the esper bonus tweak have something to do with the fix, or it's just an extra thing?

13375K31C43R

  • Ultros
  • *
  • Posts: 675
  • Gender: Male
    • View Profile
    • Leet Sketcher's Final Fantasy III Patches
Re: New patch: Dead in the Air Bug fix
« Reply #29 on: September 07, 2016, 12:45:33 AM »
It's just an extra thing. Maybe I shouldn't even include it, but it's just a one-byte adjustment that anyone can change the way they want to. I just did it because I happened to be editing that part of the code in order to make space.
"Do not meddle in the affairs of wizards, for they are subtle and quick to anger." -Gildor from The Lord of the Rings