Skip to content

Commit

Permalink
Fix multiple BSFX playing at same time
Browse files Browse the repository at this point in the history
  • Loading branch information
drojf committed Jan 11, 2023
1 parent f602478 commit 11f23df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Update/_meak_007.txt
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ void main()
SetValidityOfInput( FALSE );
Wait( 1000 );
SetValidityOfInput( TRUE );
ModPlayBGM( 0, "Ame", 56, 0, 0 );

PlayBGM( 1, "Ame", 56, 0 );

if (GetGlobalFlag(GADVMode)) { OutputLineAll("", NULL, Line_ContinueAfterTyping); }
Expand Down Expand Up @@ -1947,7 +1947,7 @@ void main()
ModFadeOutBGM( 1, 300, FALSE, 1 );
FadeOutBGM( 2, 300, FALSE );
ModPlayBGM( 0, "ame", 56, 0, 0 );
ModPlayBGM( 2, "ame", 56, 0, 0 );

ModPlayBGM( 0, "ame", 56, 0, 1 );

if (GetGlobalFlag(GADVMode)) { OutputLineAll("", NULL, Line_ContinueAfterTyping); }
Expand Down Expand Up @@ -2004,7 +2004,7 @@ void main()

DisableWindow();
ModPlayBGM( 0, "ame", 56, 0, 0 );
ModPlayBGM( 2, "ame", 56, 0, 0 );

SetValidityOfInput( FALSE );
Wait( 2000 );
SetValidityOfInput( TRUE );
Expand Down
4 changes: 2 additions & 2 deletions Update/_meak_019_1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1641,7 +1641,7 @@ void main()
ModDrawCharacter(2, 1, "sprite/kei1_nayamu_", "2", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 10, 0, FALSE );
DrawScene("background/gr1", 400 );
PlayBGM( 0, "semi", 56, 0 );
ModPlayBGM( 2, "semi", 56, 0, 0 );


if (GetGlobalFlag(GADVMode)) { OutputLineAll("", NULL, Line_ContinueAfterTyping); }
OutputLine(NULL, " 昇降口から出ると、圭一は表の流しでザブザブと、律儀に顔を洗っていた。",
Expand Down Expand Up @@ -2029,7 +2029,7 @@ void main()
FadeOutBGM( 1, 400, FALSE );
DrawScene("background/sora", 400 );
PlayBGM( 0, "semi", 56, 0 );
ModPlayBGM( 2, "semi", 56, 0, 0 );

SetValidityOfInput( FALSE );
Wait( 2000 );
SetValidityOfInput( TRUE );
Expand Down

0 comments on commit 11f23df

Please sign in to comment.