Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Double-check IsMonShiny #15

Open
Rangi42 opened this issue Oct 20, 2022 · 0 comments
Open

Double-check IsMonShiny #15

Rangi42 opened this issue Oct 20, 2022 · 0 comments

Comments

@Rangi42
Copy link
Owner

Rangi42 commented Oct 20, 2022

IsMonShiny:
	ld h, d
	ld l, e
	ld a, [hli]
	or %1101_0000
	inc a
	jr nz, .notShiny
	ld a, [hl]
	cp %1010_1010
	jr nz, .notShiny
	or 1
	ret
.notShiny
	xor a
	ret
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant