mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-12-02 19:53:15 +00:00
Merge pull request #206 from FunkinCrew/bugfix/senpai-naughty
Fixes to Week 6 (script fixes and naughtyness)
This commit is contained in:
commit
e424418658
|
@ -1572,6 +1572,9 @@ class PlayState extends MusicBeatSubState
|
|||
|
||||
regenNoteData();
|
||||
|
||||
var event:ScriptEvent = new ScriptEvent(CREATE, false);
|
||||
ScriptEventDispatcher.callEvent(currentSong, event);
|
||||
|
||||
generatedMusic = true;
|
||||
}
|
||||
|
||||
|
|
|
@ -581,6 +581,19 @@ class Conversation extends FlxSpriteGroup implements IDialogueScriptedClass
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Calls `kill()` on the group's members and then on the group itself.
|
||||
* You can revive this group later via `revive()` after this.
|
||||
*/
|
||||
public override function kill():Void
|
||||
{
|
||||
_skipTransformChildren = true;
|
||||
alive = false;
|
||||
exists = false;
|
||||
_skipTransformChildren = false;
|
||||
if (group != null) group.kill();
|
||||
}
|
||||
|
||||
public override function toString():String
|
||||
{
|
||||
return 'Conversation($conversationId)';
|
||||
|
|
Loading…
Reference in a new issue