ref: b21600f1ed80d8b9a3cd0dca13583ff5a10e7e7b
parent: 7281681bcdc7eb851b7bfdefe76f3e4be507ea32
author: Bryan Bishop <[email protected]>
date: Wed May 30 21:01:22 EDT 2012
copy in DelayFrames from pokered
--- a/main.asm
+++ b/main.asm
@@ -24,7 +24,15 @@
ret
; 0x468
-INCBIN "baserom.gbc",$468,$52f - $468
+DelayFrames: ; 0x468
+; wait n frames, where n is the value in c
+ call DelayFrame
+ dec c
+ jr nz, DelayFrames
+ ret
+; 0x46f
+
+INCBIN "baserom.gbc",$46f,$52f - $46f
IncGradGBPalTable_01: ; 0x52f
db %11111111 ;BG Pal