Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var i, j;
- i = argument0;
- j = argument1;
- if (debug_mode) show_message("Before Loops: i = " + string(i) + "#j = " + string(j));
- while(i != argument2)
- {
- i += sign(argument2 - i);
- tile[i, j] = 0;
- if (debug_mode) if (!show_question("while (" + string(i) + " != " + string(argument2) + ")#In Loop 1: i = " + string(i) + "#j = " + string(j))) break;
- }
- while(j != argument3)
- {
- j += sign(argument3 - j);
- tile[i, j] = 0;
- if (debug_mode) if (!show_question("while (" + string(j) + " != " + string(argument3) + ")#In Loop 2: i = " + string(i) + "#j = " + string(j) + "##Yes = Continue#No = break")) break;
- }
Advertisement
Add Comment
Please, Sign In to add comment