summaryrefslogtreecommitdiff
path: root/game/quest.rpy
diff options
context:
space:
mode:
Diffstat (limited to 'game/quest.rpy')
-rw-r--r--game/quest.rpy9
1 files changed, 7 insertions, 2 deletions
diff --git a/game/quest.rpy b/game/quest.rpy
index 3609188..bc26c33 100644
--- a/game/quest.rpy
+++ b/game/quest.rpy
@@ -49,7 +49,6 @@ label quest_select:
arena=copy.copy(arx)
name=arena.pop(0)
req=arena.pop(0)
- sfx=arena.pop(0)
if Player["quest"] >= req:
worldmap.append((name, arena))
@@ -61,6 +60,9 @@ label quest_select:
renpy.jump("restore")
# Now we have the mapselected array, with dict
+ sfx=mapselected.pop(0)
+ TMP_MUSIC=get_sfx(sfx)
+ #renpy.play
for arx in mapselected:
quest=copy.copy(arx)
name=quest["name"]
@@ -159,7 +161,10 @@ label quest_selected:
del bg_is_showing
# Okay, story-telling time is over: To arms!
- # quest["music"]
+ #
+ $ TMP_MUSIC=get_sfx(quest["music"])
+ #$ print str(TMP_MUSIC)
+ #play music TMP_MUSIC.id() fadein 0.5
play music MUSIC_BATTLE.id() fadein 0.5
$ renpy.free_memory()
window hide