Difference between revisions of "Port Sonic 2's Level Select to Sonic 1"
From Sonic Retro
(→Edit the Main Game Mode Array) |
(→Edit the Main Game Mode Array) |
||
Line 3: | Line 3: | ||
==Edit the Main Game Mode Array== | ==Edit the Main Game Mode Array== | ||
the main game mode array in sonic 1 does not have entries for the sonic 2 menu system, we will add them here. | the main game mode array in sonic 1 does not have entries for the sonic 2 menu system, we will add them here. | ||
+ | ===main game loop=== | ||
+ | first we update the main game loop: | ||
+ | <asm> | ||
+ | MainGameLoop: | ||
+ | move.b ($FFFFF600).w,d0 ; load Game Mode | ||
+ | andi.w #$1C,d0 | ||
+ | jsr GameModeArray(pc,d0.w) ; jump to apt location in ROM | ||
+ | bra.s MainGameLoop | ||
+ | </asm> | ||
==Make changes to the Title Screen== | ==Make changes to the Title Screen== |
Revision as of 08:51, 26 February 2011
You probably saw an old method of adding the sonic 2 level select to sonic 1 on SSRG by Esreal, well time we added it the exact same way Sonic 2 does it.
Contents
Edit the Main Game Mode Array
the main game mode array in sonic 1 does not have entries for the sonic 2 menu system, we will add them here.
main game loop
first we update the main game loop: <asm> MainGameLoop: move.b ($FFFFF600).w,d0 ; load Game Mode andi.w #$1C,d0 jsr GameModeArray(pc,d0.w) ; jump to apt location in ROM bra.s MainGameLoop </asm>