From b5a5f61298a1437d39bc58c385a139a3de1f4b24 Mon Sep 17 00:00:00 2001 From: Lorenzooone Date: Sat, 3 Aug 2019 22:07:03 +0200 Subject: [PATCH] Fix https://github.com/jeffman/Mother2GbaTranslation/issues/35 (#50) --- notes/m2-notes.txt | 5 +++++ src/m2-hack.asm | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/notes/m2-notes.txt b/notes/m2-notes.txt index 675e53a..e6c537c 100644 --- a/notes/m2-notes.txt +++ b/notes/m2-notes.txt @@ -281,3 +281,8 @@ Each character's default names list is 0x214 bytes long, so each character has 7 First 4 bytes are the name's length. After that there is the name. There are 7 character's entries. +--------- + +Around the zone near 0x802A753 there seems to be scripting data. (This one in particular is Carpainter's lightning script data) +Control code [06 XX] makes it so the game doesn't read from the script for XX frames. + diff --git a/src/m2-hack.asm b/src/m2-hack.asm index c14459e..be23043 100644 --- a/src/m2-hack.asm +++ b/src/m2-hack.asm @@ -789,6 +789,11 @@ lsl r0,r1,4 nop nop +//--------------------------------------------------------- +// Carpainter's timing fix +//--------------------------------------------------------- +.org 0x802A75F :: db 0x30 //Add 8 extra frames before the game can start reading again. + //--------------------------------------------------------- // Names hacks //---------------------------------------------------------