Gamedev, Artist, Writer.
My Website: https://silvermonkeysite.netlify.app/
Play Virulent Vessels on Steam: https://store.steampowered.com/app/3245210/Virulent_Vessels_The_Legend_of_Gobbledygunk/
var = abs(var-1)
if var is 0, it'll become 1 cause absolute value of -1 is 1, and if var is 1, then it'll be zero, cause 1-1 is zero. Makes doing that much easier :D (2/3)
var = abs(var-1)
if var is 0, it'll become 1 cause absolute value of -1 is 1, and if var is 1, then it'll be zero, cause 1-1 is zero. Makes doing that much easier :D (2/3)