Language…
14 users online:  Ahrion, crocodileman94, eltiolavara9,  Fernap, Foxy_9000_, Isikoro, jump_run_repeat,  MarkAlarm, monkey03297, Mythundare, Necrotext, pnaha, sinseiga, Tsquare07 - Guests: 263 - Bots: 368
Users: 64,795 (2,377 active)
Latest user: mathew

SA-1 SMB3 Brick

I'm trying to use the SMB3 brick included with the Bounce Block Sprite & Tile Unrestrictor Patch v0.91 on an SA-1 ROM. However, the included brick block (and the routines) are not converted to SA-1. I tried doing it myself with the converter, but it won't convert; it throws this error:

smb3brick.asm: -------- Critical Log --------
smb3brick.asm: Cannot remap address '$7EC275'.
smb3brick.asm: Cannot remap address '$7EC271'.


If I remove those lines of code so that it convert every other address, it converts successfully, but it converts some values that it shouldn't (for example, it converts a 16-bit tile address as if it was a RAM address).

I tried to fix everything I could then insert with GPS, but the block does nothing ingame. Is there a SA-1 compatible SMB3 brick out there that works with this patch?
Can you post the code for the SA-1 block you eventually tried to insert?
Originally posted by trumpet24601
I tried doing it myself with the converter, but it won't convert; it throws this error:

smb3brick.asm: -------- Critical Log --------
smb3brick.asm: Cannot remap address '$7EC275'.
smb3brick.asm: Cannot remap address '$7EC271'.



You have to manually repoint those addresses to $40C275 and $40C271 respectively. Post the block asm and routines so we could have a look at any issues there may be.




Originally posted by Elek
Originally posted by trumpet24601
I tried doing it myself with the converter, but it won't convert; it throws this error:

smb3brick.asm: -------- Critical Log --------
smb3brick.asm: Cannot remap address '$7EC275'.
smb3brick.asm: Cannot remap address '$7EC271'.



You have to manually repoint those addresses to $40C275 and $40C271 respectively. Post the block asm and routines so we could have a look at any issues there may be.



Thank you; I remapped those addresses before putting the block through the converter and it passed. Now it shatters correctly and bounces, but the game crashes before changing from the bounce sprite back into the brick. Here's the code I have now after correcting the !BounceTile and !BTile defines: Link



EDIT: I did some investigating and found out my rather silly mistake. I never actually applied the Bounce Block Unrestrictor Patch that allows this block to work. After applying the patch, it works successfully.