summaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-07-03 12:44:47 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-07-03 12:44:47 -0400
commitc9c59dc34323a5e0b1886db5f845c8d41620826e (patch)
tree0d07de202a4437e02cc8c66178b1dfec5c2a1673 /engine
parent91dc3c9f9c8fd529bb6e8307b58b96efa0bec67e (diff)
Reorganize constants/
To do: add comments associating constants with data and code
Diffstat (limited to 'engine')
-rwxr-xr-xengine/battle/core.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/battle/core.asm b/engine/battle/core.asm
index fec10215..86c3f5e5 100755
--- a/engine/battle/core.asm
+++ b/engine/battle/core.asm
@@ -4139,7 +4139,7 @@ GetDamageVarsForPlayerAttack:
ld d, a ; d = move power
ret z ; return if move power is zero
ld a, [hl] ; a = [wPlayerMoveType]
- cp FIRE ; types >= FIRE are all special
+ cp SPECIAL ; types >= SPECIAL are all special
jr nc, .specialAttack
.physicalAttack
ld hl, wEnemyMonDefense
@@ -4252,7 +4252,7 @@ GetDamageVarsForEnemyAttack:
and a
ret z ; return if move power is zero
ld a, [hl] ; a = [wEnemyMoveType]
- cp FIRE ; types >= FIRE are all special
+ cp SPECIAL ; types >= SPECIAL are all special
jr nc, .specialAttack
.physicalAttack
ld hl, wBattleMonDefense