Better explanations

Changes a couple of comments in the if/else statement to better explain what it's doing.
This commit is contained in:
BoxyBoy
2020-10-29 22:34:54 -06:00
parent 75f967bd88
commit f508e0557b

View File

@@ -108,9 +108,9 @@
. += effects_exam
//Approximate character height based on current sprite scale
if(dispSize % 2)
if(dispSize % 2) // returns 1 or 0. 1 meaning the height is not exact and the code below will execute, 0 meaning the height is exact and the else will trigger.
dispSize = dispSize - 1 //makes it even
dispSize = dispSize / 2 //turns it into it's approximation in feet
dispSize = dispSize / 2 //rounds it out
. += "[t_He] appears to be around [dispSize] and a half feet tall."
else
dispSize = dispSize / 2