mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 07:28:14 +00:00
Added Death Counter to Custom Levels + Fixed castle bridge axe bonus sprites
This commit is contained in:
@@ -77,7 +77,9 @@ func _ready() -> void:
|
||||
SaveManager.write_save(Global.current_campaign)
|
||||
DiscordManager.set_discord_status("Playing " + Global.current_campaign + ": " + str(world_num) + "-" + str(Global.level_num))
|
||||
$BG/Control/WorldNum.text = str(world_num) +"-" + str(Global.level_num)
|
||||
if Settings.file.difficulty.inf_lives:
|
||||
if [Global.GameMode.CUSTOM_LEVEL, Global.GameMode.LEVEL_EDITOR].has(Global.current_game_mode):
|
||||
$BG/Control/LivesCount.text = "☠ * " + str(Global.total_deaths)
|
||||
elif Settings.file.difficulty.inf_lives:
|
||||
$BG/Control/LivesCount.text = "* ∞"
|
||||
elif Global.lives < 100:
|
||||
$BG/Control/LivesCount.text = "* " + (str(Global.lives).lpad(2, " "))
|
||||
|
Reference in New Issue
Block a user