shithub: pokecrystal

Download patch

ref: a51b73cc04de18505e81f0f033eb8013213ba7d9
parent: 75bddc1f132d56820b35725f6925d44d862a321f
author: Bryan Bishop <[email protected]>
date: Wed May 30 18:49:56 EDT 2012

copy in NPlaceChar from pokered

--- a/main.asm
+++ b/main.asm
@@ -69,7 +69,19 @@
 	ret
 ; 0x591
 
-INCBIN "baserom.gbc",$591,$1273 - $591
+INCBIN "baserom.gbc",$591,$101e - $591
+
+NPlaceChar: ; 0x101e
+; place a row of width c of identical characters
+    ld d,c
+.loop\@
+    ld [hli],a
+    dec d
+    jr nz,.loop\@
+    ret
+; 0x1024
+
+INCBIN "baserom.gbc",$1024,$1273 - $1024
 
 Char5CText: ; 0x1273
 	db "TM@"