23 lines
597 B
Plaintext
Executable File
23 lines
597 B
Plaintext
Executable File
import funkin.play.song.Song;
|
|
import funkin.play.PlayState;
|
|
import funkin.Paths;
|
|
import funkin.play.cutscene.VideoCutscene;
|
|
import funkin.save.Save;
|
|
|
|
import funkin.play.PlayStatePlaylist;
|
|
|
|
class LitUpSong extends Song {
|
|
public function new() {
|
|
super('lit-up');
|
|
}
|
|
|
|
public function listDifficulties(variationId:String, variationIds:Array<String>, showLocked:Bool):Array<String> {
|
|
if (showLocked || Save.instance.hasBeatenLevel('weekend1')) {
|
|
return super.listDifficulties(variationId, variationIds);
|
|
}
|
|
|
|
// Hide all difficulties if the player has not beaten the week.
|
|
return [];
|
|
}
|
|
}
|