Skip to content

Commit d3197d1

Browse files
MarcellaHoustonflibitijibibo
authored andcommitted
Added sound(x), simplified version of playef(x)
1 parent 1900c86 commit d3197d1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

desktop_version/src/Script.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3439,6 +3439,10 @@ bool scriptclass::loadcustom(const std::string& t)
34393439
}else { tstring="play("+words[1]+")"; }
34403440
}
34413441
add(tstring);
3442+
}else if(words[0] == "sound") {
3443+
if(customtextmode==1){ add("endtext"); customtextmode=0;}
3444+
tstring="playef("+words[1]+")";
3445+
add(tstring);
34423446
}else if(words[0] == "playremix"){
34433447
add("play(15)");
34443448
}else if(words[0] == "flash"){

0 commit comments

Comments
 (0)