Sonic and Sega Retro Message Board: Some changes and fixes for Sonic 2 - Sonic and Sega Retro Message Board

Jump to content

Hey there, Guest!  (Log In · Register) Help
  • 15 Pages +
  • ◄ First
  • 13
  • 14
  • 15
    Locked
    Locked Forum

Some changes and fixes for Sonic 2

#211 User is offline Caverns 4 

Posted 26 December 2016 - 02:20 PM

  • Posts: 321
  • Joined: 07-December 12
  • Gender:Male
  • Project:Sanik Quest: Journey To The Right

View PostClownacy, on 12 October 2016 - 11:25 AM, said:

Thanks to this guy, I learned of another bug: starting the game through the options menu doesn't clear your emerald count, meaning you can soft-reset and replay EHZ over and over, and collect all the emeralds within the first act. If I remember right, I once read of a similar bug, involving emeralds not being cleared in 2-player mode, allowing Sonic to go Super.


If my memory serves me, this isn't a "bug", but was intended behavior. I don't really have the place where that was said on hand though, and it would take me a while to find it.
It's also not really worth debating over, since it also could be considered a design preference depending on the scope of your hack.

#212 User is offline Clownacy 

Posted 26 December 2016 - 02:46 PM

  • Layin' the Wax and Spinnin' the Sounds
  • Posts: 623
  • Joined: 06-July 13
  • Gender:Male
  • Location:Englandland
...then why bring it up? It seems obvious that Sonic Team were duplicating code (which is considered bad practice for leading to bugs just like this), and simply stopped at the checks, not noticing the additional clears after it. What reason would this be intentional?
This post has been edited by Clownacy: 26 December 2016 - 02:58 PM

#213 User is offline Neo 

Posted 26 December 2016 - 03:36 PM

  • Clackerjack
  • Posts: 1195
  • Joined: 10-December 04
  • Gender:Male
  • Location:Portugal
  • Project:Sonic 3 Unlocked
  • Wiki edits:1
It's weird inconsistent behavior to be sure, but it's also the only way to play EHZ1 as Super Sonic without using cheats.

I'd rather have the emerald count clear when you reset the game or run out of continues, though.

#214 User is offline Clownacy 

Posted 09 January 2017 - 02:53 PM

  • Layin' the Wax and Spinnin' the Sounds
  • Posts: 623
  • Joined: 06-July 13
  • Gender:Male
  • Location:Englandland
So, apparently the DEZ music was meant to resume between the Silver Sonic and Final Boss fights.

loc_39BA4:
	move.w	#$1000,(Camera_Max_X_pos).w
	addq.b	#2,(Dynamic_Resize_Routine).w
	move.b	(Level_Music).w,d0
	jsrto	(PlayMusic).l, JmpTo5_PlayMusic
	bra.w	JmpTo65_DeleteObject


The problem here is that Level_Music is actually a word long, meaning all that 'move.b' does is try to play Sound 0, which doesn't do anything, thus the Boss music just continues until the Final Boss music interrupts it. To fix this, just change the 'move.b' to 'move.w'

#215 User is offline Overlord 

Posted 09 January 2017 - 03:18 PM

  • Substitute Meerkovo IT Chief
  • Posts: 16066
  • Joined: 12-January 03
  • Gender:Male
  • Location:Berkshire, England
  • Project:VGDB
  • Wiki edits:3,204
That track is still underused though. Even in a scenario where it'd be working, you'd hear it again while playing normally for what, 5 seconds? 10 at most?

#216 User is offline DigitalDuck 

Posted 09 January 2017 - 03:44 PM

  • Arriving four years late.
  • Posts: 4262
  • Joined: 23-June 08
  • Gender:Male
  • Location:Lincs, UK
  • Project:TurBoa, S1RL

View PostOverlord, on 09 January 2017 - 03:18 PM, said:

That track is still underused though. Even in a scenario where it'd be working, you'd hear it again while playing normally for what, 5 seconds? 10 at most?


Yeah, you wouldn't even get to the melody in normal gameplay. There are people who've completed the game lots of times that don't even know it has a melody.

#217 User is offline Dark Sonic 

Posted 09 January 2017 - 04:20 PM

  • Posts: 9943
  • Joined: 21-April 06
  • Gender:Male
  • Project:Sonic Lost World: Nonexistent Six/Fixed Edition; Sonic Genesis Adventure (Let's see how long this lasts :V)
  • Wiki edits:10
I always thought it would have been better if you fought Mecha Sonic to the Death Egg melody rather than the boss music. Actually give the song a chance to be heard.

#218 User is offline Mercury 

Posted 22 March 2017 - 12:19 AM

  • His Name Is Sonic
  • Posts: 1725
  • Joined: 13-November 08
  • Gender:Not Telling
  • Location:Location Location
  • Project:AeStHete
  • Wiki edits:130
Was having a conversation about the minutiae of how 1-ups are awarded in the classic games and discovered this:

Flags are set when you get a life at 100 and 200 rings, so you can't re-get those lives when your rings count down from being Super Sonic (they didn't want you to e.g. collect 100 rings, wait a second for them to count down to 99, grab one more ring and get a free life, rinse and repeat).

However, these flags are not cleared when you revert to normal (by dropping to 0 rings). They are only cleared when Sonic is hit and loses his rings, or when the level is loaded. (Search "Sonic_RevertToNormal" and "Extra_life_flags" in the github disasm for the relevant stuff.)

#219 User is offline DigitalDuck 

Posted 22 March 2017 - 11:42 AM

  • Arriving four years late.
  • Posts: 4262
  • Joined: 23-June 08
  • Gender:Male
  • Location:Lincs, UK
  • Project:TurBoa, S1RL

View PostMercury, on 22 March 2017 - 12:19 AM, said:

However, these flags are not cleared when you revert to normal (by dropping to 0 rings). They are only cleared when Sonic is hit and loses his rings, or when the level is loaded. (Search "Sonic_RevertToNormal" and "Extra_life_flags" in the github disasm for the relevant stuff.)


Design pondering:

Should they even be cleared when Sonic is hit? If you wanted to farm lives from rings, you could collect 100, get hit, and then start afresh with up to 32 (meaning you only need to hunt for another 68 rings instead of another 100). Doesn't make that much of a difference, but it's food for thought.

  • 15 Pages +
  • ◄ First
  • 13
  • 14
  • 15
    Locked
    Locked Forum

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users