summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2022-03-18 23:10:14 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2022-03-18 23:10:14 -0400
commitc6df6752b7f5574aeb823ea31cbbf16a341931a5 (patch)
tree5f385f9126aa6a89841eec905ffee18ead313d3d
parentd8ab9493d6b9cd24d0f8b965530a28b8fa18d83c (diff)
comment
-rw-r--r--Tips-and-tricks.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tips-and-tricks.md b/Tips-and-tricks.md
index 43cd764..a60b020 100644
--- a/Tips-and-tricks.md
+++ b/Tips-and-tricks.md
@@ -96,8 +96,8 @@ Edit [engine/battle/core.asm](../blob/master/engine/battle/core.asm):
; Set happiness
+ ld a, [wBattleMode]
+ dec a
-+ ld a, $ff
-+ jr nz, .load_happiness ; If it's a Trainer battle, give enemy mon max happiness.
++ ld a, $ff ; Give the enemy mon max happiness...
++ jr nz, .load_happiness ; ...if it's a Trainer battle.
ld a, BASE_HAPPINESS
+.load_happiness
ld [wEnemyMonHappiness], a