From 75bddc1f132d56820b35725f6925d44d862a321f Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Wed, 30 May 2012 22:05:14 -0500 Subject: [PATCH] for some reason AddNTimes is copied twice --- main.asm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/main.asm b/main.asm index 8298a7e1f..555b77e30 100644 --- a/main.asm +++ b/main.asm @@ -220,7 +220,17 @@ IsInArray: ; 30e1 ret ; 0x30f4 -INCBIN "baserom.gbc",$30f4,$30fe - $30f4 +INCBIN "baserom.gbc",$30f4,$30f7 - $30f4 + +AddNTimesCopied: ; 0x30f7 + and a + ret z +.loop + add hl, bc + dec a + jr nz, .loop + ret +; 0x30fe AddNTimes: ; 0x30fe and a