summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-07-25 18:37:17 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-07-25 18:37:17 -0400
commit5c4fc1eba99d99b7e9715fedce5050626e238c40 (patch)
tree13ae848fbdda73a51c2081b1cf7fd0ef77ebeb49
parent58dccf62d00d3875dd4becf3061130f8c13aa53d (diff)
and h -> or h
-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.