1
2
3
4
5
6
7
| if $game_variables[i] > 0b101111101011110000011111111
$game_variables[i] = 0b101111101011110000011111111
end
if $game_variables[i] < -0b101111101011110000011111111
$game_variables[i] = -0b101111101011110000011111111
end
|
Vive la masturbation intellectuelle ! préfère l'hexa au binaire: 0x5f5e0ff
La def command_121 peut etre aussi optimisée par des && et ||
Sans cela, c'est du très bon boulot ! Et je pense que ca peut etre super utile !
berka
|