From 7020dcb3360006cb3041c3dc72dd669467aa86a6 Mon Sep 17 00:00:00 2001 From: Chara1236 Date: Mon, 20 Jun 2022 22:20:58 -0400 Subject: [PATCH] Your mom --- saves/Level6-dialogue.txt | 2 +- src/LevelManager.java | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/saves/Level6-dialogue.txt b/saves/Level6-dialogue.txt index 67dd51b..817cafb 100644 --- a/saves/Level6-dialogue.txt +++ b/saves/Level6-dialogue.txt @@ -1,3 +1,3 @@ Can't believe I made it out of their base! That was another close one. -Anyways, now that we're out of the woods, we can relax in this clearing, and you can toss some of those bugs you're so fond of. \ No newline at end of file +Anyways, now that we're out of the woods, we can relax in this clearing, and you can toss some of those bombs you're so fond of. \ No newline at end of file diff --git a/src/LevelManager.java b/src/LevelManager.java index 07f4d7f..ee36ae7 100644 --- a/src/LevelManager.java +++ b/src/LevelManager.java @@ -21,6 +21,7 @@ public class LevelManager implements Serializable { GameFrame.game.player.yVelocity = 0; GameFrame.game.player.xVelocity = 0; GameFrame.game.level = level; + GameFrame.game.player.alive = true; // change spawn coordinates, bomb count, and save file path based on level inputted if(level == 1){ // spawn coordinates: -400/450 @@ -47,13 +48,13 @@ public class LevelManager implements Serializable { filePath = "saves/Level4.txt"; bombs = 6; } else if(level == 5){ - //-1100/460 + //-1100/360 xSpawn = -1100; - ySpawn = 300; + ySpawn = 360; filePath = "saves/Level5.txt"; bombs = 1; } else if(level == 6){ - //-1100/460 + //0/50 xSpawn = 0; ySpawn = 50; filePath = "saves/Level6.txt"; @@ -105,6 +106,7 @@ public class LevelManager implements Serializable { } catch (IOException | SpriteException | UnsupportedAudioFileException | LineUnavailableException e) { throw new RuntimeException(e); } + GameFrame.game.player.alive = true; }