Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //moveWrap(xwrap, ywrap)
- if (argument0)
- {
- if (x < 0)
- x += room_width;
- else if (x > room_width)
- x -= room_width;
- }
- if (argument1)
- {
- if (y < 0)
- y += room_height;
- else if (y > room_height)
- y -= room_height;
- }
Advertisement
Add Comment
Please, Sign In to add comment