summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2017-12-12 23:45:32 -0500
committeryenatch <yenatch@gmail.com>2017-12-12 23:45:32 -0500
commit725750d69d6877affd4121be384cc7648fc99939 (patch)
tree4fa9ee1c1c5ab12bcd0614665e1ff7c557c3ee08
parenta1d9c7459b0b8001889b6191c1a3c0af5ae0ae83 (diff)
use an xor instead of the result
-rwxr-xr-xengine/trainer_card.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/trainer_card.asm b/engine/trainer_card.asm
index 499891fb0..fdf17acc9 100755
--- a/engine/trainer_card.asm
+++ b/engine/trainer_card.asm
@@ -448,7 +448,7 @@ TrainerCard_Page1_PrintGameTime: ; 25415 (9:5415)
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