File tree Expand file tree Collapse file tree 6 files changed +42
-30
lines changed
preload/scripts/characters Expand file tree Collapse file tree 6 files changed +42
-30
lines changed Original file line number Diff line number Diff line change @@ -294,13 +294,15 @@ class NeneChristmasCharacter extends SparrowCharacter
294294 {
295295 abotViz.snd = FlxG.sound.music;
296296 abotViz.initAnalyzer();
297+ abotViz.alpha = 1;
298+ }
299+
300+ override function onSongRetry(event:ScriptEvent)
301+ {
302+ super.onSongRetry();
303+ abotViz.alpha = 0;
297304 }
298305
299- /*override function onSongRetry(event:ScriptEvent)
300- {
301- super.onSongRetry();
302- abotViz.dumpSound();
303- }*/
304306 override function onSongEnd(event:ScriptEvent)
305307 {
306308 super.onSongEnd();
Original file line number Diff line number Diff line change @@ -374,13 +374,15 @@ class NeneDarkCharacter extends SparrowCharacter
374374 {
375375 abotViz.snd = FlxG.sound.music;
376376 abotViz.initAnalyzer();
377+ abotViz.alpha = 1;
378+ }
379+
380+ override function onSongRetry(event:ScriptEvent)
381+ {
382+ super.onSongRetry();
383+ abotViz.alpha = 0;
377384 }
378385
379- /*override function onSongRetry(event:ScriptEvent)
380- {
381- super.onSongRetry();
382- abotViz.dumpSound();
383- }*/
384386 override function onSongEnd(event:ScriptEvent)
385387 {
386388 super.onSongEnd();
Original file line number Diff line number Diff line change @@ -323,13 +323,15 @@ class NenePixelCharacter extends SparrowCharacter
323323 {
324324 abotViz.snd = FlxG.sound.music;
325325 abotViz.initAnalyzer();
326+ abotViz.alpha = 1;
327+ }
328+
329+ override function onSongRetry(event:ScriptEvent)
330+ {
331+ super.onSongRetry();
332+ abotViz.alpha = 0;
326333 }
327334
328- /*override function onSongRetry(event:ScriptEvent)
329- {
330- super.onSongRetry();
331- abotViz.dumpSound();
332- }*/
333335 override function onSongEnd(event:ScriptEvent)
334336 {
335337 super.onSongEnd();
Original file line number Diff line number Diff line change @@ -392,13 +392,15 @@ class NeneTankmenCharacter extends MultiSparrowCharacter
392392 {
393393 abotViz.snd = FlxG.sound.music;
394394 abotViz.initAnalyzer();
395+ abotViz.alpha = 1;
396+ }
397+
398+ override function onSongRetry(event:ScriptEvent)
399+ {
400+ super.onSongRetry();
401+ abotViz.alpha = 0;
395402 }
396403
397- /*override function onSongRetry(event:ScriptEvent)
398- {
399- super.onSongRetry();
400- abotViz.dumpSound();
401- }*/
402404 override function onSongEnd(event:ScriptEvent)
403405 {
404406 super.onSongEnd();
Original file line number Diff line number Diff line change @@ -388,13 +388,15 @@ class NeneCharacter extends MultiSparrowCharacter
388388 {
389389 abotViz.snd = FlxG.sound.music;
390390 abotViz.initAnalyzer();
391+ abotViz.alpha = 1;
392+ }
393+
394+ override function onSongRetry(event:ScriptEvent)
395+ {
396+ super.onSongRetry();
397+ abotViz.alpha = 0;
391398 }
392399
393- /*override function onSongRetry(event:ScriptEvent)
394- {
395- super.onSongRetry();
396- abotViz.dumpSound();
397- }*/
398400 override function onSongEnd(event:ScriptEvent)
399401 {
400402 super.onSongEnd();
Original file line number Diff line number Diff line change @@ -263,13 +263,15 @@ class OtisSpeakerCharacter extends SparrowCharacter
263263 {
264264 abotViz.snd = FlxG.sound.music;
265265 abotViz.initAnalyzer();
266+ abotViz.alpha = 1;
267+ }
268+
269+ override function onSongRetry(event:ScriptEvent)
270+ {
271+ super.onSongRetry();
272+ abotViz.alpha = 0;
266273 }
267274
268- /*override function onSongRetry(event:ScriptEvent)
269- {
270- super.onSongRetry();
271- abotViz.dumpSound();
272- }*/
273275 override function onSongEnd(event:ScriptEvent)
274276 {
275277 super.onSongEnd();
You can’t perform that action at this time.
0 commit comments