shithub: pokecrystal

Download patch

ref: 64d8a2b8fea10b4f5811f2a6f17b268e0a2959e9
parent: ce7e955d10ce86109a458dca23845bf5e64c6db0
author: Eldred Habert <[email protected]>
date: Sun Mar 3 13:48:24 EST 2019

Correct Thick Club overflow fix

Would, similarly as previous commit, cap incorrectly.

--- a/docs/bugs_and_glitches.md
+++ b/docs/bugs_and_glitches.md
@@ -89,6 +89,7 @@
 +	ld a, HIGH(MAX_STAT_VALUE)
 +	cp h
 +	jr c, .cap
++	ret nz
 +	ld a, LOW(MAX_STAT_VALUE)
 +	cp l
 +	ret nc