0,]']±>Sï}WÿÍu§ðp8·d%qy)6o;]ÉA¦ösï÷ôôô”°ÂVl†3 player2 then player2 = player2+0.9 end if bx < player2 then player2 = player2-0.9 end bx = bx + bvx by = by + bvy if bx < 0 or bx > 231 then bvx = -bvx sfx(0,23, 5,0) end if by < 0 or by > 143 then if by > 143 then sfx(1,17, 10,2) lives = lives - 1 else sfx(2,36, 10,0) end bx = 119 by = 67 throwball() player1 = 119 player2 = 119 end -- player 2 collision if by < 9 and by > 1 then if (player2+16) > bx and (player2 - 16) < bx then if bvy < 0 then bvy = -bvy sfx(0,26, 5,0) end end end -- player 1 collision if by < 129 and by > 118 then if (player1+16) > bx and (player1 - 16) < bx then if bvy > 0 then bvy = -bvy sfx(0,29, 3,0) end end end -- draw spr(7,bx,by) -- ball drawp(player2,5) -- player 2 drawp(player1,131) -- player 1 end function drawp(x,y) spr(1,x-8,y-4,0) spr(2,x,y-4,0) spr(3,x+8,y-4,0) end