Yellow Coin: Difference between revisions

Jump to navigation Jump to search
delet this
m (Removed a break and comma so it looks nicer)
(delet this)
Line 19: Line 19:


== Coin Duplication ==
== Coin Duplication ==
 
{{delete|Much of this info is duplicated on [[Cloning]] and should go there anyway}}
When Mario interacts with a coin, a flag is set which informs the coin to unload when it next updates. When the coin unloads, it marks itself as "collected" so that it does not spawn again when Mario leaves the area and returns. Using cloning or Time Stop, we can prevent the coin from updating, and thus collect it without the coin being marked as "collected". This allows us to spawn the coin again, even after collecting it, effectively duplicating the coin.
When Mario interacts with a coin, a flag is set which informs the coin to unload when it next updates. When the coin unloads, it marks itself as "collected" so that it does not spawn again when Mario leaves the area and returns. Using cloning or Time Stop, we can prevent the coin from updating, and thus collect it without the coin being marked as "collected". This allows us to spawn the coin again, even after collecting it, effectively duplicating the coin.


Line 26: Line 26:
Collecting more than 255 coins in a level will not increase your in-game high score, however. Due to how the game keeps track of the score, it actually saves mod 256 for the total collected coins.
Collecting more than 255 coins in a level will not increase your in-game high score, however. Due to how the game keeps track of the score, it actually saves mod 256 for the total collected coins.


==Maximum Coins per Course==
{| class="wikitable sortable"
{| class="wikitable sortable"
|-
|-

Navigation menu