You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
Fix unused shiny check comments.
This commit is contained in:
@@ -43,37 +43,36 @@ CheckShininess:
|
|||||||
and a
|
and a
|
||||||
ret
|
ret
|
||||||
|
|
||||||
Unused_CheckContestMon:
|
Unused_CheckShininess:
|
||||||
; Check a mon's DVs at hl in the bug catching contest.
|
; Return carry if the DVs at hl are all 10 or higher.
|
||||||
; Return carry if its DVs are good enough to place in the contest.
|
|
||||||
|
|
||||||
; Attack
|
; Attack
|
||||||
ld a, [hl]
|
ld a, [hl]
|
||||||
cp 10 << 4
|
cp 10 << 4
|
||||||
jr c, .Bad
|
jr c, .NotShiny
|
||||||
|
|
||||||
; Defense
|
; Defense
|
||||||
ld a, [hli]
|
ld a, [hli]
|
||||||
and $f
|
and $f
|
||||||
cp 10
|
cp 10
|
||||||
jr c, .Bad
|
jr c, .NotShiny
|
||||||
|
|
||||||
; Speed
|
; Speed
|
||||||
ld a, [hl]
|
ld a, [hl]
|
||||||
cp 10 << 4
|
cp 10 << 4
|
||||||
jr c, .Bad
|
jr c, .NotShiny
|
||||||
|
|
||||||
; Special
|
; Special
|
||||||
ld a, [hl]
|
ld a, [hl]
|
||||||
and $f
|
and $f
|
||||||
cp 10
|
cp 10
|
||||||
jr c, .Bad
|
jr c, .NotShiny
|
||||||
|
|
||||||
.Good:
|
.Shiny:
|
||||||
scf
|
scf
|
||||||
ret
|
ret
|
||||||
|
|
||||||
.Bad:
|
.NotShiny:
|
||||||
and a
|
and a
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user