| 1 | if (obj_mainchara.bbox_top < 125) |
| 2 | level = 2; |
| 3 | else |
| 4 | level = 1; |
| 5 | if (instance_exists(block[0])) |
| 6 | { |
| 7 | with (block[0]) |
| 8 | instance_destroy(); |
| 9 | with (block[1]) |
| 10 | instance_destroy(); |
| 11 | with (block[2]) |
| 12 | instance_destroy(); |
| 13 | with (block[3]) |
| 14 | instance_destroy(); |
| 15 | with (block[5]) |
| 16 | instance_destroy(); |
| 17 | with (block[6]) |
| 18 | instance_destroy(); |
| 19 | if (dogdoor != -4) |
| 20 | { |
| 21 | with (dogdoor) |
| 22 | instance_destroy(); |
| 23 | dogdoor = -4; |
| 24 | } |
| 25 | } |
| 26 | if (instance_exists(block[4]) == 0) |
| 27 | block[4] = instance_create(83, 90, obj_solidlong); |