Users browsing this thread: 1 Guest(s)
Assembly Programming
09-24-2016, 03:55 PM
(08-16-2016, 01:21 PM)seibaby Wrote: Funny you should mention that, @"Marketa Lazarova". I believe the origin of the elemental-enhancing equipment in later games was a bug in FF1 that caused enemy elemental weakness to be loaded from the weapon elemental properties of the attacker's weapon instead of from the enemy data when magic was cast.
So...it should be pretty simple to "reinstate" that bug in FFVI, by hooking the code below to a new function that inserts a check for attacker's weapon elemental attack ($3B90,X) in addition to the check for enemy weakness ($3BE0,Y).
Code:C2/0C0E: B9 E0 3B LDA $3BE0,Y (Weak elements)
Edit: wait, that's pretty dumb. Something that simple would make elemental weapons always do double damage with their own attacks, too. Though I suppose that could easily be solved by adding a check to see if the attack is magical, and skip the weapon elemental stuff if it is.
Or reduce the attack power of the elemental weapons to compensate for the doubling effect.
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)