diff options
Diffstat (limited to 'engine/routines/getsquareroot.asm')
-rw-r--r-- | engine/routines/getsquareroot.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/routines/getsquareroot.asm b/engine/routines/getsquareroot.asm index 009d9f4fe..0ba2e50a5 100644 --- a/engine/routines/getsquareroot.asm +++ b/engine/routines/getsquareroot.asm @@ -23,8 +23,8 @@ GetSquareRoot: ; 13b87 ret .Squares: ; 13b98 -root set 1 +root = 1 rept $ff - dw root*root -root set root+1 + dw root * root +root = root + 1 endr |