mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-12-05 19:20:19 -08:00
commit
2fb96e40a9
2 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue