diff --git a/source/gameObjects/userInterface/DialogueBox.hx b/source/gameObjects/userInterface/DialogueBox.hx index b521fb6..2457d7a 100644 --- a/source/gameObjects/userInterface/DialogueBox.hx +++ b/source/gameObjects/userInterface/DialogueBox.hx @@ -138,6 +138,7 @@ class DialogueBox extends FlxSpriteGroup // cur portrait portrait = new FNFSprite(800, 160); + portrait.visible=true; // thank u sammu for fixing alphabet.hx // i dont wanna touch it ever @@ -323,6 +324,9 @@ class DialogueBox extends FlxSpriteGroup public function updatePortrait(force:Bool = false) { var newChar = dialogueData.dialogue[curPage].portrait; + if(PlayState.SONG.song.toLowerCase()=='reaper-rhythm'){ + portrait.visible=false; + }else{portrait.visible=true;} if (curCharacter != newChar || force) { diff --git a/source/meta/state/PlayState.hx b/source/meta/state/PlayState.hx index 49757d3..8ce1b9f 100644 --- a/source/meta/state/PlayState.hx +++ b/source/meta/state/PlayState.hx @@ -676,7 +676,7 @@ class PlayState extends MusicBeatState aspdojojdfsapjfds=true; trace("121212231"); } - if(FlxG.keys.justPressed.SHIFT&&DialogueBox.voiceline!=null&&SONG.song.toLowerCase()!="reaper-rhythm"||SONG.song.toLowerCase()!="deadbattle"){ + if(FlxG.keys.justPressed.SHIFT&&DialogueBox.voiceline!=null&&SONG.song.toLowerCase()!="reaper-rhythm"&&SONG.song.toLowerCase()!="deadbattle"){ DialogueBox.voiceline.stop(); dialogueBox.closeDialog(); }