shithub: pokecrystal

Download patch

ref: 725750d69d6877affd4121be384cc7648fc99939
parent: a1d9c7459b0b8001889b6191c1a3c0af5ae0ae83
author: yenatch <yenatch@gmail.com>
date: Tue Dec 12 18:45:32 EST 2017

use an xor instead of the result

--- a/engine/trainer_card.asm
+++ b/engine/trainer_card.asm
@@ -448,7 +448,7 @@
 	ret nz
 	hlcoord 15, 12
 	ld a, [hl]
-	xor %01010001 ; $7F (space) <--> $2E (colon)
+	xor $7f ^ $2e ; $7F (space) <--> $2E (colon)
 	ld [hl], a
 	ret