øAslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&action=printpage;topic=1725.0e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index09dc.htmldelayedslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&topic=1725.0e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index09dc.html.zx Vh^ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÈ @j¿OKtext/htmlISO-8859-1gzip@øÕ¿ÿÿÿÿÿÿÿÿÑHWed, 11 Mar 2020 03:24:19 GMT0ó°° ®0®P®€§²ð® Vh^ ¿ Print Page - Strange object layering bug?

Board of Slick

Kingdome of Kefak => Pandora's Box => Topic started by: TheNattak on May 02, 2012, 12:19:59 PM

Title: Strange object layering bug?
Post by: TheNattak on May 02, 2012, 12:19:59 PM
I was alerted to this bug in my hack and thought it was something I did, but then I checked the original game and saw it was in there as well, so then I checked Pandora's Box to see if you guys may have corrected it, but I see it's still here as well:

(http://img100.imageshack.us/img100/3607/objectlayeringbug.png) (http://imageshack.us/photo/my-images/100/objectlayeringbug.png/)

As you may or may not be able to see, the merchant is standing on Edgar's head there, like the object layering priority switched or something.
This only happens when the merchant is talked to from the LEFT side.

I checked both the level editor and the code for the NPC's event @ CA/CA8D, it looks all good to me - all it does when talked to from the left is this:

CA/CAA5: 31    Begin action queue for character $31 (Party Character 0), 4 bytes long (Wait until complete)
CA/CAA7: 82        Move vehicle/entity down 1 tile
CA/CAA8: 81        Move vehicle/entity right 1 tile
CA/CAA9: CC        Turn vehicle/entity up
CA/CAAA: FF        End queue
CA/CAAB: FE    Return

There's no entrance event messing with it or anything, so its a mystery to me and I can't seem to fix it. =/
Re-setting the object layering priority in the code did not fix it. I know it's nothing big, but it does annoy the hell out of me.  :yabin: Any idea??
Title: Re: Strange object layering bug?
Post by: Lenophis on May 11, 2012, 08:06:48 AM
This bug is actually pretty common, scattered throughout the game. I have a theory that can fix this instance, but until I test it I won't know for sure.