HackerN64 / HackerSM64

A Super Mario 64 decompilation repo based on CrashOveride95/ultrasm64 that aims to provide a flexible, easy-to-use base for creating romhacks.
328 stars 146 forks source link

Fix spawned coins not being collectible until after their arc's peak #806

Closed 1ted59 closed 2 months ago

1ted59 commented 2 months ago

If a spawned coin lands on the same frame it hits the peak of its arc, it will never have vertical speed < 0, so it will never be collectible.

Making this also set the coin to tangible if it has 0 speed fixes this issue.

An example of this bug can be found here.

gheskett commented 2 months ago

Good find!