diff options
Diffstat (limited to 'engine/battle/c.asm')
-rwxr-xr-x | engine/battle/c.asm | 10 |
1 files changed, 5 insertions, 5 deletions
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 |