mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
Fix unused shiny check comments.
This commit is contained in:
parent
d596a0c83b
commit
5c0e5fa7ca
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user