summaryrefslogtreecommitdiff
path: root/engine/battle/effect_commands.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2018-02-04 21:21:34 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2018-02-04 21:21:34 -0500
commitbc3cc697494d1212b8fed9273d72f0448f24b1d5 (patch)
tree45554b5e0393e06f8618e2584de5122a4aca2ea1 /engine/battle/effect_commands.asm
parentd6b00d0cc177b3a94b477735fd165232614a6cee (diff)
Consistent "X percent [+/- Y]" order
Diffstat (limited to 'engine/battle/effect_commands.asm')
-rw-r--r--engine/battle/effect_commands.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/battle/effect_commands.asm b/engine/battle/effect_commands.asm
index 5a0c130bd..376624e44 100644
--- a/engine/battle/effect_commands.asm
+++ b/engine/battle/effect_commands.asm
@@ -532,7 +532,7 @@ CheckEnemyTurn: ; 3421f
; 50% chance of hitting itself
call BattleRandom
- cp 1 + 50 percent
+ cp 50 percent + 1
jr nc, .not_confused
; clear confusion-dependent substatus
@@ -578,7 +578,7 @@ CheckEnemyTurn: ; 3421f
; 50% chance of infatuation
call BattleRandom
- cp 1 + 50 percent
+ cp 50 percent + 1
jr c, .not_infatuated
ld hl, InfatuationText