FF6 Hacking
Omega Weapon special attacks - 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: Omega Weapon special attacks (/thread-2032.html)



Omega Weapon special attacks - madsiur - 04-06-2013

This thread is for someone asking me how to set consecutive attacks. He was making reference to Omega weapon made by Terii Senshi, who has an attack that does 16 consecutive hits. (attacks details here)

Well it's done in a relatively simple way, by adding a new special effect that can be set in the attack data afterward:

Code:
special effects $47 (TerraBreak)
C2/64B0:    A90F        LDA #$0F
C2/64B2:    8D703A      STA $3A70    (store 16 as number of attacks)
C2/64B5:    A940        LDA #$40
C2/64B8:    04BA        TSB $BA
C2/64B9:    9CA911      STZ $11A9    (clear special effect)
C2/64BC:    60          RTS

I also disassembled the code for the other special effects regarding the attacks of that monster:

Code:
special effects $46 (LightPillr)
C2/6490:    A960        LDA #$60
C2/6493:    9C1434      STZ $3414     (skip damage modification)
C2/6495:    C220        REP #$20
C2/6497:    A90F27      LDA #$270F
C2/649A:    8DB011      STA $11B0    (set 9999 as maximum damage)
C2/649D:    60          RTS

special effects $45 (OmegaFlare)
C2/64A0:    A960        LDA #$60
C2/64A3:    9C1434      STZ $3414    (skip damage modification)
C2/64A5:    C220        REP #$20
C2/64A7:    A90E27      LDA #$270E
C2/64AA:    8DB011      STA $11B0    (set 9998 as maximum damage)
C2/64AD:    60          RTS

Finally, the modified pointer table:

Code:
Table for special effects code pointers 1
C2/3E57:    A064        ($45)
C2/3E59:    9064        ($46)
C2/3E5B:    B064        ($47)



RE: Omega Weapon special attacks - Gi Nattak - 04-06-2013

Aha, very nice! Does it replace/write over a pre-existing attack or spell or whatever?


RE: Omega Weapon special attacks - madsiur - 04-06-2013

(04-06-2013, 03:08 PM)Gi Nattak Wrote: Aha, very nice! Does it replace/write over a pre-existing attack or spell or whatever?

No. There is a bunch of available attack extra effects. The patch add 3 new ones that you can add to the attack properties via FF3usME.