diff options
| author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-03 12:44:47 -0400 |
|---|---|---|
| committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-03 12:44:47 -0400 |
| commit | c9c59dc34323a5e0b1886db5f845c8d41620826e (patch) | |
| tree | 0d07de202a4437e02cc8c66178b1dfec5c2a1673 /engine | |
| parent | Remove unused Yellow music (diff) | |
| download | pokeyellow-c9c59dc34323a5e0b1886db5f845c8d41620826e.tar.gz pokeyellow-c9c59dc34323a5e0b1886db5f845c8d41620826e.tar.xz pokeyellow-c9c59dc34323a5e0b1886db5f845c8d41620826e.zip | |
Reorganize constants/
To do: add comments associating constants with data and code
Diffstat (limited to 'engine')
| -rwxr-xr-x | engine/battle/core.asm | 4 |
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 |
