mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 15:38:14 +00:00
Added Death Counter to Custom Levels + Fixed castle bridge axe bonus sprites
This commit is contained in:
@@ -62,6 +62,8 @@ var debugged_in := true
|
||||
var score_tween = create_tween()
|
||||
var time_tween = create_tween()
|
||||
|
||||
var total_deaths := 0
|
||||
|
||||
var score := 0:
|
||||
set(value):
|
||||
if disco_mode == true:
|
||||
@@ -304,6 +306,7 @@ func reset_values() -> void:
|
||||
PlayerGhost.idx = 0
|
||||
Checkpoint.passed_checkpoints.clear()
|
||||
Checkpoint.sublevel_id = 0
|
||||
Global.total_deaths = 0
|
||||
Door.unlocked_doors = []
|
||||
Checkpoint.unlocked_doors = []
|
||||
KeyItem.total_collected = 0
|
||||
|
Reference in New Issue
Block a user