øA slickproductions.org /forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&action=printpage;topic=2009.0 e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index4363.html slickproductions.org /forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&topic=2009.0 e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index4363.html.z x p+g^ ÿÿÿÿ ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÈ 0#0 Î_ OK text/html ISO-8859-1 gzip 0|Ö Î_ ÿÿÿÿÿÿÿÿ Tue, 10 Mar 2020 06:10:15 GMT 0ó° °® 0® P® €§² ð® o+g^ c Î_
Print Page - Command Stances
Board of Slick
Library of the Ancients => Final Fantasy IV Research & Development => Topic started by: chillyfeez on February 08, 2015, 02:52:27 PM
Title: Command Stances
Post by: chillyfeez on February 08, 2015, 02:52:27 PM
Alright, research on Command Stances and Poses complete! As stated before, each stance is composed of 4 poses. The game will cycle through these four poses as long as the stance is held. The duration the stance is held depends, of course, on the purpose of the stance. So charging stance for Black magic if you're casting Meteo is a very long time, whereas for physical commands it can be very quick.
The table of Poses assigned to each stance is located (again, as stated previously) at $09/FD85 (ROM with header). Each entry is four bytes (one for each pose in the stance). The breakdown of what each value does is as follows:
00:Normal 01:Parry 02:Spread legs (as 1/2 of walking) 03:Crouch 04:Raise right arm (as 1/2 of right handed attack) 05:Extend left arm (as 1/2 of attack) 06:Raise left arm (as 1/2 of Left handed attack) 07:Take physical damage 08:Arms up (as cheering, etc) 09:Lay down (swoon) 0A:Chanting 1 0B:Chanting 2 0C-1D:glitchy stuff 1E:Disappear 1F-23:glitchy stuff 24:Special pose 25 and above:glitchy stuff Accessing this table of poses are characters' stances, assigned both for charging and performing actions. By default, the game only uses stances 01-0F. Most other values call up data that is likely used for other things:
01:Resting 02:parry 03:Walking 04:crouching 05:right hand striking 06:left hand striking 07:getting hit 08:cheering 09:swoon 0a:chanting 0b:Charging (Chanting without motion) 0c:casting (raising arms, or whatever, no orbs) od:raising left hand like to attack, but no motion 0e:"special" stance 0f:same 10:Resting 11-54:glitchy stuff, probably used for entirely separate purpose 55-5E:All FFs, presumably free to edit at will 5F and above: glitchy stuff, probably used for other purposes You'll notice, though, that 55 through 5E ($09/FED5 through $09/FEFC in the table mentioned above) are empty and can be used to create custom stances. Also, stances 0E and 0F are both the special pose, and I don't think the game ever uses 0E.
Now, almost every command (except Twin) has a charging stance, and most commands have an action stance. Here is a chart that breaks down the offset of each stance for each command:
CommandCharge Stance OffesetDefaultAction Stance OffsetDefaultNotes -------------------------- Fight0B7E6002**Depends on weapon and, sometimes, handedness Item0B7E610202C7B30CSame Action stance as Salve White0B7E620A02C6D40C Black0B7E630A02C6E10CSame Action stance as Recall, Ninja Call0B7E640A02C71A0F DWave0B7E650B02C85F0F Jump0B7E660202C628/02C633/02C4CD04/0C/0FCrouch/Jump/Land Recall0B7E670202C6E10CSame Action stance as Black, Ninja Sing0B7E680202C6C70B Hide0B7E690202C5CB0F Salve0B7E6A0202C7B30CSame Action Stance as Item Pray0B7E6B0B02C7F30CSame Action stance as Cover, Sneak Aim0B7E6C0202C88A/*0F/*Uses Fight's Action stance after the "Aim" stance ChargeOB7E6D0BN/AN/ALoads Fight into "Next Action" without changing graphic Kick0B7E6E0202C31D0F Gird0B7E6F02N/AN/ANo Action stance set TwinN/A(00)N/AN/ASpecial Routine that sets "Black" for both twins Boast0B7E710202C7AB0FSame Action stance as Cry, Peep, SWave Cry0B7E720202C7AB0FSame Action stance as Boast, Peep, SWave Cover0B7E730202C7F30CSame Action stance as Pray, Sneak Peep0B7E740B02C7AB0FSame Action stance as Boast, Cry, SWave Crash0B7E7502N/AN/ACrash occurs before Action stance is set Dart0B7E760202C14C0F Sneak0B7E770202C7F30CSame Action stance as Pray, Cover Ninja0B7E780A02C6E10CSame Action stance as Black, Recall SWave0B7E790B02C7AB0FSame Action stance as Boast, Cry, Peep Change0B7E7A08N/AN/ANo Action stance set Parry0B7E7B0202C2A802 Show0B7E7C0102c5830303 is "Walking," There is no other action stance here Off0B7E7D02N/AN/ANo Action stance set Note that some commands share the same action stance, so changing one will change the others as well. There are too many variables that affect the action stance for Fight, so I didn't go into it at all. I don't imagine you'd really want to change any of those anyway - the results would look wrong.
I think that covers everything I was going to do with this topic. Does this all make sense?
Title: Re: Command Stances
Post by: LordGarmonde on February 08, 2015, 08:08:30 PM
This is too cool. Nicely done! :cookie:
When a battle is won is it the case that everyone goes into their victory cycle - or can it be set up so different people react differently?
Title: Re: Command Stances
Post by: chillyfeez on February 08, 2015, 08:36:13 PM
Not without some custom code, LordGarmonde. The same routine will set the stance for everyone in the party. I also didn't research that routine, so I don't exacly know how to change the victory stance.
Title: Re: Command Stances
Post by: LordGarmonde on February 08, 2015, 08:41:47 PM
Yeah - figures. I can't complain, that does make the most sense. What made me think of that was watching Golbez and FuSoYa dance after Zemus Round-One: it just struck me as a bit out of place the other day.
Title: Re: Command Stances
Post by: chillyfeez on February 08, 2015, 08:47:59 PM
been a while since I've gotten that far in the game. do they really do that? I'd have thought they would have skipped that. That is kind of silly.
Title: Re: Command Stances
Post by: LordGarmonde on February 08, 2015, 09:00:21 PM
Sure do...
I admit I didn't play through to that point - but I did get there super-duper quick via my usual course of just skipping around Game Genie style. Normally I enjoy a brisk walk through many walls for the purposes of understanding/amusement - for example if not triggered properly the Commander that attacked you in Kaipo is always visible: that keeps in my head to be wary of that.
-But anyway, the 'duper' in this speed was my enjoying a L-Button dashing, on top of my standard fast-forward/ghosting approach. I almost flew right out of the Giant of Babil! If you do, you just go on the grass where the ship landed...but if you then go to the moon the scene triggers again, but the first part of it (dark, shaking, ship exterior) is on the moon: after which it continues on as usual.That aside - bottom line: :cookie: to that User Options Guy :wink:
Also fun to note: Golbez (Zot) and Yang (Mt Hobs) crash the game when you speak to them - but the Lunarian Trio of Golbez, FuSoYa, and Zemus all open up the Hummingway shop menu. :hmm:
Title: Re: Command Stances
Post by: Grimoire LD on February 08, 2015, 09:06:39 PM
Ah so it is done! I'm looking forward to seeing this implemented into the editor!
Title: Re: Command Stances
Post by: Pinkpuff on March 21, 2015, 08:33:47 AM
The action stance table offsets don't match what I have in my rom...
2C7B3 has BB not 0C 2C6D4 has CD not 0C etc.
Title: Re: Command Stances
Post by: Grimoire LD on March 21, 2015, 09:23:12 AM
The action stance table offsets don't match what I have in my rom...
2C7B3 has BB not 0C 2C6D4 has CD not 0C etc.
Ah, that's because his notes refer to the in-game banks, not so much their placement in ROM. With Windhex though you could find where these are properly in ROM.
For instance 2C7B3 refers to 147B3 (unheadered) in ROM (so just use 2C as 14 for this case and it should match)
Title: Re: Command Stances
Post by: Pinkpuff on March 21, 2015, 09:48:09 AM