8 lines
291 B
Haxe
8 lines
291 B
Haxe
function next(first:Bool) {
|
|
if(first && canProceed) {
|
|
canProceed = false;
|
|
dialogueLines[0].playSound.play();
|
|
new FlxTimer().start(1, (_) -> this.next(true));
|
|
}
|
|
else if(this.lastLine == null) canProceed = true; // If its not null means the dialogue is not at the first one! - Nex
|
|
} |