summaryrefslogtreecommitdiff
path: root/tetris/io.prn
diff options
context:
space:
mode:
Diffstat (limited to 'tetris/io.prn')
-rw-r--r--tetris/io.prn6
1 files changed, 3 insertions, 3 deletions
diff --git a/tetris/io.prn b/tetris/io.prn
index d749150..24fb4bb 100644
--- a/tetris/io.prn
+++ b/tetris/io.prn
@@ -5,13 +5,13 @@
}
@defun "io_pos_windowend" { #puts: x y
- ntiles_x tile_sizex * padding_x 2 * + origin_x +
- ntiles_y tile_sizey * padding_y 2 * + origin_y +
+ ntiles_x padding_x 2 * + tile_sizex * origin_x +
+ ntiles_y padding_y 2 * + tile_sizey * origin_y +
}
@defun "io_pos_after" { #puts: x y
0
- ntiles_y tile_sizey * padding_y 2 * + 1 +
+ ntiles_y padding_y 2 * + tile_sizey * origin_y +
}
@defun "io_clearscreen" {