The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.3.33 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Users browsing this thread: 1 Guest(s)
Omega Weapon special attacks

#1
Posts: 3,971
Threads: 279
Thanks Received: 237
Thanks Given: 58
Joined: Oct 2011
Reputation: 65
Status
Tissue-aware
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)
  Find
Quote  
[-] The following 2 users say Thank You to madsiur for this post:
  • Kusanagi_999 (02-01-2023), SenioritaAeslnd (01-08-2016)



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

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite