Users browsing this thread: 2 Guest(s)
Assembly Programming

#37
Posts: 281
Threads: 18
Thanks Received: 13
Thanks Given: 8
Joined: Mar 2014
Reputation: 8
Status
None
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.
  Find
Quote  



Messages In This Thread
Assembly Programming - by the_randomizer - 01-06-2012, 05:51 PM
RE: Assembly Programming - by Angelo26 - 01-12-2012, 08:50 PM
RE: Assembly Programming - by the_randomizer - 01-12-2012, 09:33 PM
RE: Assembly Programming - by madsiur - 01-15-2012, 03:01 AM
RE: Assembly Programming - by JCE3000GT - 01-16-2012, 04:40 PM
RE: Assembly Programming - by madsiur - 01-16-2012, 05:32 PM
RE: Assembly Programming - by JCE3000GT - 01-16-2012, 08:17 PM
RE: Assembly Programming - by madsiur - 01-23-2012, 02:47 AM
RE: Assembly Programming - by madsiur - 02-04-2012, 02:38 PM
RE: Assembly Programming - by madsiur - 03-25-2012, 04:32 AM
RE: Assembly Programming - by SSJ Rick - 03-25-2012, 01:05 PM
RE: Assembly Programming - by madsiur - 04-20-2012, 01:56 AM
RE: Assembly Programming - by Marketa Lazarova - 08-16-2016, 11:17 AM
RE: Assembly Programming - by seibaby - 08-16-2016, 01:21 PM
RE: Assembly Programming - by PinkMawile - 09-24-2016, 03:55 PM

Forum Jump:

Users browsing this thread: 2 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite