if no noteStyle is found in chart, default will be chosen by week
This commit is contained in:
parent
4b1fbb40ac
commit
054ef8bf1b
@ -1512,7 +1512,14 @@ class PlayState extends MusicBeatState
|
|||||||
// FlxG.log.add(i);
|
// FlxG.log.add(i);
|
||||||
var babyArrow:FlxSprite = new FlxSprite(0, strumLine.y);
|
var babyArrow:FlxSprite = new FlxSprite(0, strumLine.y);
|
||||||
|
|
||||||
switch (SONG.noteStyle)
|
//defaults if no noteStyle was found in chart
|
||||||
|
var noteTypeCheck:String = 'normal';
|
||||||
|
|
||||||
|
if (SONG.noteStyle == null) {
|
||||||
|
switch(storyWeek) { case 6: noteTypeCheck = 'pixel'; }
|
||||||
|
} else {noteTypeCheck = SONG.noteStyle;}
|
||||||
|
|
||||||
|
switch (noteTypeCheck)
|
||||||
{
|
{
|
||||||
case 'pixel':
|
case 'pixel':
|
||||||
babyArrow.loadGraphic(Paths.image('weeb/pixelUI/arrows-pixels'), true, 17, 17);
|
babyArrow.loadGraphic(Paths.image('weeb/pixelUI/arrows-pixels'), true, 17, 17);
|
||||||
|
@ -34,7 +34,7 @@ class Song
|
|||||||
public var player1:String = 'bf';
|
public var player1:String = 'bf';
|
||||||
public var player2:String = 'dad';
|
public var player2:String = 'dad';
|
||||||
public var gfVersion:String = '';
|
public var gfVersion:String = '';
|
||||||
public var noteStyle:String = 'normal';
|
public var noteStyle:String = '';
|
||||||
public var stage:String = '';
|
public var stage:String = '';
|
||||||
|
|
||||||
public function new(song, notes, bpm)
|
public function new(song, notes, bpm)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user