Enigma Credits in Sonic 1
From Sonic Retro
Revision as of 21:30, 20 December 2015 by Scarred Sun (talk | contribs) (Text replacement - "</asm>" to "</syntaxhighlight>")
(Original guide by Fukuller)
Hi there!
I programmed something I call as Enigma Credits.
Why would you need that? Simple: with that, you can add more names to your credits. (more than 5 big names (e.g. Mister Sandwich))
Please note: this tutorial is for the Hivebrain's ASM68k disassembly.
Contents
Downloading the program
Download this file and extract it to your project's root folder (e.g. C:\Sonic1).
Download link is broken
Configuring the game so it'll won't load the old script
Open up your "sonic1.asm".
Go to "Cred_ClrPallet:", then, find:
<asm> move.b #$8A,($FFFFD080).w ; load credits object</syntaxhighlight>
and replace it by:
<asm> jsr Credits_MapLoad ; We'll include this routine in the next step</syntaxhighlight>
Including the subroutine and the mappings
Let's include the routine we'll call to load the credits.
Add this before the "; end of 'ROM'":
<asm> include EniCredProg.asm ; here we include the "Credits_MapLoad" subroutine
even
EniCred_0: incbin credeni\cred0.bin ; Credits #0 mappings
even
EniCred_1: incbin credeni\cred1.bin ; Credits #1 mappings
even
EniCred_2: incbin credeni\cred2.bin ; Credits #2 mappings
even
EniCred_3: incbin credeni\cred3.bin ; Credits #3 mappings
even
EniCred_4: incbin credeni\cred4.bin ; Credits #4 mappings
even
EniCred_5: incbin credeni\cred5.bin ; Credits #5 mappings
even
EniCred_6: incbin credeni\cred6.bin ; Credits #6 mappings
even
EniCred_7: incbin credeni\cred7.bin ; Credits #7 mappings
even
EniCred_8: incbin credeni\cred8.bin ; Credits #8 mappings
even
EniCred_9: incbin credeni\cred9.bin ; Credits #9 mappings
even</syntaxhighlight>
Save and build.
And that's all!
PlaneED Project
If you have PlaneED, then you probably want the project files.
Download them here.
Download link is broken
Important notes
I recommend using Sonic 2's credits title card font. (OR, you can spend 10 minutes to write a name/word.)
All the mappings are empty.