Yellow Coin: Difference between revisions

3,958 bytes removed ,  16 May 2021
m
no edit summary
mNo edit summary
mNo edit summary
 
(30 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{object_infobox
{{object_infobox_2
|title= Yellow Coin
|title= Yellow Coin
|image= [[File:Yellow_Coin.gif]]
|image= Yellow_Coin.gif
|hitbox= Cylinder of radius 137, extends up 64 and down 160
|group=Level
|damage=
|tangibility=1000
|speed=  
|draw=4000
|tangibility_radius= Someone please add
|gravity=
|interaction_type= Someone please add
|friction=
|surfaces=
|buoyancy=
|related= [[Red Coins]] <br> [[Blue Coins]]
|interaction=Coin
|found_in= [[All courses]]
|coin_value=1
|expand=
|radius=100
|height=64
|offset=0
}}
}}
A yellow coin is an [[object]] found in most levels. When Mario interacts with a yellow coin, the [[coin counter]] increases, [[Mario]] is healed, and the coin unloads. When the coin counter reaches 100 while in one of the 15 [[courses]], a [[100 Coin Star]] is spawned above [[Mario]]. The amount that the coin counter increases and the amount that Mario is healed is determined by the coin's value, which is 1, 2, or 5 for yellow, red, and blue coins, respectively.
'''Yellow Coins''' are [[object]]s found in every level. When Mario interacts with a yellow coin, the [[coin counter]] increases, [[Mario]] is healed, and the coin unloads. When the coin counter reaches 100 while in one of the 15 [[courses]], a [[100 Coin Star]] spawns above [[Mario]]. The amount that the coin counter increases and the amount that Mario is healed is determined by the coin's value, which is 1, 2, or 5 for yellow, red, and blue coins, respectively. Some yellow coins are spawned by [[Coin Spawner]]s.


Various [[glitches]] such as [[cloning]] and [[time stop]] can be used to spawn and collect more coins than there are intended to be in a level.
Various glitches such as [[cloning]] and [[Time Stop]] can be used to spawn and collect more coins than there are intended to be in a level.


== Coin Duplication ==
== Coin Duplication ==
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.
In this way it is possible to collect more than the normal number of coins in a level. In several levels, it is possible to increase the coin counter to 999. However, when using [[cloning]] by itself, each duplicated coin takes up an [[object slot]] in memory. There are only 240 object slots total, and attempting to spawn an additional object once all of them are full will cause the game to freeze.


In this way it is possible to collect more than the normal number of coins in a level. In several levels, it is possible to increase the coin counter to 999. However, when using [[cloning]] by itself, each duplicated coin takes up an [[object slot]] in memory. There are only 240 object slots total, and attempting to spawn an additional object once all of them are full will cause the game to freeze.
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==
{{Maximum_Coins}}


{| class="wikitable sortable"
==References==
|-
<references/>
! scope="col"| Course name
{{Objects}}
!! scope="col"| Maximum Coins without coin duplication
<!-- Categories -->
!! scope="col"| Maximum Coins with duplication
[[Category:Collectibles]]
! scope="col"| More info
[[Category:Objects with Version Differences]]
|-
! scope="row"| Bomb-omb Battlefield
| 146
| style="color: blue;" | 999
| [[Breaking-Disappearing Cork Box Glitch]]
|-
! scope="row"| Whomp’s Fortress
| 141
| style="color: blue;" | 999
| [[Breaking-Disappearing Cork Box Glitch]]
|-
! scope="row"| Jolly Roger Bay
| 104
| 104<ref>https://www.youtube.com/watch?v=kTsHpBL-kzc</ref>
| No infinite coin glitches are available in this course
|-
! scope="row"| Cool, Cool Mountain
| 154
| 154<ref>https://www.youtube.com/watch?v=zF4MfQR9m40</ref>
| No infinite coin glitches are available in this course
|-
! scope="row"| Big Boo’s Haunt
| 151
| 151<ref>https://www.youtube.com/watch?v=bIiYBwiNeGk</ref>
| No infinite coin glitches are available in this course
|-
! scope="row"| Hazy Maze Cave
| 139
| 139<ref>https://www.youtube.com/watch?v=gJpAvqjv_WE</ref>
| No infinite coin glitches are available in this course
|-
! scope="row"| Lethal Lava Land
| 133
| 133<ref>https://www.youtube.com/watch?v=avHqWNA601U</ref>
| No infinite coin glitches are available in this course
|-
! scope="row"| Shifting Sand Land
| 136
| style="color: blue;" | 999
| [[Breaking-Disappearing Cork Box Glitch]]
|-
! scope="row"| Dire, Dire Docks
| 106
| style="color: blue;" | 999
| Going through the loading point unloads all coin clones
|-
! scope="row"| Snowman’s Land
| 126
| style="color: blue;" | 999
| [[Money-bag duplication]]
|-
! scope="row"| Wet-Dry World
| 152
| style="color: blue;" | 999
| Going through the loading point unloads all coin clones
|-
! scope="row"| Tall, Tall Mountain
| 137
| style="color: blue;" | 999
| Entering and exiting the slide unloads all coin clones
|-
! scope="row"| Tiny-Huge Island
| 191
| style="color: blue;" | 999
| [[Piranha Plant glitch]], or entering a warp zone during [[time stop]] on [[J 1.0]]
|-
! scope="row"| Tick Tock Clock
| 128
| style="color: red;" | 279
| No other infinite coin glitches are avalible, apart from cloning, so 279 coins is the maximum coins you can get before the game freezes
|-
! scope="row"| Rainbow Ride
| 146
| style="color: red;" | 290
| No other infinite coin glitches are available in this course, apart from cloning, so 290 coins is the maximum coins you can get before the game freezes
|-
! scope="row"| Tower of the Wing Cap
| 63
| 63<ref>https://www.youtube.com/watch?v=EjxqwxQae-U</ref>
| No infinite coin glitches are available in this course
|-
! scope="row"| Vanish Cap Under the Moat
| 27
| 27<ref>https://www.youtube.com/watch?v=NJ86CeDknP8</ref>
| No infinite coin glitches are available in this course
|-
! scope="row"| Cavern of the Metal Cap
| 47
| 47<ref>https://www.youtube.com/watch?v=rHqaFDtpmJg</ref>
| No infinite coin glitches are available in this course
|-
! scope="row"| The Princess's Secret Slide
| 80
| 80<ref>https://www.youtube.com/watch?v=dDF-NJpPqYI</ref>
| No infinite coin glitches are available in this course
|-
! scope="row"| The Secret Aquarium
| 56
| 56<ref>https://www.youtube.com/watch?v=oW5RcIQDe94</ref>
| No infinite coin glitches are available in this course
|-
! scope="row"| Wing Mario over the Rainbow
| 56
| 56<ref>https://www.youtube.com/watch?v=0S_79QeWhYk</ref>
| No infinite coin glitches are available in this course
|-
! scope="row"| Bowser in the Dark World
| 80
| style="color: blue;" | 999<ref>https://www.youtube.com/watch?v=izGgTt3v0ho</ref>
| Whenever Bowser blows fire, there's a chance that some of the flames will spawn a yellow coin. Since he does this attack infinitely, you have the chance to collect infinite coins
|-
! scope="row"| Bowser in the Fire Sea
| 80
| style="color: red;" | 250<ref>https://www.youtube.com/watch?v=cPeE0XJ6JMw</ref>
| No other infinite coin glitches are available in this course, apart from cloning, so 250 coins is the maximum coins you can get before the game freezes
|-
! scope="row"| Bowser in the Sky
| 76
| style="color: blue;" | 999<ref>https://www.youtube.com/watch?v=NsAcDDzLMNE</ref>
| Whenever Bowser blows fire, there's a chance that some of the flames will spawn a yellow coin. Since he does this attack infinitely, you have the chance to collect infinite coins
|-
|}