Correct Thick Club overflow fix

Would, similarly as previous commit, cap incorrectly.
This commit is contained in:
Eldred Habert 2019-03-03 18:48:24 +01:00 committed by GitHub
parent ce7e955d10
commit 64d8a2b8fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,6 +89,7 @@ Some fixes are mentioned as breaking compatibility with link battles. This can b
+ ld a, HIGH(MAX_STAT_VALUE)
+ cp h
+ jr c, .cap
+ ret nz
+ ld a, LOW(MAX_STAT_VALUE)
+ cp l
+ ret nc