øAslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&topic=727.msg6694e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index9151-2.htmlslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&action=profile;u=6;area=showposts;start=2010e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index9151-2.html.zx´ h^ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÈ .ýOKtext/htmlISO-8859-1gzip0|ÖýÿÿÿÿÿÿÿÿWed, 11 Mar 2020 08:42:52 GMT0ó°° ®0®P®€§²ð®³ h^ÿÿÿÿÿÿÿÿT!ý FF3/6 - Float Hates Inns and Tents

Author Topic: FF3/6 - Float Hates Inns and Tents  (Read 3601 times)

Deathlike2

  • FF4 R&D Master
  • *
  • Posts: 3,538
  • I'm looking at you, bitch!
    • View Profile
FF3/6 - Float Hates Inns and Tents
« on: August 18, 2008, 08:39:05 AM »
When you sleep in either form.. via Inns, Tents, or Sleeping Bag, the Float status is removed from the target, regardless if any of the character's equipment (Angel Wings/Cherub Down) has perma-Float status. Someone forgot about that minor check apparently as that is the only way of allowing one to cast Float on a character having the Angel Wings/Cherub Down equipped.

This is fixed in FF6A.
Working on the next Yet To Be Named FF4 "Hardtype" Hack Download Latest: v1.48

Video Demos: #1 #2 #3

assassin

  • Bane of Retards
  • *
  • Posts: 1,033
  • space bears are not gentle!
    • View Profile
    • My Barren Webpage
Re: FF3/6 - Float Hates Inns and Tents
« Reply #1 on: August 18, 2008, 09:53:59 AM »
good stuff.

[...] as that is the only way of allowing one to cast Float on a character having the Angel Wings/Cherub Down equipped.

actually, you can get Float off of a Cherub Down wearer using the "Death, Petrify, and Zombie lose permanent status beginning battle, but not immunity" bug.  then after the second battle, use Fenix Down on the character, and you'll be able to cast Float on them.  oddly, if you cast Life rather than using Fenix Down, their Float is restored..

Deathlike2

  • FF4 R&D Master
  • *
  • Posts: 3,538
  • I'm looking at you, bitch!
    • View Profile
Re: FF3/6 - Float Hates Inns and Tents
« Reply #2 on: August 18, 2008, 11:08:29 AM »
actually, you can get Float off of a Cherub Down wearer using the "Death, Petrify, and Zombie lose permanent status beginning battle, but not immunity" bug.  then after the second battle, use Fenix Down on the character, and you'll be able to cast Float on them.  oddly, if you cast Life rather than using Fenix Down, their Float is restored..

Well, the perma-status thing doesn't seem like a bug.. more like annoying behavior.

Life and Fenix Down probably use different checks, which is probably the case.
Working on the next Yet To Be Named FF4 "Hardtype" Hack Download Latest: v1.48

Video Demos: #1 #2 #3

assassin

  • Bane of Retards
  • *
  • Posts: 1,033
  • space bears are not gentle!
    • View Profile
    • My Barren Webpage
Re: FF3/6 - Float Hates Inns and Tents
« Reply #3 on: August 18, 2008, 11:25:40 AM »
Quote
Well, the perma-status thing doesn't seem like a bug.. more like annoying behavior.

no, it's a bug.  read the description in ZED's guide for how obnoxious it is.  it's like the inanimate Relic becomes capable of spite.

Deathlike2

  • FF4 R&D Master
  • *
  • Posts: 3,538
  • I'm looking at you, bitch!
    • View Profile
Re: FF3/6 - Float Hates Inns and Tents
« Reply #4 on: August 18, 2008, 11:33:34 AM »
Quote
Well, the perma-status thing doesn't seem like a bug.. more like annoying behavior.

no, it's a bug.  read the description in ZED's guide for how obnoxious it is.  it's like the inanimate Relic becomes capable of spite.


Speaking of which, is there a fix for this?

I think it has a lot to do with the animation code, but I could be wrong... there's something about a death status that requires some extra checks to be done, and that stuff has been carried over in FF6A (although, the bug you mentioned is fixed in FF6A anyways.. Life and Fenix Downs behave the same there).
Working on the next Yet To Be Named FF4 "Hardtype" Hack Download Latest: v1.48

Video Demos: #1 #2 #3

assassin

  • Bane of Retards
  • *
  • Posts: 1,033
  • space bears are not gentle!
    • View Profile
    • My Barren Webpage
Re: FF3/6 - Float Hates Inns and Tents
« Reply #5 on: August 18, 2008, 12:13:02 PM »
Quote from: Deathlike2
Speaking of which, is there a fix for this?

I think it has a lot to do with the animation code, but I could be wrong...

there's not a fix, and i don't think the bug is related to animation.  rather, it's because when you have a dead Wall Ringer (for instance) at the start of battle, the game will try to set Reflect and Wound statuses at the same time.  however, one of the "side effects" of Wound being set is to boot out other statuses -- including Reflect.

however, the game still sets Reflect immunity in an attempt to "lock in" Reflect status from your equipment (in this game, status immunities are 2-way).  and because you don't have Reflect, the immunity will serve to lock you out of the status rather than into it.

iirc, the fix would require some revamping of the status-granting code, and it'd be tricky to avoid changing other status-granting behavior.  one approach at the start of battle is to give characters their equipment-granted statuses, *then* give them their carried-in-from-outside-battle statuses (e.g. Wound).  at one point, i was thinking about adding an extra call to C2/4391 in function C2/27A8, or splitting off part of C2/27A8 into its own function so i could call it twice..  foggy on how it'd work.


Quote
there's something about a death status that requires some extra checks to be done, and that stuff has been carried over in FF6A (although, the bug you mentioned is fixed in FF6A anyways.. Life and Fenix Downs behave the same there)

how can you tell that Life and Fenix Downs behave the same on FF6A, given the Inn/Tent/etc related bug is fixed?  or were you testing this using the  "Death, Petrify, and Zombie lose permanent status beginning battle, but not immunity" bug?

Deathlike2

  • FF4 R&D Master
  • *
  • Posts: 3,538
  • I'm looking at you, bitch!
    • View Profile
Re: FF3/6 - Float Hates Inns and Tents
« Reply #6 on: August 18, 2008, 12:31:37 PM »
iirc, the fix would require some revamping of the status-granting code, and it'd be tricky to avoid changing other status-granting behavior.  one approach at the start of battle is to give characters their equipment-granted statuses, *then* give them their carried-in-from-outside-battle statuses (e.g. Wound).  at one point, i was thinking about adding an extra call to C2/4391 in function C2/27A8, or splitting off part of C2/27A8 into its own function so i could call it twice..  foggy on how it'd work.

Well, wouldn't the alternative is changing the Life/Fenix Down code to readd the statuses back on the character, or is that out of the question?


Quote
Quote
there's something about a death status that requires some extra checks to be done, and that stuff has been carried over in FF6A (although, the bug you mentioned is fixed in FF6A anyways.. Life and Fenix Downs behave the same there)

how can you tell that Life and Fenix Downs behave the same on FF6A, given the Inn/Tent/etc related bug is fixed?  or were you testing this using the  "Death, Petrify, and Zombie lose permanent status beginning battle, but not immunity" bug?

I was talking about the bug you referred to in your first reply. Life and Fenix Downs both revive the character with Float status instead of just Life.
Working on the next Yet To Be Named FF4 "Hardtype" Hack Download Latest: v1.48

Video Demos: #1 #2 #3

Lenophis

  • Forum Overlord
  • *
  • Posts: 1,688
  • Gender: Male
  • I sad
    • View Profile
    • Slick Productions
Re: FF3/6 - Float Hates Inns and Tents
« Reply #7 on: August 18, 2008, 12:38:36 PM »
When you sleep in either form.. via Inns, Tents, or Sleeping Bag, the Float status is removed from the target, regardless if any of the character's equipment (Angel Wings/Cherub Down) has perma-Float status.
The menu and event code doesn't keep tabs of immunity and blocking.

Quote
Someone forgot about that minor check apparently as that is the only way of allowing one to cast Float on a character having the Angel Wings/Cherub Down equipped.

This is fixed in FF6A.
Was it fixed, or did you open the menu and see the status re-applied? Remember, the equipment check function is called when you open the menu, so any statuses that need to be set will be set then.

Does imp behave the same way as float in this regard?

Well, wouldn't the alternative is changing the Life/Fenix Down code to readd the statuses back on the character, or is that out of the question?
It can't be re-added. When it attempts to set it and the blocking is also set, the blocking will prevent the status from ever being set again until the battle ends. One conceivable way to fix it would be to bypass the "status to set" bytes and manually set it in the "current status" bytes. This can be very dangerous, though.

:edit:
Just thought of something. The equpiment check function is versatile enough to be called from just about anywhere. I suppose a proposed fix would be to insert this call in the status removing event commands and check for the status you can have out of battle. Thoughts?

:edit:
Checking that code, all three routines (remove, set, and toggle) make no effort to check anything. They just directly do what they want. It's all mostly redundant code, too, so this could be optimized greatly for inserted calls.
« Last Edit: August 18, 2008, 12:52:15 PM by Lenophis »

119 bugs fixed and counting.

Deathlike2

  • FF4 R&D Master
  • *
  • Posts: 3,538
  • I'm looking at you, bitch!
    • View Profile
Re: FF3/6 - Float Hates Inns and Tents
« Reply #8 on: August 18, 2008, 12:50:09 PM »
Quote
Someone forgot about that minor check apparently as that is the only way of allowing one to cast Float on a character having the Angel Wings/Cherub Down equipped.

This is fixed in FF6A.
Was it fixed, or did you open the menu and see the status re-applied? Remember, the equipment check function is called when you open the menu, so any statuses that need to be set will be set then.

It is fixed. I'm not sure if the status is reapplied or that it was never removed in the first place (can't tell the difference since death status takes precedence, all statuses would be hidden I suspect anyways).  I'm very aware of how the equipment menus reapply/reinstate the status, so I don't touch those menus to check for this. The status itself does shows up again after revival from either method that was mentioned.

Quote
Does imp behave the same way as float in this regard?

No. Imp is removed after using said items or the inn. There is no perma-Imp status (unless you hack that in somehow).

Quote
Well, wouldn't the alternative is changing the Life/Fenix Down code to readd the statuses back on the character, or is that out of the question?
It can't be re-added. When it attempts to set it and the blocking is also set, the blocking will prevent the status from ever being set again until the battle ends. One conceivable way to fix it would be to bypass the "status to set" bytes and manually set it in the "current status" bytes. This can be very dangerous, though.

Someone's gotta live dangerously.
Working on the next Yet To Be Named FF4 "Hardtype" Hack Download Latest: v1.48

Video Demos: #1 #2 #3

assassin

  • Bane of Retards
  • *
  • Posts: 1,033
  • space bears are not gentle!
    • View Profile
    • My Barren Webpage
Re: FF3/6 - Float Hates Inns and Tents
« Reply #9 on: August 18, 2008, 01:32:48 PM »
Quote from: Deathlike2
I was talking about the bug you referred to in your first reply. Life and Fenix Downs both revive the character with Float status instead of just Life.

interesting.. are you sure you fought one more battle after dying in the first battle?

Deathlike2

  • FF4 R&D Master
  • *
  • Posts: 3,538
  • I'm looking at you, bitch!
    • View Profile
Re: FF3/6 - Float Hates Inns and Tents
« Reply #10 on: August 18, 2008, 01:35:42 PM »
Quote from: Deathlike2
I was talking about the bug you referred to in your first reply. Life and Fenix Downs both revive the character with Float status instead of just Life.

interesting.. are you sure you fought one more battle after dying in the first battle?


Yes... though I ran away, not that it should matter.
Working on the next Yet To Be Named FF4 "Hardtype" Hack Download Latest: v1.48

Video Demos: #1 #2 #3