From 9de54645c896cc57a79679aecd6174afc59762c8 Mon Sep 17 00:00:00 2001 From: xCrystal Date: Tue, 3 Feb 2015 20:51:53 +0100 Subject: add constants for volatile statuses and more battle labels/commentary/constants --- engine/battle/c.asm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'engine/battle/c.asm') diff --git a/engine/battle/c.asm b/engine/battle/c.asm index e31b1fce..07369375 100755 --- a/engine/battle/c.asm +++ b/engine/battle/c.asm @@ -5,9 +5,9 @@ MistEffect_: ; 33f2b (c:7f2b) jr z, .asm_33f36 ld hl, W_ENEMYBATTSTATUS2 .asm_33f36 - bit 1, [hl] ; is mon protected by mist? + bit ProtectedByMist, [hl] ; is mon protected by mist? jr nz, .asm_33f4a - set 1, [hl] ; mon is now protected by mist + set ProtectedByMist, [hl] ; mon is now protected by mist callab Func_3fba8 ld hl, ShroudedInMistText jp PrintText @@ -21,7 +21,7 @@ ShroudedInMistText: ; 33f52 (c:7f52) db "@" OneHitKOEffect_: ; 33f57 (c:7f57) - ld hl, W_DAMAGE ; W_DAMAGE + ld hl, W_DAMAGE xor a ld [hli], a ld [hl], a ; set the damage output to zero @@ -45,7 +45,7 @@ OneHitKOEffect_: ; 33f57 (c:7f57) ld a, [hl] sbc b jr c, .asm_33f8a - ld hl, W_DAMAGE ; W_DAMAGE + ld hl, W_DAMAGE ld a, $ff ld [hli], a ld [hl], a @@ -54,5 +54,5 @@ OneHitKOEffect_: ; 33f57 (c:7f57) ret .asm_33f8a ld a, $1 - ld [W_MOVEMISSED], a ; W_MOVEMISSED + ld [W_MOVEMISSED], a ret -- cgit v1.3.1-sl0p