From a51b73cc04de18505e81f0f033eb8013213ba7d9 Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Wed, 30 May 2012 22:49:56 -0500 Subject: [PATCH] copy in NPlaceChar from pokered --- main.asm | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/main.asm b/main.asm index 555b77e30..7a4b6bd24 100644 --- a/main.asm +++ b/main.asm @@ -69,7 +69,19 @@ EnableLCD: ; 58a 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@"