Users browsing this thread: 1 Guest(s)
Edit Chainsaw codes

Posts: 51
Threads: 25
Thanks Received: 0
Thanks Given: 25
Joined: Jan 2020
Reputation: 0
I'd no idea on how to edit Chainsaw codes that will 100% used instant death kill "only" on enemy that are vulnerable to it, and 100% regular damage if enemy are immune to 
instant death. I do not like when Edgar's Chainsaw use the 25% instant kill effect on boss that are not vulnerable to it. It just a waste of turn.  

C2/2B30: 20 5A 4B     JSR $4B5A      (random #: 0 to 255)
C2/2B33: 29 03        AND #$03
C2/2B35: D0 16        BNE $2B4D      (75% chance branch)
C2/2B37: A9 08        LDA #$08
C2/2B39: 85 B6        STA $B6        (Animation)
C2/2B3B: 9C A6 11     STZ $11A6      (Battle power)
C2/2B3E: A9 80        LDA #$80
C2/2B40: 0C AA 11     TSB $11AA      (Set death/wound status in attack data)
C2/2B43: A9 10        LDA #$10    
C2/2B45: 8D A4 11     STA $11A4      (Set stamina can block)
C2/2B48: A9 02        LDA #$02
C2/2B4A: 0C A2 11     TSB $11A2      (Set miss if instant death protected)
C2/2B4D: A9 20        LDA #$20
C2/2B4F: 0C A2 11     TSB $11A2      (Set ignore defense)
C2/2B52: 60           RTS

Posts: 331
Threads: 36
Thanks Received: 135
Thanks Given: 84
Joined: Feb 2017
Reputation: 19
I'd say figure out which bit in the monster corresponds to protection from instant death. Then, check that bit with a BEQ, skipping the entire section of code you posted here if that flag is set. You'll need to relocate this portion of code in its entirety to a new part of C2, and reference it with a JSL.

Divergent Paths: The 3 Scenarios (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: Divergent Paths (In Progress) - a hack built off of the 3 scenarios that changes other events in the same, such as making Leo permanently recruitable, bringing Banon's story closure, and adding 1 more secret character.

Posts: 175
Threads: 3
Thanks Received: 17
Thanks Given: 113
Joined: May 2013
Reputation: 0
Look for Painful Chainsaw by Michael Springer (T.Geiger).


However, don't use the patch from that site as it causes a bug with Drill, use this bug fixed code instead:

C2/2B24:    35 2B       (New Drill pointer, this line must be changed)

C2/2B30:    A99E        LDA #$9E
C2/2B32:    8DA911      STA $11A9 (Use effect 4F)
C2/2B35:    A920        LDA #$20
C2/2B37:    0CA211      TSB $11A2 (Set ignore defense)
C2/2B3A:    60          RTS
C2/2B3B:    208D38      JSR $388D (Use “Slice” subroutine)
C2/2B3E:    A5B5        LDA $B5
C2/2B40:    C902        CMP #$02
C2/2B42:    D005        BNE $2B49 (Check for command == “Magic”)
C2/2B44:    A908        LDA #$08
C2/2B46:    8D742D      STA $2D74 (Set animation to “kill mode”)
C2/2B49:    60          RTS

C2/2B4A:    EAEAEA
C2/2B4D:    EAEAEA
C2/2B50:    EAEAEA

[-] The following 1 user says Thank You to Warrax for this post:
  • madsiur (02-28-2020)

Forum Jump:

Users browsing this thread: 1 Guest(s)

Theme by Madsiur2017Custom Graphics by JamesWhite