diff --git a/gamedata/objects/combat/ennemies/ennemy.py b/gamedata/objects/combat/ennemies/ennemy.py index 8bda826..f627ec9 100644 --- a/gamedata/objects/combat/ennemies/ennemy.py +++ b/gamedata/objects/combat/ennemies/ennemy.py @@ -54,6 +54,8 @@ class Ennemy(Movable): else: direction = -1 self.player.verspd = self.player.gravity/3*direction + if not self.player.fastfall: + self.player.canfastfall = True self.player.upcombo() elif self.respawn: diff --git a/gamedata/objects/combat/player.py b/gamedata/objects/combat/player.py index 2b309b4..8f242a8 100644 --- a/gamedata/objects/combat/player.py +++ b/gamedata/objects/combat/player.py @@ -138,7 +138,8 @@ class Player(Movable): if self.fastfall: self.fastfall = 0 # Spawns dust - self.game.addParticle(self.dustparticles,self.rect.center[0],self.rect.center[1]+self.rect[3]/2*self.gravityway,fps=25) + self.game.addParticle(self.dustparticles,self.rect.right+4,self.rect.center[1]+self.rect[3]/2*self.gravityway,fps=25) + self.game.addParticle(self.dustparticles,self.rect.left-4,self.rect.center[1]+self.rect[3]/2*self.gravityway,fps=25) if self.verspd!=0: self.sprite=self.spritelanding self.landingtimer = self.maxlandtime