diff options
author | yenatch <yenatch@gmail.com> | 2014-06-14 04:12:40 -0700 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2014-06-14 04:12:40 -0700 |
commit | 53ae0e93fad9f4c3eaef92f102b1eeb531e59d68 (patch) | |
tree | cfc859d11d462e8b4bab1968360a9a85cd83154d /engine/battle/c.asm | |
parent | 9eefed45f7ff3b9ee6023fb0829528e34aa0729a (diff) |
Use monster struct macros in wram. Rename related labels for consistency.
Diffstat (limited to 'engine/battle/c.asm')
-rwxr-xr-x | engine/battle/c.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/battle/c.asm b/engine/battle/c.asm index bc3788de..c1347d24 100755 --- a/engine/battle/c.asm +++ b/engine/battle/c.asm @@ -27,13 +27,13 @@ OneHitKOEffect_: ; 33f57 (c:7f57) ld [hl], a ; set the damage output to zero dec a ld [wd05e], a - ld hl, W_PLAYERMONSPEED + 1 - ld de, W_ENEMYMONSPEED + 1 + ld hl, wBattleMonSpeed + 1 + ld de, wEnemyMonSpeed + 1 ld a, [H_WHOSETURN] ; $fff3 and a jr z, .asm_33f72 - ld hl, W_ENEMYMONSPEED + 1 - ld de, W_PLAYERMONSPEED + 1 + ld hl, wEnemyMonSpeed + 1 + ld de, wBattleMonSpeed + 1 .asm_33f72 ld a, [de] dec de |