From 7ba084f89df8e81fd68168987f65fbfe39bf4839 Mon Sep 17 00:00:00 2001 From: Raimon Zamora Date: Wed, 2 Nov 2022 18:58:29 +0100 Subject: [PATCH] - Removed debug info --- bambolla.lua | 6 ++---- imp.lua | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/bambolla.lua b/bambolla.lua index 74db968..d52554a 100644 --- a/bambolla.lua +++ b/bambolla.lua @@ -59,7 +59,7 @@ function bambolla.update_normal() if not bambolla.enabled then bambolla.counter=bambolla.counter-1 local r = rnd(bambolla.counter) - print(r) + --print(r) if bambolla.counter==1 or r==1 then bambolla.init() end @@ -89,15 +89,13 @@ function bambolla.update_normal() bambolla.dy=-4 end if aabb(bambolla,abad) then - --bambolla.hab=-1 - if abad.energia>0 then abad.energia=abad.energia-1 end + abad_hurt(1) bambolla.update=bambolla.update_splash bambolla.draw=bambolla.draw_splash bambolla.cx=bambolla.x+8 bambolla.y=bambolla.y+8 bambolla.dx=0 bambolla.dy=-4 - cls(3) end end diff --git a/imp.lua b/imp.lua index b6941b9..4eb0619 100644 --- a/imp.lua +++ b/imp.lua @@ -59,7 +59,7 @@ function imp.update() if not imp.enabled then imp.counter=imp.counter-1 local r = rnd(imp.counter) - print(r) + --print(r) if imp.counter==1 or r==1 then imp.init() end