From 2fd493034aa5c0176392016640db4213d63efdad Mon Sep 17 00:00:00 2001 From: Tipragot Date: Sun, 5 Nov 2023 17:19:53 +0100 Subject: [PATCH] Fix horizontal --- src/scenes/story/boss_fight.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/scenes/story/boss_fight.py b/src/scenes/story/boss_fight.py index 131bd08..da5860b 100644 --- a/src/scenes/story/boss_fight.py +++ b/src/scenes/story/boss_fight.py @@ -345,9 +345,9 @@ def __wave(world: World): entity.set( AWave(), Coroutine(__horizontal_projectile(world, False)) ) - case _: pass + yield wait(0.5) yield condition( lambda world: all(Coroutine not in entity for entity in entities) @@ -615,9 +615,7 @@ def __horizontal_projectile(world: World, left: bool, number: int = 10): yield animation.wait() yield wait(1) entity.set( - smooth.Target( - Vec2(1500 if left else render.WIDTH + 60, entity[Sprite].position.y) - ) + smooth.Target(Vec2(1500 if left else -81, entity[Sprite].position.y)) ) for entity in world.query(HorizontalProjectiles, Sprite):