Users browsing this thread: 1 Guest(s)
Giving Everyone the Same Desperation Attack

#1
Posts: 156
Threads: 25
Thanks Received: 41
Thanks Given: 48
Joined: Feb 2017
Reputation: 13
Status
None
Hi there. I'm just about to implement B-Run's MMMMMagic 2.0 patch, and one of the thing I've noted is that it doesn't really do anything with desperation attacks. So if you went with the default plug-and-play patch, and had Terra do a desperation attack, she would do the Black Magic spell "Drain 2" instead (as this overwrites the slot $F0 for Riot Blade).

My solution for this is to have everyone share a single move, named "Desperation", in ability slot $F0. I think I know what to do, but I want to make sure I'm not overlooking anything. Here's the original code:
Code:
C2/15F8: B9 D8 3E     LDA $3ED8,Y    (Which character it is)
C2/15FB: C9 0C        CMP #$0C
C2/15FD: F0 05        BEQ $1604      (branch if Gogo)
C2/15FF: C9 0B        CMP #$0B
C2/1601: B0 0D        BCS $1610      (branch if Character 11 or above: Gau, Umaro, or
                                     special character.  none of these characters have DAs)
C2/1603: 1A           INC
C2/1604: 3A           DEC            (if it was Gogo, we decrement the DA by 1 to account
                                     for Gau -- who's before Gogo -- not having one)
C2/1605: 09 F0        ORA #$F0  
C2/1607: 85 B6        STA $B6        (add F0h to modified character #, then save as attack #)

I THINK I just have to NOP out the check for the character number, right? That should make it load ability $F0 for everyone, right? Is there anything I'm missing?

Code:
C2/15F8: EA EA EA
C2/15FB: EA EA        
C2/15FD: EA EA        
C2/15FF: EA EA        
C2/1601: EA EA        
C2/1603: EA          
C2/1604: EA          
C2/1605: 09 F0        ORA #$F0  
C2/1607: 85 B6        STA $B6        (add F0h to modified character #, then save as attack #)


Projects:
Divergent Paths (Completed) - a redo of the 3 scenarios in the original game that gives equal time to each group. Meant to be a basis for future mods.
FFVI: Definitive Edition (In Progress) - a hack built off of Divergent Paths that changes the events in Thamasa to bring closure to Banon's story and allow Leo to permanently join your party.
  Find
Quote  

#2
Posts: 153
Threads: 10
Thanks Received: 59
Thanks Given: 15
Joined: May 2013
Reputation: 13
Status
Well-Fed
You want to make that a LDA #$F0, not an ORA. Otherwise, at a glance, this should do what you want, yes!


Current Project: FF6: Tensei | Discord ID: TristanGrayse
  Find
Quote  



Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite