Aslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&topic=2172.0e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index7416-2.htmlslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&board=8.60e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index7416-2.html.zx$h^ЋOKtext/htmlISO-8859-1gzip8:Tue, 10 Mar 2020 23:53:45 GMT0 0P$h^ Patch: Stuck in a Pose fix

Author Topic: Patch: Stuck in a Pose fix  (Read 1283 times)

silentenigma

  • Ymir
  • *
  • Posts: 15
    • View Profile
    • SilentEnigma's Cool Things
Patch: Stuck in a Pose fix
« on: February 21, 2016, 08:49:21 PM »
Here's another patch I've whipped up to fix the "Stuck in a Pose" bug from Novalia Spirit's 100+ bugs thread.

Quote from: Novalia Spirit
After any event-dictated movement occurs, the hero sprite may appear to be stuck in its last pose or its walking pose. The easiest way to see this is to go up and down some stairs. Most of the time, if you stop walking, the hero sprite should appear in a walking pose. Other examples of this are when you jump on a turtle, when trying to go up a conveyor belt to no avail, and after a scene where your party was split temporarily.
...
One better example of this bug is when you're within the airship and talk to the guy who can unequip your characters. While you do so, the hero sprite should look South and be in a walking pose, yet, even if the said guy isn't South of the hero sprite, you can still talk to him since the game still considers you're facing him.

This patch inserts a check to ensure that the character's standing-still sprite is being used whenever the player has control, but is not pressing any directional buttons. I'm pretty sure there won't be any circumstances where that creates a problem (but let me know if anyone thinks of any). It uses 38 free bytes in the C0 bank below my "Sliding Dash" patch.

Cheers!

Edit: The patch has been updated as of Feb. 18, 2017 to address a bug described in  this thread.
Edit2: The patch has been updated once more as of Feb. 19, 2017 to smooth out a blip in the sprite animation, which occurs right after Setzer gives the airship tutorial.
« Last Edit: February 19, 2017, 07:23:11 PM by silentenigma »

13375K31C43R

  • Ultros
  • *
  • Posts: 675
  • Gender: Male
    • View Profile
    • Leet Sketcher's Final Fantasy III Patches
Re: Patch: Stuck in a Pose fix
« Reply #1 on: February 21, 2016, 11:47:32 PM »
I never really noticed this bug in most the cases you just mentioned, but I have noticed in some moments like right before you enter Daryl's Tomb, the player sprite will appear to be looking to one side. I assume that that's basically what this fixes, right?
"Do not meddle in the affairs of wizards, for they are subtle and quick to anger." -Gildor from The Lord of the Rings

silentenigma

  • Ymir
  • *
  • Posts: 15
    • View Profile
    • SilentEnigma's Cool Things
Re: Patch: Stuck in a Pose fix
« Reply #2 on: February 26, 2016, 02:43:50 AM »
I'm pretty sure there are countless cases. I hadn't noticed those listed by Novalia Spirit either, but my pet example is at the end of Terra's first scene with Edgar - The scene concludes with Terra looking down and saying the line "But I'm hardly... normal...", and the player regains control with her head still nodded. It sticks out in my mind because it took me a few seconds to realize that the scene had actually ended!

Also I'm not sure about your example (It's actually been awhile since I last did a full playthrough...), but if it's a case where the player has movement control, is not pressing any buttons, and the character is making any pose other than the usual "standing still in x direction", then this patch applies.
« Last Edit: February 26, 2016, 02:50:04 AM by silentenigma »

TheNattak

  • Garula
  • *
  • Posts: 203
  • Gender: Male
  • Mike
    • View Profile
    • Return of the Dark Sorcerer
Re: Patch: Stuck in a Pose fix
« Reply #3 on: February 26, 2016, 11:36:46 AM »
I'm not sure how that example could be considered a bug really though, if the event coders simply left out or most likely opted to not have the character (Terra) look back up.
As for the examples listed by Novalia Spirit, those most certainly are. So this patch will raise Terra's head back up (as per your example) after that event? But not by event, by code? Interesting...

silentenigma

  • Ymir
  • *
  • Posts: 15
    • View Profile
    • SilentEnigma's Cool Things
Re: Patch: Stuck in a Pose fix
« Reply #4 on: February 26, 2016, 12:18:05 PM »
I agree it's a gray area, and some might prefer my example unaltered. But for most cases, I tend to gravitate towards this being a result of lazy design/coding. What actually convinced me was Novalia's last example, where the player ends up being able to talk to an NPC when the hero sprite appears to be facing away. To me it seems like the event programmer(s) thought that a check like mine would kick in after the end of each scene, while the field gameplay programmer(s) thought that each scene would be fully resolved before giving back control to the player.

The stairs example is definitely a minor bug, though, since it's such an inconsistent effect.

13375K31C43R

  • Ultros
  • *
  • Posts: 675
  • Gender: Male
    • View Profile
    • Leet Sketcher's Final Fantasy III Patches
Re: Patch: Stuck in a Pose fix
« Reply #5 on: February 04, 2017, 01:21:33 PM »
A bug was found with this patch. Details here.
"Do not meddle in the affairs of wizards, for they are subtle and quick to anger." -Gildor from The Lord of the Rings

silentenigma

  • Ymir
  • *
  • Posts: 15
    • View Profile
    • SilentEnigma's Cool Things
Re: Patch: Stuck in a Pose fix
« Reply #6 on: February 18, 2017, 08:11:16 PM »
A bug was found with this patch. Details here.

The patch has now been updated to address this bug, and now uses 21 bytes fewer free space. Thanks Leet Sketcher for rapidly finding a solution. Any additional feedback is always welcome.