# HG changeset patch # User Thibaut Girka # Date 1341861106 -7200 # Node ID b55939b4b40d43aec44958e1f99abe99f77785a5 # Parent d55a1843b2a7d61b8284ad17ce81428871797321 Rename set_visible to set_invisible, since it's what it does... diff --git a/pytouhou/vm/eclrunner.py b/pytouhou/vm/eclrunner.py --- a/pytouhou/vm/eclrunner.py +++ b/pytouhou/vm/eclrunner.py @@ -1097,12 +1097,12 @@ class ECLRunner(object): self._enemy.aux_anm[number].anmrunner.interrupt(event) - @instruction(132) - def set_visible(self, value): - self._enemy.visible = not bool(value) - - @instruction(131) def set_difficulty_coeffs(self, speed_a, speed_b, nb_a, nb_b, shots_a, shots_b): self._enemy.difficulty_coeffs = (speed_a, speed_b, nb_a, nb_b, shots_a, shots_b) + + @instruction(132) + def set_invisible(self, value): + self._enemy.visible = not bool(value) +