sBlockScrew 0 0 0 0 <undefined> <undefined> 1 603 7 0 0 -1 2 self 0 0 1 targetx = 1152; xpos = 640; camtargetx = x + 160 - (oControl.widescreen_space/2); alarm[0] = 120; steps = 0; view_object[0] = oDrillSeq2; active = 1; with (inst_123453) instance_destroy(); with (inst_123452) instance_destroy(); with (inst_123454) instance_destroy(); with (inst_123412) instance_destroy(); with (inst_123447) y += 16; advancing = 0; sfx_play(sndMorphBallSlot); sfx_play(sndA2WJStartup); 1 603 7 0 0 -1 2 self 0 0 1 view_object[0] = oCamera; with (oCharacter) { state = 23; statetime = 0; morphing = 0; turning = 0; } immersion_stop(); instance_destroy(); 1 603 7 0 0 -1 2 self 0 0 1 if (xpos == targetx) { event_user(0); } else { tile_layer_shift(-91, 1, 0); xpos += 1; oCharacter.x += 1; with (oDrillBack) { active = 1; x += 1; } with (oDrillFront) { active = 1; x += 1; } if (oDrillWall.x <= xpos + 160) with (oDrillWall) event_user(0); if (steps < 30) { alarm[0] = 2; } else alarm[0] = 1; } if (advancing == 0) { advancing = 1; sfx_loop(sndDrillLoop); } 1 603 7 0 0 -1 2 self 0 0 1 if (active) { camtargetx = oCharacter.x + 100 - (oControl.widescreen_space/2); } else camtargetx = oCharacter.x; // this object temporarily replaces the camera if (oControl.widescreen) { // check for widescreen because limit isn't always set as we like camtargetx = clamp(camtargetx, oCamera.limit, room_width-oCamera.limit); } if (x != camtargetx) x += (camtargetx - x) / 8; 1 603 7 0 0 -1 2 self 0 0 1 active = 0; alarm[1] = 30; with (oDrillBack) active = 0; with (oDrillFront) instance_destroy(); tile_layer_hide(-91); tile_layer_show(-92); global.event[172] = 3; sfx_stop(sndDrillLoop); sfx_play(sndDrillHit); 0 0 0 0.5 0.100000001490116 0 0.100000001490116 0.100000001490116 0.200000002980232 -1 -1