Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2017
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.26 KB | None | 0 0
  1. if pad:cross() then
  2. Magie = true
  3. end
  4.  
  5. if Magie == true then
  6. for i in pairs(effets) do -- Pour chaque sort
  7. if Position.mag > 5 then
  8.     screen:blit(Position.mag,pos.xperso,effets)
  9.     Position.mag = Position.mag -5
  10.       else
  11.     table.remove(effets,Position.mag)
  12.     end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement