summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWasabiRaptor <ketchupraptor@gmail.com>2019-02-23 02:03:40 -0500
committerWasabiRaptor <ketchupraptor@gmail.com>2019-02-23 02:03:40 -0500
commit459d7b797b8167579080370b00eb0bd6b579244b (patch)
tree70cc228a5a0793c4a7a33392317a53a1b1cc4993
parentcf03eff0db322c0f67776d9062a53374fdcaf57f (diff)
fix my mistake on the limit not working
-rw-r--r--Replace-stat-experience-with-EVs.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/Replace-stat-experience-with-EVs.md b/Replace-stat-experience-with-EVs.md
index 84110ce..697294a 100644
--- a/Replace-stat-experience-with-EVs.md
+++ b/Replace-stat-experience-with-EVs.md
@@ -299,7 +299,7 @@ GiveExperiencePoints:
+ sub c
+ ld b, a
+ cp MAX_EVS_TOTAL - $ff
-+ jr nc, .evs_done ;don't add anymore evs if greater than the const for max which is set to 510
++ jr z, .evs_done ;don't add anymore evs if greater than the const for max which is set to 510
+ dec d
+ jr nz, .ev_total_loop
+ ;after totaling all 6 evs if it not too much then go on to add more