Users browsing this thread: 1 Guest(s)
Omega Weapon special attacks
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:
I also disassembled the code for the other special effects regarding the attacks of that monster:
Finally, the modified pointer table:
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)
The following 2 users say Thank You to madsiur for this post:
• Kusanagi_999 (02-01-2023),SenioritaAeslnd (01-08-2016)
• Kusanagi_999 (02-01-2023),
04-06-2013, 03:08 PM
Aha, very nice! Does it replace/write over a pre-existing attack or spell or whatever?
We are born, live, die and then do the same thing over again.
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)