shithub: pokecrystal

Download patch

ref: 75bddc1f132d56820b35725f6925d44d862a321f
parent: 884ed3f97d602717d04eac514d74b0c9bb8cff86
author: Bryan Bishop <[email protected]>
date: Wed May 30 18:05:14 EDT 2012

for some reason AddNTimes is copied twice

--- a/main.asm
+++ b/main.asm
@@ -220,7 +220,17 @@
     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