Users browsing this thread: 1 Guest(s)
[Patch] Relics Damage
12-30-2022, 01:24 PM
(This post was last modified: 12-30-2022, 01:26 PM by PowerPanda.)
(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 "!!!"
Code:
;update damage -------------------------------------------------------------
ADC $11B0 ;add bonus damage with actual damage
!!! BCS .skip_cap
!!! CMP #$FFFF
!!! BCC .skip_cap
.damage_cap
LDA #$FFFF ;maximum damage
.skip_cap
STA $11B0 ;save damage
;exit
.exit
PLP
PLY
RTL
Projects:
FFVI: Divergent Paths (Completed) - a complete storyline and gameplay hack of FF6 that adds Leo as a playable character
12-31-2022, 06:36 AM
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.

![[-]](https://www.ff6hacking.com/forums/ff9/collapse.png)
• Dev J (01-02-2023), PowerPanda (12-31-2022), Warrax (12-31-2022)
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)