Advertisement
Guest User

Untitled

a guest
Aug 17th, 2012
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.35 KB | None | 0 0
  1.     if a == "tile" then
  2.     local x, y = b.cox, b.coy
  3.         if not inmap(x, y+1) or tilequads[map[x][y+1][1]].collision == false then
  4.             local x, y = b.cox, b.coy
  5.             if map[x][y]["gels"]["bottom"] == 9 then
  6.  
  7.             else
  8.                 --Put what you want here (check if the gel found is gel 9)
  9.             end
  10.         else
  11.             --Put it here again (check if there is no gel)
  12.         end
  13.     end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement