Mercurial > touhou
comparison pytouhou/vm/eclrunner.py @ 144:cadfc5e5ad7a
Fix a stupid inversion of properties.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Fri, 30 Sep 2011 11:19:33 -0700 |
parents | a9d46c4b5764 |
children | a61c96265779 |
comparison
equal
deleted
inserted
replaced
143:ea21bb37febe | 144:cadfc5e5ad7a |
---|---|
283 """ | 283 """ |
284 self._setval(variable_id, self._getval(maxval) * self._game_state.prng.rand_double()) | 284 self._setval(variable_id, self._getval(maxval) * self._game_state.prng.rand_double()) |
285 | 285 |
286 | 286 |
287 @instruction(9) | 287 @instruction(9) |
288 def set_random_float2(self, variable_id, minval, amp): | 288 def set_random_float2(self, variable_id, amp, minval): |
289 self._setval(variable_id, self._getval(minval) + self._getval(amp) * self._game_state.prng.rand_double()) | 289 self._setval(variable_id, self._getval(minval) + self._getval(amp) * self._game_state.prng.rand_double()) |
290 | 290 |
291 | 291 |
292 @instruction(10) | 292 @instruction(10) |
293 def store_x(self, variable_id): | 293 def store_x(self, variable_id): |