summaryrefslogtreecommitdiff
path: root/engine/math/get_square_root.asm
diff options
context:
space:
mode:
authorThomas Winwood <twwinwood@gmail.com>2018-07-21 02:06:31 +0100
committerGitHub <noreply@github.com>2018-07-21 02:06:31 +0100
commit23ef2f50a7b94c23b50e9e690a7482ac349c9ef3 (patch)
tree63c20c67efbdf8334c6e273f78065b83135e3886 /engine/math/get_square_root.asm
parent17a4d0540acc00e3f5ad260009115eb36e72b7d2 (diff)
parent2d73d040d16a7836f935a7a6cb2a311aed2ca5a2 (diff)
Merge branch 'master' into the-diffening
Diffstat (limited to 'engine/math/get_square_root.asm')
-rw-r--r--engine/math/get_square_root.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/math/get_square_root.asm b/engine/math/get_square_root.asm
index 412fd04ff..6791fd7b8 100644
--- a/engine/math/get_square_root.asm
+++ b/engine/math/get_square_root.asm
@@ -1,6 +1,6 @@
NUM_SQUARE_ROOTS EQU 255
-GetSquareRoot: ; 13b87
+GetSquareRoot:
; Return the square root of de in b.
; Rather than calculating the result, we take the index of the
@@ -24,7 +24,7 @@ GetSquareRoot: ; 13b87
jr c, .loop
ret
-.Squares: ; 13b98
+.Squares:
x = 1
rept NUM_SQUARE_ROOTS
dw x * x