FF6 Hacking
Target Data in C1 - Printable Version

+- FF6 Hacking (https://www.ff6hacking.com/forums)
+-- Forum: Discussion Forums (https://www.ff6hacking.com/forums/forum-5.html)
+--- Forum: Magitek Research Facility (https://www.ff6hacking.com/forums/forum-9.html)
+--- Thread: Target Data in C1 (/thread-2537.html)



Target Data in C1 - GrayShadows - 03-29-2014

I'm working with LightPhoenix's Selectable Blitz/SwdTech patch to try to include a couple of new commands in my hack; the basic setup for the abilities is fine, but I'm having some difficulty figuring out how to pull targetting for individual abilities in the command-set. I can hardcode in the targetting byte easily enough, but that forces every ability in the command to have the same targetting, which I don't want -- I have one command that's four ST and four MT abilities, for example, and another that's six ST, a MT enemy, and a MT party. LP suggested in his thread at Slick that Lore or Magic may have some usable code that could be yoinked, but frack me if I can wrap my head around what's going on with them enough to even get started.

Does anyone have any experience working with this, or any suggestions on where to start? Or am I stuck with working this out on my own? Wink


RE: Target Data in C1 - SSJ Rick - 03-29-2014

I personally tried to look into messing with that patch myself but if I remember correctly it interferes with quite a few patches out there but I never came across anything in particular nor did I really pursue it too much either sorry


RE: Target Data in C1 - GrayShadows - 03-29-2014

Interfering with other patches isn't actually that much of an issue for me; most of the patches I'm pulling in from elsewhere have .asm available, so I'm moving things around and reordering as needed so that everything will fit. Laugh (And it helps that I'm freeing up a /lot/ of space due to some abilities and such that are not being used.)


RE: Target Data in C1 - madsiur - 03-30-2014

This is unrelated, but are you aware of routines that could be easily moved from C1 to another bank? I really need free space in bank C1...


RE: Target Data in C1 - GrayShadows - 03-30-2014

Nothing yet -- I've been focused more on sorting out C2 so far because it's better documented, and because I still only have the barest understanding of how the window system works. (I still have no idea for sure where the new abilities are going to /go/, only that I'm fairly certain I'll be freeing up enough space by getting rid of, say, Slot and Rage.)

At the very least, I think I've found code that'll work re: targeting by grabbing it from the original MenuBlitz patch (by... Ronnen, IIRC) that LightPhoenix derived their patch from in the first place! So we'll see how that works out when I get around to testing.