# HG changeset patch
# User Thibaut Girka <thib@sitedethib.com>
# Date 1314213247 -7200
# Node ID 0886994029e401e6d92eb885cbfc3fd79f710ba1
# Parent  af7914413b8909590d43c88ed8e1925c696b3983
Fix toggle_mirror.

diff --git a/pytouhou/game/sprite.py b/pytouhou/game/sprite.py
--- a/pytouhou/game/sprite.py
+++ b/pytouhou/game/sprite.py
@@ -134,7 +134,7 @@ class Sprite(object):
                         self.instruction_pointer, = args
                         self.frame = script[self.instruction_pointer][0]
                     elif instr_type == 7:
-                        self.mirrored = True
+                        self.mirrored = not self.mirrored
                     elif instr_type == 9:
                         self.rotations_3d = args
                     elif instr_type == 10: