Fungi Forums

Video Games => Mario Chat => Topic started by: Metric on June 19, 2007, 01:38:33 PM

Title: Max lives in Super Mario Bros 128(easter eggs and/or coincidences)
Post by: Metric on June 19, 2007, 01:38:33 PM
In Super Mario All-Stars, when you play Super Mario Bros. and do the trick where you jump on the shell and it hits the block and you keep repeating to get lives, you max out at 128. Coincidence? I think so because it came out in 1992, but that's pretty interesting, does anyone if there are anymore easter eggs or coincidences like this?
Title: Re: Max lives in Super Mario Bros 128(easter eggs and/or coincidences)
Post by: MEGAߥTE on June 19, 2007, 01:58:23 PM
The lives variable is stored as a signed byte.  A byte is 8-bits, which means that it can hold 256 values.  Since the byte has a +/- sign, one of the bits is used up, leaving 7-bits.  The maximum value that you can hold with 7-bits is 128 (or 127 if starting count from 0).
Title: Re: Max lives in Super Mario Bros 128(easter eggs and/or coincidences)
Post by: Metric on June 19, 2007, 11:13:30 PM
So, ultimately, I guess it's not a coincidence, since Mario 64(and inturn 128) were named with bits in mind. Way to break it down though, interesting.
Title: Re: Max lives in Super Mario Bros 128(easter eggs and/or coincidences)
Post by: Chupperson Weird on June 19, 2007, 11:39:05 PM
It's just 2, doubled over and over and over and over and over...
Title: Re: Max lives in Super Mario Bros 128(easter eggs and/or coincidences)
Post by: Toad on June 21, 2007, 07:53:10 PM
I saw the topic title and thought somebody was going to say that they found MaxVance living in Super Mario 128..
Title: Re: Max lives in Super Mario Bros 128(easter eggs and/or coincidences)
Post by: MaxVance on June 21, 2007, 09:39:36 PM
That's what I thought, too.
Title: Re: Max lives in Super Mario Bros 128(easter eggs and/or coincidences)
Post by: PaperLuigi on June 22, 2007, 08:00:13 AM
I thought someone had renamed it or something.