mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 15:38:14 +00:00
@@ -13,6 +13,3 @@ func warp_back(player: Player) -> void:
|
||||
await get_tree().create_timer(1, false).timeout
|
||||
PipeArea.exiting_pipe_id = -1
|
||||
Global.transition_to_scene(Level.vine_return_level)
|
||||
|
||||
func get_room_type() -> Global.Room:
|
||||
return Global.Room.COIN_HEAVEN
|
||||
|
@@ -126,7 +126,10 @@ func update_theme() -> void:
|
||||
if Global.current_campaign == "SMBANN":
|
||||
theme_time = "Night"
|
||||
ResourceSetterNew.cache.clear()
|
||||
Global.current_room = get_room_type()
|
||||
if self is CoinHeaven:
|
||||
Global.current_room = Global.Room.COIN_HEAVEN
|
||||
else:
|
||||
Global.current_room = get_room_type()
|
||||
Global.current_campaign = campaign
|
||||
Global.level_theme = theme
|
||||
Global.theme_time = theme_time
|
||||
|
Reference in New Issue
Block a user