|
1
|
if (image_alpha == 1)
|
|
2
|
{
|
|
3
|
if (!bunny)
|
|
4
|
{
|
|
5
|
phototaken = 1;
|
|
6
|
_hit = scr_board_markerscr_board_marker
function scr_board_marker()
{
var _thismarker = instance_create(argument0, argument1, obj_board_marker);
_thismarker.sprite_index = argument2;
_thismarker.image_xscale = 2;
_thismarker.image_yscale = 2;
if (argument_count >= 4)
_thismarker.image_speed = argument3;
if (argument_count >= 5)
{
if (argument4 != -1)
_thismarker.depth = argument4;
}
if (argument_count >= 6)
_thismarker.image_xscale = argument5;
if (argument_count >= 6)
_thismarker.image_yscale = argument5;
if (argument_count >= 7)
_thismarker.animateonce = argument6;
return _thismarker;
} (x, y, spr_board_shadowgunner_photo, 0, depth, image_xscale);
|
|
7
|
_hit.image_yscale = 2;
|
|
8
|
hat = scr_board_markerscr_board_marker
function scr_board_marker()
{
var _thismarker = instance_create(argument0, argument1, obj_board_marker);
_thismarker.sprite_index = argument2;
_thismarker.image_xscale = 2;
_thismarker.image_yscale = 2;
if (argument_count >= 4)
_thismarker.image_speed = argument3;
if (argument_count >= 5)
{
if (argument4 != -1)
_thismarker.depth = argument4;
}
if (argument_count >= 6)
_thismarker.image_xscale = argument5;
if (argument_count >= 6)
_thismarker.image_yscale = argument5;
if (argument_count >= 7)
_thismarker.animateonce = argument6;
return _thismarker;
} (x, y, spr_board_enemy_shadowman_hit_hat, 0, depth, image_xscale);
|
|
9
|
hat.image_yscale = 2;
|
|
10
|
hat.vspeed = -10;
|
|
11
|
hat.gravity = 1;
|
|
12
|
scr_limitval_upper(hat, "y", hat.y);
|
|
13
|
image_alpha = 0;
|
|
14
|
scr_doomscr_doom
function scr_doom(arg0, arg1)
{
with (instance_create_depth(0, 0, 0, obj_doom))
{
alarm[0]
target = arg0;
}
} (_hit, 45);
|
|
15
|
scr_doomscr_doom
function scr_doom(arg0, arg1)
{
with (instance_create_depth(0, 0, 0, obj_doom))
{
alarm[0]
target = arg0;
}
} (hat, 45);
|
|
16
|
scr_doomscr_doom
function scr_doom(arg0, arg1)
{
with (instance_create_depth(0, 0, 0, obj_doom))
{
alarm[0]
target = arg0;
}
} (id, 45);
|
|
17
|
scr_delay_var("points", 1, 20);
|
|
18
|
if (image_xscale == -2)
|
|
19
|
_hit.x += 32;
|
|
20
|
if (image_xscale == -2)
|
|
21
|
hat.x += 32;
|
|
22
|
timer = -99999999;
|
|
23
|
}
|
|
24
|
else
|
|
25
|
{
|
|
26
|
scr_doomscr_doom
function scr_doom(arg0, arg1)
{
with (instance_create_depth(0, 0, 0, obj_doom))
{
alarm[0]
target = arg0;
}
} (id, 45);
|
|
27
|
scr_delay_var("points", 1, 20);
|
|
28
|
image_alpha = 0;
|
|
29
|
_hit = scr_board_markerscr_board_marker
function scr_board_marker()
{
var _thismarker = instance_create(argument0, argument1, obj_board_marker);
_thismarker.sprite_index = argument2;
_thismarker.image_xscale = 2;
_thismarker.image_yscale = 2;
if (argument_count >= 4)
_thismarker.image_speed = argument3;
if (argument_count >= 5)
{
if (argument4 != -1)
_thismarker.depth = argument4;
}
if (argument_count >= 6)
_thismarker.image_xscale = argument5;
if (argument_count >= 6)
_thismarker.image_yscale = argument5;
if (argument_count >= 7)
_thismarker.animateonce = argument6;
return _thismarker;
} (x, y, spr_board_shadowbunny_photod, 0, depth, image_xscale);
|
|
30
|
_hit.image_yscale = 2;
|
|
31
|
timer = -99999999;
|
|
32
|
}
|
|
33
|
}
|