Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if x <= 0 {
- mapX -= 1;
- x_counter = 0;
- stageGoto();
- alarm[10] = 1;
- } else if x >= room_width {
- mapX += 1;
- x = 1;
- x_counter = 0;
- stageGoto();
- } else if y <= 0 {
- mapY -= 1;
- y_counter = 0;
- stageGoto();
- alarm[11] = 1;
- } else if y >= room_height {
- mapY += 1;
- y = 1;
- y_counter = 0;
- stageGoto();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement