mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 07:28:14 +00:00
Fix 1UP check condition for LL (#446)
This commit is contained in:
@@ -82,12 +82,12 @@ func do_lost_levels_firework_check() -> void:
|
|||||||
if coin_digit == time_digit:
|
if coin_digit == time_digit:
|
||||||
if coin_digit % 2 == 0:
|
if coin_digit % 2 == 0:
|
||||||
await show_fireworks(6)
|
await show_fireworks(6)
|
||||||
if coin_digit % 11 == 0:
|
|
||||||
spawn_one_up_note()
|
|
||||||
AudioManager.play_sfx("1_up", global_position)
|
|
||||||
Global.lives += 1
|
|
||||||
else:
|
else:
|
||||||
await show_fireworks(3)
|
await show_fireworks(3)
|
||||||
|
if Global.coins % 11 == 0:
|
||||||
|
spawn_one_up_note()
|
||||||
|
AudioManager.play_sfx("1_up", global_position)
|
||||||
|
Global.lives += 1
|
||||||
|
|
||||||
const ONE_UP_NOTE = preload("uid://dopxwjj37gu0l")
|
const ONE_UP_NOTE = preload("uid://dopxwjj37gu0l")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user