mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Reorganize constants/
To do: add comments associating constants with data and code
This commit is contained in:
parent
91dc3c9f9c
commit
c9c59dc343
35 changed files with 2947 additions and 2942 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue