shithub: pokecrystal

Download patch

ref: 5c7d04ac84743d16bff16f0297744eb31d5e9e65
parent: 131875d3e37044ec995287af7c93decd86a0d659
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Sat Jun 23 17:12:37 EDT 2018

Use direct tile IDs, not charmap entries, since they don't correspond correctly (e.g. "┌" is not the top-right corner)

--- a/engine/link/link_2.asm
+++ b/engine/link/link_2.asm
@@ -67,11 +67,11 @@
 	add hl, de
 .loop
 	push hl
-	ld a, "┌"
+	ld a, $79
 	ld [hli], a
 	ld a, " "
 	call .PlaceRow
-	ld [hl], "─"
+	ld [hl], $7a
 	pop hl
 	ld de, SCREEN_WIDTH
 	add hl, de
@@ -78,11 +78,11 @@
 	dec b
 	jr nz, .loop
 
-	ld a, "┐"
+	ld a, $7b
 	ld [hli], a
-	ld a, "│"
+	ld a, $7c
 	call .PlaceRow
-	ld [hl], "└"
+	ld [hl], $7d
 	ret
 ; 4d3ab