niko bellic
This commit is contained in:
@@ -696,18 +696,24 @@ class PlayState extends MusicBeatState
|
||||
if (playCutscenes) {
|
||||
var videoCutscene = Paths.video('${PlayState.SONG.song.toLowerCase()}-cutscene');
|
||||
var videoCutsceneAlt = Paths.file('songs/${PlayState.SONG.song.toLowerCase()}/cutscene.mp4');
|
||||
var dialogue = Paths.file('songs/${PlayState.SONG.song.toLowerCase()}/dialogue.xml');
|
||||
persistentUpdate = false;
|
||||
if (cutscene != null) {
|
||||
openSubState(new ScriptedCutscene(cutscene, function() {
|
||||
startCountdown();
|
||||
}));
|
||||
} else if (Assets.exists(dialogue)) {
|
||||
FlxTransitionableState.skipNextTransIn = true;
|
||||
openSubState(new DialogueCutscene(dialogue, function() {
|
||||
startCountdown();
|
||||
}));
|
||||
} else if (Assets.exists(videoCutsceneAlt)) {
|
||||
FlxTransitionableState.skipNextTransIn = true;
|
||||
openSubState(new VideoCutscene(videoCutsceneAlt, function() {
|
||||
startCountdown();
|
||||
}));
|
||||
persistentDraw = false;
|
||||
}else if (Assets.exists(videoCutscene)) {
|
||||
} else if (Assets.exists(videoCutscene)) {
|
||||
FlxTransitionableState.skipNextTransIn = true;
|
||||
openSubState(new VideoCutscene(videoCutscene, function() {
|
||||
startCountdown();
|
||||
|
||||
Reference in New Issue
Block a user