Users browsing this thread: 1 Guest(s)
Modifying the Morph Command
03-08-2014, 07:55 PM
Morph as it stands simply doubles the damage you deal; it doesn't touch battle power or magic power.
It's not difficult to change this behavior, though you'd need to use some free space. Keep in mind that modifying battle power is tricky, since it's stored in an 8-bit RAM location and therefore can't exceed 255.
You'll need to interrupt the damage calculations to perform the modifications you want. The magic damage calculation starts at C2/2B69 and the physical damage calculation starts at C2/2BA6.
It's not difficult to change this behavior, though you'd need to use some free space. Keep in mind that modifying battle power is tricky, since it's stored in an 8-bit RAM location and therefore can't exceed 255.
You'll need to interrupt the damage calculations to perform the modifications you want. The magic damage calculation starts at C2/2B69 and the physical damage calculation starts at C2/2BA6.
« Next Oldest | Next Newest »
|
||||
Users browsing this thread: 1 Guest(s)