mirror of
https://github.com/KabKebab/GS13.git
synced 2026-02-09 23:27:37 +00:00
Better explanations
Changes a couple of comments in the if/else statement to better explain what it's doing.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user