"Low on HP" spells and "Active if Imp" flag - 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: "Low on HP" spells and "Active if Imp" flag (/thread-3627.html) |
"Low on HP" spells and "Active if Imp" flag - DrakeyC - 02-20-2018 So I had a neat idea and thought others may find it useful. Here's the coding for the three "Cast spell when low on HP" effects. Code: C2/0A4A: BD A0 3A LDA $3AA0,X The spots at C2/0A6A. C2/0A78, and C2/0A86, are the spell IDs. Note that "Cast Reflect when at low HP" is never used in the base game, but the coding is here for it. Now, of course, the spell IDs can be changed to anything, and in that is the potential for three unique "Cast spell at low HP" effects. The coding will always default to single-targeting the caster, even for party-wide spells (tested with Ultima and Big Guard). So here are some examples of what you could make: * 1-Up Ring - Casts Cure 3 when at low HP. * Once More - Casts Life 3 when at low HP. * Second Chance - Casts Big Guard when at low HP. * Hide Cowl - Character flees battle when at low HP. (casts Escape, which works fine - single character runs away complete with animation and sound effect. However, this apparently lets you "win" boss battles by letting the rest of the party get KO'd and you don't Game Over) Trying to make a "Summon at low HP" item was a bit more hit or miss. Golem, Bismarck, Tritoch, and Odin, didn't want to play, but Palidor and Kirin would. I guess you'd have to check yourself what works and what doesn't. * Final Jump - Summons Palidor when at low HP. (this WILL effect the entire party) And in turn you can customize whatever spell you want, so... * Second Wind - Fully restores HP and status when at low HP. * Hyper Mighty G - Casts Haste, Regen, Shell, Protect, and Life 3 when at low HP Alas that there isn't a way to attach HP and MP restoration to a spell effect that I know of, or we could do "Last Elixir" to automatically use an Elixir on a low HP character. To the second part of the topic, this is an idea I didn't figure out how to implement due to a strange hex concerning identifying statuses, but I'll post the coding if someone else could figure it out - the coding for the "weapon/armor active if Imp" trigger. Code: C2/1018: BF 14 50 D8 LDA $D85014,X (get weapon battle power / armor defense power) If one could figure out how to change the status that this coding refers to, then you could make some creative equipment. Here are some ideas, presuming all of them can be done. * Berserker Blade - Powerful sword activates when user is Berserked * Reaper Rod - Powerful rod activates when user is Condemned * Rage Vest - Powerful armor defends user under effect of Rage * Sweet Dreams - Powerful armor defends user when they are asleep. So yeah, just sharing some simple ideas I had that others could use to make some more fun equipment. RE: "Low on HP" spells and "Active if Imp" flag - Fenrir - 02-22-2018 (02-20-2018, 10:38 PM)DrakeyC Wrote: * Hide Cowl - Character flees battle when at low HP. (casts Escape, which works fine - single character runs away complete with animation and sound effect) Just wanted to point out that the exclusive enemy ability Escape ignores the "cannot escape" bit. So, you can escape from all battles including boss battles and the final battle with this ability. You just have to weaken the character wearing the Hide Cowl and have him/her use Escape, then kill off the remaining character(s) to end the battle. This will be treated as a "victory" without killing the boss. I remember placing Escape in one of Gau's Rage, I used said Rage against the Earth Dragon in the Opera House. Gau ran away alright, and I killed off the remaining characters to see if I would get a game over and I did not. I apparently "won" the battle. Got the 7 dragons remaining text. I assume because some bosses uses Escape, like Kefka, who uses this ability to end the battle. RE: "Low on HP" spells and "Active if Imp" flag - Robo Jesus - 02-22-2018 Thank you. This opens up some new and interesting things to use and play around with, and can allow 'worthless' items and their associated spell flags to be made into something useful. RE: "Low on HP" spells and "Active if Imp" flag - Tenkarider - 02-23-2018 gg for the imp flag, i already had some idea for the near death ones, but imp tweak is a must: Imp weapons are just boring RE: "Low on HP" spells and "Active if Imp" flag - dn - 02-23-2018 A simple code modification to the SOS spellcasts: Code: hirom |