diff --git a/Games/Umby&Glow/game.py b/Games/Umby&Glow/game.py index 5b218bb..312c498 100644 --- a/Games/Umby&Glow/game.py +++ b/Games/Umby&Glow/game.py @@ -173,7 +173,7 @@ def run_game(): # Memory clearing before relaxing gc and entering game loop gc.collect() - gc.threshold(-1) + gc.threshold(20000) # Main gameplay loop savst = coop_px = pstat = pstat2 = ptot = pfps1 = pfps2 = 0 diff --git a/Games/Umby&Glow/monsters.py b/Games/Umby&Glow/monsters.py index 6512198..c535111 100644 --- a/Games/Umby&Glow/monsters.py +++ b/Games/Umby&Glow/monsters.py @@ -527,7 +527,7 @@ def _tick_hoot(self, t: int, i: int): xs, ys = ptr32(self.x), ptr8(self.y) x, y = xs[i], ys[i]-64 tr = (t+i*97)%200 - tpx = int(tape.x[0]) + tpx = int(self._tp.x[0]) if tr==0: # Set new swoop location data[ii], data[ii+1] = x, y diff --git a/Games/Umby&Glow/script.txt b/Games/Umby&Glow/script.txt index 6bad4b2..e1543e8 100644 --- a/Games/Umby&Glow/script.txt +++ b/Games/Umby&Glow/script.txt @@ -79,7 +79,7 @@ 200, "^: Ummm... Umby?..." 0, "@: Yes Glow?..." 0, "^: What's that rumbling?" -0, "@: Whatever it is, its big..." +0, "@: Whatever it is, it's big..." 0, "@: and it's invaded the wrong cave!" 0, "^: Right. Lets rumble!" @@ -112,8 +112,8 @@ 0, "^: What are we going to do?" 0, "@: Keep blasting and get moving!" 0, "@: Theres a forest up ahead we can use for cover." -0, "^: Ok. Ive got your back." -0, "@: Lets roll..." +0, "^: Ok. I've got your back." +0, "@: Let's roll..." 70, ([pattern_cloudy_snowy_mountains,pattern_ferns,pattern_ferns_fill,pattern_cloudy_plains,pattern_fill],(bytearray(), bytearray()),0) 150, "CHAPTER~2: \n The_Forest" @@ -145,7 +145,6 @@ # Forest monsters 180, ([pattern_tree_wall,pattern_mid_forest,pattern_mid_forest_fill,pattern_forest,pattern_forest_fill],(bytearray([Pillar, Hoot]), bytearray([30, 15])),0) - 800, "@: Alright Glow..." 0, "@: Here's what I'm thinking..." 0, "^: I'm all ears, Umby!" @@ -266,8 +265,6 @@ 0, "@: I don't know how you see so well without eyes." 0, "^: There's just enough wiggle room to squeeze in!" -999, "CHAPTER~X: \n TEST_(TODO)" - # Create rocket and start countdown (moves +500 into distance automatically) 200, "Hurry!" 0, LeftDoor @@ -289,8 +286,7 @@ 1000, "CHAPTER~4: \n Among the Stars" - -4400, "Ask fuglaro for more chapters" +400, "Ask fuglaro for more chapters" ################################################################ # Story WIP and Ideas @@ -439,6 +435,7 @@ 160, "Thank you for playing!" # TODO: encore level with randomisation of all previous content +999, "CHAPTER~X: \n TEST_(TODO)" 4000000, "GOODBYE!" 100, StopIteration()