We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13fe034 commit b0ef0d3Copy full SHA for b0ef0d3
preload/scripts/songs/stress.hxc
@@ -91,7 +91,27 @@ class StressSong extends Song
91
92
VideoCutscene.play(Paths.videos(videoPath));
93
}
94
+
95
+ /**
96
+ * Don't replay the cutscene between restarts.
97
+ */
98
+ function onSongRetry(event:ScriptEvent)
99
+ {
100
+ super.onSongRetry(event);
101
102
+ hasPlayedCutscene = true;
103
104
+ // resets the tankmen!
105
+ if (tankmanGroup != null)
106
107
+ tankmanGroup.scriptCall('reset');
108
+ }
109
+ if (PlayState.instance.currentStage.getGirlfriend() != null)
110
111
+ PlayState.instance.currentStage.getGirlfriend().scriptCall('reset');
112
+ trace('reset pico!');
113
114
115
function kill():Void
116
{
117
cleanupTankmanGroup();
0 commit comments