summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2018-06-04 23:36:27 -0400
committeryenatch <yenatch@gmail.com>2018-06-04 23:36:27 -0400
commit5c0e5fa7cab805b1d610be08cde1651c6fdefbce (patch)
tree869f9d28e0cb2421f2e6ee83a80c7edde25e0d27
parentd596a0c83bfbb97bff5cdb5b3bba925d3f798fa1 (diff)
Fix unused shiny check comments.
-rw-r--r--engine/gfx/color.asm17
1 files changed, 8 insertions, 9 deletions
diff --git a/engine/gfx/color.asm b/engine/gfx/color.asm
index 6d60357a5..d9b9b1dbc 100644
--- a/engine/gfx/color.asm
+++ b/engine/gfx/color.asm
@@ -43,37 +43,36 @@ CheckShininess:
and a
ret
-Unused_CheckContestMon:
-; Check a mon's DVs at hl in the bug catching contest.
-; Return carry if its DVs are good enough to place in the contest.
+Unused_CheckShininess:
+; Return carry if the DVs at hl are all 10 or higher.
; Attack
ld a, [hl]
cp 10 << 4
- jr c, .Bad
+ jr c, .NotShiny
; Defense
ld a, [hli]
and $f
cp 10
- jr c, .Bad
+ jr c, .NotShiny
; Speed
ld a, [hl]
cp 10 << 4
- jr c, .Bad
+ jr c, .NotShiny
; Special
ld a, [hl]
and $f
cp 10
- jr c, .Bad
+ jr c, .NotShiny
-.Good:
+.Shiny:
scf
ret
-.Bad:
+.NotShiny:
and a
ret