mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 07:28:14 +00:00
Fixed GameHUD spam and an annoying warning
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -49,8 +49,8 @@ func handle_main_hud() -> void:
|
|||||||
world_num = ["A", "B", "C", "D"][int(world_num) % 10]
|
world_num = ["A", "B", "C", "D"][int(world_num) % 10]
|
||||||
elif int(world_num) < 1:
|
elif int(world_num) < 1:
|
||||||
world_num = " "
|
world_num = " "
|
||||||
else:
|
# else:
|
||||||
print(Global.world_num)
|
# print(Global.world_num)
|
||||||
%LevelNum.text = world_num + "-" + str(Global.level_num)
|
%LevelNum.text = world_num + "-" + str(Global.level_num)
|
||||||
%Crown.visible = Global.second_quest
|
%Crown.visible = Global.second_quest
|
||||||
%Time.text = " " + str(Global.time).pad_zeros(3)
|
%Time.text = " " + str(Global.time).pad_zeros(3)
|
||||||
@@ -135,7 +135,7 @@ func handle_yoshi_radar() -> void:
|
|||||||
break
|
break
|
||||||
%Radar.frame = Global.level_num
|
%Radar.frame = Global.level_num
|
||||||
%ModernRadar.frame = Global.level_num
|
%ModernRadar.frame = Global.level_num
|
||||||
if has_egg == false or ChallengeModeHandler.is_coin_collected(5):
|
if has_egg == false or ChallengeModeHandler.is_coin_collected(ChallengeModeHandler.CoinValues.YOSHI_EGG):
|
||||||
%Radar.get_node("AnimationPlayer").play("RESET")
|
%Radar.get_node("AnimationPlayer").play("RESET")
|
||||||
%ModernRadar.get_node("AnimationPlayer").play("RESET")
|
%ModernRadar.get_node("AnimationPlayer").play("RESET")
|
||||||
return
|
return
|
||||||
|
Reference in New Issue
Block a user