summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Print-text-when-you-lose-a-trainer-battle.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/Print-text-when-you-lose-a-trainer-battle.md b/Print-text-when-you-lose-a-trainer-battle.md
index 214ff4c..5968fff 100644
--- a/Print-text-when-you-lose-a-trainer-battle.md
+++ b/Print-text-when-you-lose-a-trainer-battle.md
@@ -41,7 +41,7 @@ Anyway, it's quite simple to enable this feature. Edit [engine/battle/core.asm](
+ ld hl, wLossTextPointer
+ ld a, [hli]
+ ld h, [hl]
-+ and h
++ or h
+ jr z, .no_loss_text
; Remove the enemy from the screen.