@@ -16,30 +16,16 @@ class BlazinSong extends Song
16
16
{
17
17
super('blazin');
18
18
19
- this.hasHidden = false;
20
19
this.hasPlayedCutscene = false;
21
20
}
22
21
23
22
function onCreate(event:ScriptEvent):Void
24
23
{
25
24
super.onCreate(event);
26
25
27
- this.hasHidden = false;
28
26
this.hasPlayedCutscene = false;
29
27
}
30
28
31
- function onDestroy(event:ScriptEvent):Void
32
- {
33
- super.onDestroy(event);
34
-
35
- this.hasHidden = false;
36
- }
37
-
38
- function onNoteHit(event:HitNoteScriptEvent):Void
39
- {
40
- super.onNoteHit(event);
41
- }
42
-
43
29
public function listDifficulties(variationId:String, variationIds:Array<String>, showLocked:Bool):Array<String>
44
30
{
45
31
if (showLocked || Save.instance.hasBeatenLevel('weekend1'))
@@ -51,31 +37,13 @@ class BlazinSong extends Song
51
37
return [];
52
38
}
53
39
54
- var hasHidden = false;
55
40
var hasPlayedCutscene:Bool = false;
56
41
57
- function onUpdate (event:ScriptEvent):Void
42
+ function onCountdownStart (event)
58
43
{
59
- super.onUpdate(event);
60
-
61
- if (!this.hasHidden)
62
- {
63
- this.hasHidden = true;
64
- hideOpponentStrumline();
65
- centerPlayerStrumline();
66
- }
67
- }
68
-
69
- function hideOpponentStrumline()
70
- {
71
- var opponentStrumline:FlxSprite = PlayState.instance.opponentStrumline;
72
- if (opponentStrumline != null)
73
- {
74
- for (arrow in opponentStrumline.members)
75
- {
76
- arrow.visible = false;
77
- }
78
- }
44
+ super.onCountdownStart(event);
45
+ PlayState.instance.opponentStrumline.visible = false;
46
+ centerPlayerStrumline();
79
47
}
80
48
81
49
function centerPlayerStrumline()
0 commit comments