1 | scr_depth(); |
2 | direction = 270; |
3 | image_xscale = 2; |
4 | image_yscale = 2; |
5 | invulnerable = 0; |
6 | fall = 0; |
7 | gulped = 0; |
8 | nointeract = false; |
9 | snd_play(snd_mouse); |
10 | timer = 0; |
11 | emergetimer = 0; |
12 | drawx = x; |
13 | drawy = y; |
14 | con = 0; |
15 | lifespan = 100; |
16 | breakcount = 0; |
17 | win = 0; |
18 | deathtimer = 0; |
19 | target = 0; |
20 | hastarget = 0; |
21 | jumppuzzle = 0; |
22 | if (instance_exists(obj_masterPlatformController)) |
23 | { |
24 | jumppuzzle = 1; |
25 | hastarget = 1; |
26 | target = obj_masterPlatformController.plat[obj_masterPlatformController.currentPlatform - 1]; |
27 | } |
28 | if (place_meeting(x, y + 40, obj_holemouse_block_counterclockwise) || place_meeting(x, y + 40, obj_holemouse_invis_counterclockwise) || place_meeting(x, y + 40, obj_holemouse_invis_clockwise) || place_meeting(x, y + 40, obj_holemouse_block_clockwise)) |
29 | blockedstart = true; |
30 | else |
31 | blockedstart = false; |
32 | currentdir = direction; |
33 | initas = 0; |
34 | bounceOffDoor = 1; |
35 | bounceTargetX = 320; |
36 | bounceTargetY = 240; |
37 | bounceTargetDir = 90; |
38 | customSprite = spr_holemouse; |
39 | fakeY = 0; |
40 | fakeYSpeed = 0; |
41 | bouncecon = 0; |
42 | falltimer = 0; |
43 | bouncethisframe = 0; |