mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-12-05 19:20:19 -08:00
Merge pull request #18 from katorovitalo/main
100 coins now give a one up
This commit is contained in:
commit
6c5f57a9a4
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ var coins := 0:
|
|||
if coins >= 100:#
|
||||
coins = coins % 100
|
||||
if Settings.file.difficulty.inf_lives == 0 and (Global.current_game_mode != Global.GameMode.CHALLENGE and Global.current_campaign != "SMBANN"):
|
||||
lives += floor(coins / 100.0)
|
||||
lives += 1
|
||||
AudioManager.play_sfx("1_up", get_viewport().get_camera_2d().get_screen_center_position())
|
||||
var time := 300
|
||||
var lives := 3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue