100 Coin Star: Difference between revisions

Jump to navigation Jump to search
m
fixed wikitext typo
(refactor whole article, suggest merge)
m (fixed wikitext typo)
(16 intermediate revisions by 10 users not shown)
Line 1: Line 1:
'''100 Coin Stars''' or '''100c Stars''' are [[Star|stars]] that appear after collecting 100 coins in all of the [[Main Courses|main courses]]. They differ from all other stars in the main courses in that they appear directly above Mario instead of a fixed location. They appear in no other courses, even if one manages to collect 100 coins. 100 Coin Stars are unique in that when Mario collects one, he is not ejected from the current course. Instead, a [[Dialog Box|dialog box]] appears, and Mario is allowed to continue exploring the course.
'''100 Coin Stars''' are [[Star|stars]] that appear after collecting 100 coins in all 15 [[List of Courses|main courses]]. They differ from all other stars in the main courses in that they appear directly above Mario instead of at fixed location. 100 Coin Stars appear in no other courses, even if the player manages to collect 100 coins. 100 Coin Stars are unique in that when Mario collects one, he is not ejected from the current course back to the castle. Instead, a [[Textbox|textbox]] appears, and Mario is allowed to continue exploring the course.


==Phenomena==
==Phenomena==
{{Merge |Coin Limit|date=December 2018}}
{{Merge|Coin Limit|type=section|reason=duplicated information|date=December 2018}}


====Coin Count vs. Coin Display====
====Coin Count vs. Coin Display====
Line 25: Line 25:
Because the coin count can exceed 999, using [[Infinite Coin Glitches|infinite coin glitches]], it can reach 32767. Due to signed integer overflow, if one more coin is collected, the coin counter would become -32768. Collecting coins will continue to increase this value. Note that the coin display would remain 32767, for it only updates when it is less than the coin count. If one collects 32868 more coins, or 65636 coins in total, the coin counter will equal 100, spawning another 100 Coin Star. Although this star will appear yellow, collecting it will not increase the game's star count from 120 to 121 or more. This is because each star is represented in memory by 1 bit, and when a star is collected, the game uses the bitwise OR operator to store this information.
Because the coin count can exceed 999, using [[Infinite Coin Glitches|infinite coin glitches]], it can reach 32767. Due to signed integer overflow, if one more coin is collected, the coin counter would become -32768. Collecting coins will continue to increase this value. Note that the coin display would remain 32767, for it only updates when it is less than the coin count. If one collects 32868 more coins, or 65636 coins in total, the coin counter will equal 100, spawning another 100 Coin Star. Although this star will appear yellow, collecting it will not increase the game's star count from 120 to 121 or more. This is because each star is represented in memory by 1 bit, and when a star is collected, the game uses the bitwise OR operator to store this information.


Since Mario's life count is stored as an 8-bit signed byte, when it is set to 999, the upper byte is discarded and the number that is stored is -25. Since the above code runs every frame, Mario's life count is constantly set to -25. This means collecting [[1-Up Mushroom||1-Ups]] will not change this value. Since Mario's coin count is not reset when he exits a level, losing a life will also not change the life count until another main course is entered. However, once Mario's coin count becomes negative, the life counter can be modified again.
Since Mario's life count is stored as an 8-bit signed byte, when it is set to 999, the upper byte is discarded and the number that is stored is -25. Since the above code runs every frame, Mario's life count is constantly set to -25. This means collecting [[1-Up Mushroom|1-Ups]] will not change this value. Since Mario's coin count is not reset when he exits a level, losing a life will also not change the life count until another main course is entered. However, once Mario's coin count becomes negative, the life counter can be modified again.


==Uses==
==Uses==
Line 34: Line 34:


In the A Button Challenge, the SDC is used:
In the A Button Challenge, the SDC is used:
* as an alternative strat to collect [[To the Top of the Fortress]] 0x on the Japanese version<ref>https://youtu.be/GMOxYVtJhOI</ref>
*to get on the [[Bullet Bill Block]] in [[To the Top of the Fortress]] 0x<ref>https://www.youtube.com/watch?v=iVbBjf5s2ag</ref>
* to get to the mainland on the tiny island of [[Tiny-Huge Island]] 0x, saving 5 A presses<ref>https://youtu.be/eCCVpEK2YbQ</ref>
*along with a [[Crazy box]] and three [[Scuttlebugs]] to reach the mansion roof in [[Big Boo's Balcony]] 0x<ref>https://www.youtube.com/watch?v=CLksdecIacA</ref>
* to get to the cogs 0x in [[Tick-Tock Clock]]<ref>https://youtu.be/YBwenkLF_H4?t=256</ref>
*to go to [[Hazy Maze Cave]] 0x<ref>https://youtu.be/uDtInisrqqM</ref>
* to go to [[Hazy-Maze Cave]] 0x<ref>https://youtu.be/uDtInisrqqM</ref>
*to get to the mainland on the tiny island of [[Tiny-Huge Island]] 0x, saving 5 A presses<ref>https://youtu.be/eCCVpEK2YbQ</ref>
*to get to the highest walkway 0x in [[Stomp on the Thwomp]]<ref>https://www.youtube.com/watch?v=98EpPsaAF_k</ref>
among other A press saves.
among other A press saves.
===No Joystick Allowed===
The 100 coin star is currently used to reset Mario's ascent of steep slopes, which is useful near the top of the pyramid in [[Shifting Sand Land]] to collect the stars [[Inside the Ancient Pyramid]] and [[Pyramid Puzzle]].<ref>https://www.youtube.com/watch?v=I1XgaxgpEHA</ref>
==References==
==References==
<references />
<references />
{{star_nav}}
577

edits

Navigation menu