Users browsing this thread: 1 Guest(s)
Formation Event Pointers

#1
Posts: 453
Threads: 45
Thanks Received: 195
Thanks Given: 116
Joined: Feb 2017
Reputation: 23
Status
None
Within FF3usME, in the Formations Editor, you can set special events, like "Shadow at Col." or "Cyan Fights Alone". Not all of these events are included in Madsiur's Battle Events Scripts dump, and I'm wondering if anyone knows if there's a pointer table for these where I could work backward and find the code for one of the events. I've found the formation pointer, but it appears to point to an index, rather than an exact address. 

Specifically, I want to find the code for "Cyan Fights Alone", as this code allows guest characters to fight alongside of you, but not be controllable by the player. There are 2 copies of this event, and they appear to both do the same thing. If one of these could be repurposed, or if we could find the pointer table, I think it would provide a good option for hacks. For Divergent Paths, it would allow me to add the Razing of Vector screen with Celes playable, but Leo as an uncontrollable guest.


Projects:
Divergent Paths: The 3 Scenarios (Completed) - a redo of the 3 scenarios in the original game that gives equal time to each group. Meant to be a basis for future mods.
FFVI: Divergent Paths (In Progress) - a hack built off of the 3 scenarios that changes other events in the same, such as making Leo permanently recruitable, bringing Banon's story closure, and adding 1 more secret character.
  Find
Quote  

#2
Posts: 2,339
Threads: 93
Thanks Received: 340
Thanks Given: 311
Joined: Aug 2009
Reputation: 44
Status
Nattak\'d
Not sure if you've seen this thread here, it might help a bit if not:
https://www.ff6hacking.com/forums/thread...tle+events

I think what you're looking for would be the "Character Acting As Monster" code? It's linked in there as well:
http://mnrogar.slickproductions.org/phpB...nemy#p5393

Also I made this thread semi-recently that breaks down a bit which of those events are used and which not which may or may not help:
https://www.ff6hacking.com/forums/thread-4071.html


We are born, live, die and then do the same thing over again.
Quote  
[-] The following 1 user says Thank You to Gi Nattak for this post:
  • PowerPanda (03-10-2021)

#3
Posts: 453
Threads: 45
Thanks Received: 195
Thanks Given: 116
Joined: Feb 2017
Reputation: 23
Status
None
It took me a bit of reading to understand what I was seeing, but the post from Lenophis is totally it. The formation events start at D0/FD00, and they are $18 bytes each. The "Cyan Fights Alone" ones are:

D0/FD78 (Cyan 1) 00 FF FF FF 02 02 70 50 30 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
D0/FD90 (Cyan 2) 00 FF FF FF 02 02 70 50 30 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF

The format for these flags is something I'm still working out. Lenophis's notes are not correct for several of the bytes, but I've only identified the use for the 5th and 6th byte so far
The 5th byte says "Which actor slot should I use?" This will bring over that character's HP/MP/Lvl and all of their equipment, including relics. This will cause the character to DISAPPEAR from the normal roster.
The 6th byte says "Which sprite should I use?" It is possible to mismatch this, so you could have a character use someone else's sprite. IE - they could fight the battle as a generic soldier, and then after the battle reveal that they were (insert character here) all along.
The 7th byte is correct. It says which boss script to use (add $FF to the monster number for bosses).

So, some examples of bytes 5/6/7
01 0F 6E - Locke shows up looking like a merchant, using Phunbaba's attack script
08 0A 00 - Relm shows up as a moogle, using the Whelk's attack script

So yeah, this blows open the doors for guest characters.


Projects:
Divergent Paths: The 3 Scenarios (Completed) - a redo of the 3 scenarios in the original game that gives equal time to each group. Meant to be a basis for future mods.
FFVI: Divergent Paths (In Progress) - a hack built off of the 3 scenarios that changes other events in the same, such as making Leo permanently recruitable, bringing Banon's story closure, and adding 1 more secret character.
  Find
Quote  

#4
Posts: 180
Threads: 1
Thanks Received: 68
Thanks Given: 20
Joined: Oct 2015
Reputation: 18
Status
None
here's my thread on that structure, a 3.5-years-late and usually redundant effort:
http://mnrogar.slickproductions.org/phpB...?f=3&t=993
Quote  



Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite