Users browsing this thread: 1 Guest(s)
[Patch] Relics Damage

Posts: 612
Threads: 49
Thanks Received: 0
Thanks Given: 4
Joined: Feb 2017
Reputation: 25
(12-23-2022, 03:23 AM)HatZen08 Wrote: I updated the patch with the mentioned fix. You can download it here: Relics Damage 1.1

Hmm... looking at my notes, my working version still has some differences with what was posted. Here's what I have in the Update Damage section of the ASM. The 3 changed/new lines are marked with a "!!!"

   ;update damage -------------------------------------------------------------
       ADC $11B0           ;add bonus damage with actual damage
!!!    BCS .skip_cap      
!!!    CMP #$FFFF        
!!!    BCC .skip_cap        
       LDA #$FFFF          ;maximum damage
       STA $11B0           ;save damage
I don't totally remember why I needed to make that change. I do remember it was necessary though.

FFVI: Divergent Paths (Completed) - a complete storyline and gameplay hack of FF6 that adds Leo as a playable character

Posts: 147
Threads: 19
Thanks Received: 38
Thanks Given: 2
Joined: Dec 2013
Reputation: 9
I optimized the code of your fix. Thecnically my fix is different from yours but they functionally are the same. Sorry, I couldn't resist the need to reduce the code size by a few bytes.  Smile
[-] The following 3 users say Thank You to HatZen08 for this post:
  • Dev J (01-02-2023), PowerPanda (12-31-2022), Warrax (12-31-2022)

Forum Jump:

Users browsing this thread: 1 Guest(s)

Theme by Madsiur2017Custom Graphics by JamesWhite