FF6 Hacking
Boomerang & Sniper 75% - 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: Boomerang & Sniper 75% (/thread-3959.html)

Pages: 1 2


RE: Boomerang & Sniper 75% - doofenH - 02-19-2020

Already test it Smile

I just curious to know what LDA & STA stand for because I realize & I think the code " 1st INC" with "LDA $3EF9,Y" already deleted, add +1 dmg to ADC 5.


RE: Boomerang & Sniper 75% - madsiur - 02-19-2020

(02-19-2020, 01:16 AM)doofenH Wrote: I just curious to know what LDA & STA stand for because I realize & I think the code " 1st INC" with "LDA $3EF9,Y" already deleted, add +1 dmg to ADC 5.

They can be found here:

https://www.ff6hacking.com/wiki/doku.php?id=ff3:ff3us:doc:snes:opcode#lda_ldx_ldy
https://www.ff6hacking.com/wiki/doku.php?id=ff3:ff3us:doc:snes:opcode#sta_stx_sty

Basically you need to transfer the value (LDA) in the accumulator (A) in order to do the addition (ADC). After that you save the result (STA) where it should go ($BC).


RE: Boomerang & Sniper 75% - Subtraction - 02-20-2020

(02-18-2020, 10:44 AM)doofenH Wrote: "ADC #$05" is x6 dmg (I think)

Each time you add 1 to the damage multiplier, it adds .5x. With the one INC earlier in the code and the +5 there, it's 4x (1 + 6*.5).