Omega Weapon special attacks
#1
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)
Reply


Messages In This Thread
Omega Weapon special attacks - by madsiur - 04-06-2013, 04:36 AM
RE: Omega Weapon special attacks - by Gi Nattak - 04-06-2013, 03:08 PM
RE: Omega Weapon special attacks - by madsiur - 04-06-2013, 03:32 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Edit Umaro attacks doofenH 1 2,121 02-19-2020, 10:32 AM
Last Post: madsiur
  Undead status and Near Fatal attacks Lightning 8 6,329 10-13-2018, 01:07 AM
Last Post: Lightning
Black_mage Desperation attacks blackomen 8 6,001 07-27-2018, 10:37 AM
Last Post: Warrax
  Special Attacks Lightning 12 9,750 06-13-2018, 01:09 PM
Last Post: Gi Nattak
  Giving Umaro's attacks to another character PowerPanda 13 14,491 03-30-2017, 03:14 PM
Last Post: madsiur
  Band Attacks Jeff 7 8,046 03-15-2015, 10:21 AM
Last Post: Lockirby2
  Giving Desperation Attacks to other characters? Scorcher 2 3,391 07-27-2014, 05:47 PM
Last Post: Scorcher
  Delay before special attacks Kroda 8 9,854 11-21-2013, 02:17 PM
Last Post: madsiur
  Desperation Attacks Roseheart 2 4,778 05-02-2012, 01:17 PM
Last Post: madsiur

Forum Jump:


Users browsing this thread: 1 Guest(s)