several changes.
This commit is contained in:
parent
72f84c88a5
commit
198c669b41
19 changed files with 57 additions and 117 deletions
|
@ -93,9 +93,9 @@ func play_shard_sound():
|
|||
var r = 0
|
||||
if Game.deaths == 0:
|
||||
if Game.shards == 4:
|
||||
r = randi() % 100
|
||||
r = 40
|
||||
else:
|
||||
r = randi() % 90
|
||||
r = 40
|
||||
if r <= 30: play_sound(a_good_job_penny,ac_shard)
|
||||
if r > 30 && r <= 60: play_sound(a_good_job_haze,ac_shard)
|
||||
if r > 60 && r <= 90: play_sound(a_good_job_ivy,ac_shard)
|
||||
|
@ -117,9 +117,9 @@ func great_job():
|
|||
ac_music.set_stream_paused(true)
|
||||
ac_pause_music.set_stream_paused(true)
|
||||
if Game.deaths == 0:
|
||||
r = randi() % 100
|
||||
r = 40
|
||||
else:
|
||||
r = randi() % 90
|
||||
r = 40
|
||||
if r <= 30: play_sound(a_great_job_penny,ac_shard)
|
||||
if r > 30 && r <= 60: play_sound(a_great_job_haze,ac_shard)
|
||||
if r > 60 && r <= 90: play_sound(a_great_job_ivy,ac_shard)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue