From 3d35f7adff0108debd6988f0b9455d30ee9e40b0 Mon Sep 17 00:00:00 2001 From: daniel11420 <15311104+daniel11420@users.noreply.github.com> Date: Tue, 6 Apr 2021 04:39:22 +0000 Subject: [PATCH] remove Newgrounds --- source/Highscore.hx | 4 ++-- source/PlayState.hx | 2 +- source/TitleState.hx | 10 +++++----- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/source/Highscore.hx b/source/Highscore.hx index 5fbc732..044ffb6 100644 --- a/source/Highscore.hx +++ b/source/Highscore.hx @@ -17,7 +17,7 @@ class Highscore #if !switch - NGio.postScore(score, song); + //NGio.postScore(score, song); #end @@ -34,7 +34,7 @@ class Highscore { #if !switch - NGio.postScore(score, "Week " + week); + //NGio.postScore(score, "Week " + week); #end diff --git a/source/PlayState.hx b/source/PlayState.hx index aa54b97..efc2c39 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -2099,7 +2099,7 @@ class PlayState extends MusicBeatState if (SONG.validScore) { - NGio.unlockMedal(60961); + //NGio.unlockMedal(60961); Highscore.saveWeekScore(storyWeek, campaignScore, storyDifficulty); } diff --git a/source/TitleState.hx b/source/TitleState.hx index e38e58e..9d3458c 100644 --- a/source/TitleState.hx +++ b/source/TitleState.hx @@ -80,8 +80,8 @@ class TitleState extends MusicBeatState // NGio.noLogin(APIStuff.API); #if ng - var ng:NGio = new NGio(APIStuff.API, APIStuff.EncKey); - trace('NEWGROUNDS LOL'); + //var ng:NGio = new NGio(APIStuff.API, APIStuff.EncKey); + //trace('NEWGROUNDS LOL'); #end FlxG.save.bind('funkin', 'ninjamuffin99'); @@ -284,11 +284,11 @@ class TitleState extends MusicBeatState if (pressedEnter && !transitioning && skippedIntro) { #if !switch - NGio.unlockMedal(60960); + //NGio.unlockMedal(60960); // If it's Friday according to da clock - if (Date.now().getDay() == 5) - NGio.unlockMedal(61034); + //if (Date.now().getDay() == 5) + //NGio.unlockMedal(61034); #end titleText.animation.play('press');