Fix 100 coin stars spawning inside ceilings + being able to spawn multiple 100 coin stars (#541)

* Going below 100 coins and getting 100 coins again will no longer result in multiple 100 coin stars spawning

* 100 coin stars can no longer clip into ceilings

* Renamed set_home_to_mario to spawned_star_set_target_above_mario since it's a more descriptive name of what it does
This commit is contained in:
Reonu authored and GitHub committed 2022-12-06 18:44:16 +01:00
1 parent 1098ea95ea
commit 22b3c9ba08
4 files changed
+16 -4

No files matched your search

+1
View File
@@ -122,6 +122,7 @@ struct HudDisplay {
extern struct HudDisplay gHudDisplay;
extern s8 gNeverEnteredCastle;
extern u8 g100CoinStarSpawned;
enum HUDDisplayFlag {
HUD_DISPLAY_FLAG_LIVES = (1 << 0), // 0x0001