Board Thread:Off Topic/@comment-29646689-20180430203301/@comment-7395353-20180711192523

TL;DR Different types of forum people and how annoying they are

To understand what's going on, we need to understand how the subtype-0 coin spawner actually works. When Mario gets within 2000 units of the coin spawner, it spawns 5 coins. It spawns these coins 300 units above itself, and the coins are separated by 160 units. However, the coins are meant to be on the ground, not in the air. Thus, each coin checks how high the floor is. The floor-checking function starts at 78 units above the coin, and searches downwards until it finds a floor. At this point, each coin compares its own height to the floor height that it found. Interestingly, at this point, a special failsafe comes into play: If a coin determines that it's below the floor, then it immediately unloads. And for all remaining coins, their height then gets set to the floor height that they found.