100 Coin Star: Difference between revisions

Jump to navigation Jump to search
no edit summary
mNo edit summary
No edit summary
Line 2: Line 2:


==Phenomena==
==Phenomena==
===Spawning multiple 100 coin stars===
====Coin Count vs Coin Display====
====Coin Count vs Coin Display====
The game has two variables to keep track of Mario's coin count-the coin count and the coin display. The latter is displayed on the screen. By using glitches or [[pause buffering]] the global timer, these variables can differ.
The game has two variables to keep track of Mario's coin count-the coin count and the coin display. The latter is displayed on the screen. By using glitches or [[pause buffering]] the global timer, these variables can differ.
====Coin overflow====
====Coin Overflow====
Because Mario's coin count is stored as a long integer, it can range from -32768 to 32767. However, in all versions of the game besides the Japanese N64 version, the coin count is capped at 999. In the Japanese version, the coders accidentally set the life count to 999 instead, which becomes a -25 because the life count is stored in a short rather than a long. By performing a renewable coin duplication glitch, like the [[Breaking-Disappearing Cork Box glitch]], you can go from 999 to 1000 coins in the Japanese version and keep gaining coins. This is also possible with coins from Bowser's breath. When you collect a coin with 32767 coins, you go to -32768 coins because the coin count is a signed value. The HUD also stops updating because it normally only counts up if the coin count is higher than the coin display. When you get from -1 to 0 coins, you will then be able to collect 99 coins again and spawn a second 100 coin star. Even if yellow, this second star will not increment the star counter.
Because Mario's coin count is stored as a long integer, it can range from -32768 to 32767. However, in all versions of the game besides the Japanese N64 version, the coin count is capped at 999. In the Japanese version, the coders accidentally set the life count to 999 instead, which becomes a -25 because the life count is stored in a short rather than a long. By performing a renewable coin duplication glitch, like the [[Breaking-Disappearing Cork Box glitch]], you can go from 999 to 1000 coins in the Japanese version and keep gaining coins. This is also possible with coins from Bowser's breath. When you collect a coin with 32767 coins, you go to -32768 coins because the coin count is a signed value. The HUD also stops updating because it normally only counts up if the coin count is higher than the coin display. When you get from -1 to 0 coins, you will then be able to collect 99 coins again and spawn a second 100 coin star. Even if yellow, this second star will not increment the star counter.
==Uses==
==Uses==

Navigation menu