Revert "Revert "Revert "healthicons now match the song's character"""
This reverts commit 0412b3035cb847548f9d8e24f2f02a0d203a29ab.
This commit is contained in:
parent
0fb8193eca
commit
4e29cc9c48
@ -90,29 +90,13 @@ class ChartingState extends MusicBeatState
|
||||
|
||||
override function create()
|
||||
{
|
||||
if (PlayState.SONG != null)
|
||||
_song = PlayState.SONG;
|
||||
else
|
||||
{
|
||||
_song = {
|
||||
song: 'Test',
|
||||
notes: [],
|
||||
bpm: 150,
|
||||
needsVoices: true,
|
||||
player1: 'bf',
|
||||
player2: 'dad',
|
||||
speed: 1,
|
||||
validScore: false
|
||||
};
|
||||
}
|
||||
|
||||
curSection = lastSection;
|
||||
|
||||
gridBG = FlxGridOverlay.create(GRID_SIZE, GRID_SIZE, GRID_SIZE * 8, GRID_SIZE * 16);
|
||||
add(gridBG);
|
||||
|
||||
leftIcon = new HealthIcon(Song.SONG.player1);
|
||||
rightIcon = new HealthIcon(Song.SONG.player2);
|
||||
leftIcon = new HealthIcon('bf');
|
||||
rightIcon = new HealthIcon('dad');
|
||||
leftIcon.scrollFactor.set(1, 1);
|
||||
rightIcon.scrollFactor.set(1, 1);
|
||||
|
||||
@ -131,6 +115,22 @@ class ChartingState extends MusicBeatState
|
||||
curRenderedNotes = new FlxTypedGroup<Note>();
|
||||
curRenderedSustains = new FlxTypedGroup<FlxSprite>();
|
||||
|
||||
if (PlayState.SONG != null)
|
||||
_song = PlayState.SONG;
|
||||
else
|
||||
{
|
||||
_song = {
|
||||
song: 'Test',
|
||||
notes: [],
|
||||
bpm: 150,
|
||||
needsVoices: true,
|
||||
player1: 'bf',
|
||||
player2: 'dad',
|
||||
speed: 1,
|
||||
validScore: false
|
||||
};
|
||||
}
|
||||
|
||||
FlxG.mouse.visible = true;
|
||||
FlxG.save.bind('funkin', 'ninjamuffin99');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user