El monstruitos ja fan pupa
This commit is contained in:
@@ -74,6 +74,17 @@ function gota:update_normal()
|
||||
--self.flip=not self.flip
|
||||
end
|
||||
|
||||
if viewp:inside(self.x, self.y, self.w, self.h) then
|
||||
if collision(abad,self) then
|
||||
abad_hurt(1)
|
||||
self.update=gota.update_splash
|
||||
self.draw=gota.draw_splash
|
||||
self.cx=self.x+2
|
||||
self.dx=0
|
||||
self.dy=-4
|
||||
end
|
||||
end
|
||||
|
||||
-- if self.hab==abad.hab then
|
||||
-- if aabb(abad,self) then
|
||||
-- abad_hurt(1)
|
||||
|
||||
Reference in New Issue
Block a user