FF6 Hacking
Coin Flip Fix - Printable Version

+- FF6 Hacking (https://www.ff6hacking.com/forums)
+-- Forum: Hacks, Resources and Tutorials (https://www.ff6hacking.com/forums/forum-1.html)
+--- Forum: Jidoor Auction House (https://www.ff6hacking.com/forums/forum-4.html)
+---- Forum: Patches, Bugfixes, Tweaks (https://www.ff6hacking.com/forums/forum-15.html)
+---- Thread: Coin Flip Fix (/thread-3735.html)



Coin Flip Fix - Gi Nattak - 08-14-2018

Thanks to a recent observation by @Lufia over the discord, there exists a small graphical bug that shows itself when Celes flips the coin event, so I made a little event code edit patch that fixes the issue. The issue exactly is that the very moment that Celes flips the coin during the events on the Blackjack, for a micro-split second of a single frame, when the coin object is being created and shown, it interferes with Celes's pose and causes her to become garbled. This is very hard to notice, especially if you blink, but it is there. So all this patch does is re-order the code a bit to create the object first before her action queue, then show it as normal, which was all it takes to fix this up.

Download: https://ff6hacking.com/patches/coin_flip_fix.zip

Broke original pic: https://imgur.com/PCEhP5F
Fixed pic: https://imgur.com/vzzr9Y2


RE: Coin Flip Fix - assassin - 08-14-2018

so you've created a patch that only Phil Mickelson can truly appreciate?  a bit specialized, but still a worthwhile and technically solid effort, and a good find by Lufia.

(seriously, watch interviews and other videos of that guy sometime.  if you don't come to the conclusion that he's an inhuman fiend, maybe part lizard -- or at the very least, some sorceror with a never-ending saline stash -- then i'll have to label you as part of the invading force.)


RE: Coin Flip Fix - Gi Nattak - 08-14-2018

These sort of patches are my specialty lol. Always happy to take the initiative!
I'm not too sure what to make of this bug, though, exactly, after looking at some other LPs here:

https://youtu.be/kVujUVeqv28?list=PLa38YJsyG7Og0-EjkTaq4cWwmZr8oJJFS&t=511
at 8:30 you can see it

https://youtu.be/I98AmWzp9Bs?t=6873
at 1:54 you can see it

https://youtu.be/dDbT6ps8erY?list=PL076E714267E62329&t=511
at 8:30 it doesn't happen.

https://youtu.be/yZE0vdqQoZ8?list=PLEop2b5XGOdOWkFHx2BUcoIipq6ms1xaI&t=2029
at 33:49 it doesn't happen.

Without much testing I'm not too sure if there's a certain condition that causes it to always happen, or if it's just one of those things that can be a bit random due to the creation of the coin object being almost back to back with the showing of the coin object, without much pause, or maybe while in the midst of a character action such as Celes here.


RE: Coin Flip Fix - Warrax - 08-15-2018

I'm pretty sure I noticed other cases like that in the game but not as garbled tho. Is this kind of glitch always linked to events?


RE: Coin Flip Fix - Gi Nattak - 08-15-2018

I think it's a case of the create an object being so close to the show object command (literally back to back in this case) that the graphic doesn't have the extremely small pause it needs to figure out what exactly it's supposed to be, still figuring out the various flags which are used for these sort of objects/sprites. I'd bet there are other instances of this that can appear. There's no real need to create the object that late in the event as to put it right before the show object command, but I see they do it that way a lot. I think even a Refresh Objects 45 in between the two (which they also do a bunch) is enough to cause a slight pause to not have this happen...and there's the chance that's what the command was actually meant for lol.

So yeah I'd say the instances where the create and show command for an object are put back to back might have a chance for this graphical glitch, depending on the circumstance and sprite trying to be loaded.


RE: Coin Flip Fix - Tenkarider - 08-15-2018

just my 2 cents... is there any chance that actually it's an intended animation? i mean, to make her look like she's tossing the coin, in animations the middle frames are often less detailed since people doesn't have enough time to observe those frames


RE: Coin Flip Fix - Gi Nattak - 08-15-2018

No it's most definitely not intended, 100% sure. It's the coin sprite still figuring out what it's supposed to be. Those sprites past I think index 63 use flags to determine what sprite and properties they are supposed to be exactly (set in the level editor), and they will need a slight pause before being shown to not cause this glitchyness. How would that garbled mess of graphic be a coin-tossing animation for Celes lol?