aboutsummaryrefslogtreecommitdiff
path: root/waves.lua
diff options
context:
space:
mode:
authorChris Bradley <1029chris@gmail.com>2022-02-20 15:51:09 -0800
committerChris Bradley <1029chris@gmail.com>2022-02-20 15:51:09 -0800
commit995f96d8af37320da58733aeb4b2107af25ab668 (patch)
tree1bc7670dccbfc99bbc34a1612a737cb64be0010a /waves.lua
parenta6097b11affbbd8c93c40bfc575bf25146c0c8fb (diff)
Turns out "\" is division + floor, thats cool! Saved a little tokens implementing it all over
Diffstat (limited to 'waves.lua')
-rw-r--r--waves.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/waves.lua b/waves.lua
index 720b58f..60d7252 100644
--- a/waves.lua
+++ b/waves.lua
@@ -208,7 +208,7 @@ wave[15] = {
delay = 0,
start = function()
for i = 1, 6, 1 do
- addtargetingenemy(128, i*16-14+flr(i/4)*36, 0.05)
+ addtargetingenemy(128, i*16-14+i\4*36, 0.05)
end
addbomb(140,46, 1)
end