mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 15:38:14 +00:00
Merge branch 'main' of https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public
This commit is contained in:
@@ -32,6 +32,10 @@ func update_cam_limit() -> void:
|
||||
|
||||
func _process(_delta: float) -> void:
|
||||
$Overlay.modulate.a = int($SmallCastleVisual.use_sprite == false)
|
||||
if Global.level_editor != null && scene_file_path == "res://Scenes/Prefabs/LevelObjects/EndFinalCastle.tscn":
|
||||
var is_smbs: bool = Global.current_campaign == "SMBS"
|
||||
$SmallCastleVisual.visible = !is_smbs
|
||||
$SmallCastleVisual2.visible = is_smbs
|
||||
if get_node_or_null("Wall") != null:
|
||||
%Wall.visible = show_walls
|
||||
|
||||
|
Reference in New Issue
Block a user