Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (jump && y == 100)
- {
- for (i = 0; i < 20; i++)
- {
- y = y - 5;
- if (right)
- {
- x = x + 2;
- draw_sprite(x, y);
- }
- else if (left)
- {
- x = x - 2;
- draw_sprite(x, y);
- }
- else
- {
- draw_sprite(x, y);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement