File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed
Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -113,6 +113,7 @@ def __init__(self, rpg):
113113 self .m_font = pyxel .Font ('assets/misaki_gothic_2nd.bdf' )
114114
115115 def タイトルに戻る (self ):
116+ pyxel .stop ()
116117 self .rpg .change_story (const .STORY .TITLE )
117118
118119 def 回答する (self ):
Original file line number Diff line number Diff line change @@ -24,4 +24,5 @@ def draw(self):
2424 self .menu .draw ()
2525
2626 def メニューに戻る (self ):
27+ pyxel .stop ()
2728 self .rpg .change_story (const .STORY .TITLE )
Original file line number Diff line number Diff line change @@ -38,9 +38,13 @@ def __init__(self, rpg):
3838 ("くいず" , lambda : self .rpg .change_story (const .STORY .QUIZ )),
3939 ("みゅーじっくぼっくす" , lambda : self .rpg .change_story (const .STORY .BGM ))
4040 ])
41+
42+ self .音楽再生回数 = 0
4143
4244 def start (self ):
43- pyxel .playm (0 )
45+ if self .音楽再生回数 == 0 :
46+ self .音楽再生回数 += 1
47+ pyxel .playm (0 )
4448
4549 def update (self ):
4650 if self .mode == const .OPENING_MODE .OPENING :
You can’t perform that action at this time.
0 commit comments