Skip to content

Commit 8d35d97

Browse files
authored
[XCX] Fix bug with XCX damage multiplication pack (#680)
It no longer ignores user preferences and only applies the divide damage mod when selected as such. Thanks to @intra0 for this change (and his patience)!
1 parent 16105d2 commit 8d35d97

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/XenobladeChroniclesX/Mods/BattleDamageModGround/patch_dmg.asm

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ divw r4, r31, r4
88
blr
99

1010
_mult_or_divide:
11-
cmpwi r0, $multOrDivision
12-
bne- _divide_dmg
11+
li r4, $multOrDivision
12+
cmpwi r4, 0
13+
bne _divide_dmg
1314
mulli r4, r31, $mult
1415
blr
1516

0 commit comments

Comments
 (0)