def invoke(self): Globals.enemy_attack_delay() super().invoke() if self.overlay is not None: self.overlay.invoke() Globals.reset_attack_delay()