From b21600f1ed80d8b9a3cd0dca13583ff5a10e7e7b Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Thu, 31 May 2012 01:01:22 -0500 Subject: [PATCH] copy in DelayFrames from pokered --- main.asm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/main.asm b/main.asm index 52ae27f82..d9c2fff3c 100644 --- a/main.asm +++ b/main.asm @@ -24,7 +24,15 @@ DelayFrame: ; 0x45a 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