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 | Use MAX_LEVEL instead of 100/$64 (diff) | |
| download | pokeyellow-53ae0e93fad9f4c3eaef92f102b1eeb531e59d68.tar.gz pokeyellow-53ae0e93fad9f4c3eaef92f102b1eeb531e59d68.tar.xz pokeyellow-53ae0e93fad9f4c3eaef92f102b1eeb531e59d68.zip | |
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 |
