From 51be7b67f19ff5d36faaec5d069329009372911f Mon Sep 17 00:00:00 2001
From: Cameron Taylor <cameron.taylor.ninja@gmail.com>
Date: Fri, 30 Oct 2020 11:54:53 -0700
Subject: [PATCH] spookeez charted

---
 Project.xml          |  2 +-
 source/PlayState.hx  | 25 +------------------------
 source/TitleState.hx |  2 +-
 3 files changed, 3 insertions(+), 26 deletions(-)

diff --git a/Project.xml b/Project.xml
index a4437fa7d..3eb374045 100644
--- a/Project.xml
+++ b/Project.xml
@@ -92,5 +92,5 @@
 
 	<!--Place custom nodes like icons here (higher priority to override the HaxeFlixel icon)-->
 	<icon path="art/icon.png"/>
-	<!-- <haxedef name="SKIP_TO_PLAYSTATE" if="debug" /> -->
+	<haxedef name="SKIP_TO_PLAYSTATE" if="debug" />
 </project>
diff --git a/source/PlayState.hx b/source/PlayState.hx
index aedb6a29f..9f4784dfb 100644
--- a/source/PlayState.hx
+++ b/source/PlayState.hx
@@ -311,11 +311,6 @@ class PlayState extends MusicBeatState
 		// NEW SHIT
 		noteData = songData.notes;
 
-		for (i in 1...songData.sections + 1)
-		{
-			// noteData.push(ChartParser.parse(songData.song.toLowerCase(), i));
-		}
-
 		var playerCounter:Int = 0;
 
 		var daBeats:Int = 0; // Not exactly representative of 'daBeats' lol, just how much it has looped
@@ -330,7 +325,7 @@ class PlayState extends MusicBeatState
 
 				var gottaHitNote:Bool = section.mustHitSection;
 
-				if (songNotes.noteData > 3)
+				if (songNotes[1] > 3)
 				{
 					gottaHitNote = !section.mustHitSection;
 				}
@@ -375,25 +370,7 @@ class PlayState extends MusicBeatState
 				else
 				{
 				}
-
-				// WILL HAVE TO REDO SCORE SYSTEM
-				/* if (section.mustHitSection)
-					{
-						if (playerCounter == 1) // is the player
-						{
-							swagNote.mustPress = true;
-						}
-						else
-						{
-						}
-					}
-				 */
 			}
-
-			/* // only need to do it once
-				if (section.mustHitSection)
-					sectionLengths.push(Math.round(coolSection / 4));
-			 */
 			daBeats += 1;
 		}
 
diff --git a/source/TitleState.hx b/source/TitleState.hx
index 107d88273..cf25c47fb 100644
--- a/source/TitleState.hx
+++ b/source/TitleState.hx
@@ -41,7 +41,7 @@ class TitleState extends MusicBeatState
 		super.create();
 
 		#if SKIP_TO_PLAYSTATE
-		FlxG.switchState(new ChartingState());
+		FlxG.switchState(new FreeplayState());
 		#else
 		startIntro();
 		#end