|
1
|
active = false;
|
|
2
|
if (i_ex(obj_church_ripple_area_manager))
|
|
3
|
active = obj_church_ripple_area_manager.active;
|
|
4
|
if (active)
|
|
5
|
{
|
|
6
|
if (place_meeting(x, y, obj_mainchara))
|
|
7
|
{
|
|
8
|
if (triggered == false)
|
|
9
|
{
|
|
10
|
triggered = true;
|
|
11
|
scr_fancy_ripplescr_fancy_ripple
function scr_fancy_ripple(arg0, arg1, arg2 = 60, arg3 = 16159050, arg4 = 160, arg5 = 1, arg6 = 15, arg7 = 1999000, arg8 = 0, arg9 = 0, arg10 = 0.1, arg11 = 0)
{
if (!instance_exists(obj_fancy_ripples))
instance_create_depth(0, 0, arg7, obj_fancy_ripples);
with (obj_fancy_ripples)
{
depth = arg7;
MakeRipple(arg0, arg1, arg4, arg5, arg6, arg3, arg8, arg9, arg10, arg2, arg11);
}
}
function scr_fancy_ripple_alt(arg0, arg1, arg2 = 60, arg3 = 16159050, arg4 = 160, arg5 = 1, arg6 = 15, arg7 = 1999000, arg8 = 0, arg9 = 0, arg10 = 0.1, arg11 = 0)
{
if (!instance_exists(obj_fancy_ripples_alt))
instance_create_depth(0, 0, arg7, obj_fancy_ripples_alt);
with (obj_fancy_ripples_alt)
{
depth = arg7;
MakeRipple(arg0, arg1, arg4, arg5, arg6, arg3, arg8, arg9, arg10, arg2, arg11);
}
} (obj_mainchara.x + 18, obj_mainchara.y + 72, 50, 65535, 460, 1, 10, 1999980);
|
|
12
|
scr_fancy_ripplescr_fancy_ripple
function scr_fancy_ripple(arg0, arg1, arg2 = 60, arg3 = 16159050, arg4 = 160, arg5 = 1, arg6 = 15, arg7 = 1999000, arg8 = 0, arg9 = 0, arg10 = 0.1, arg11 = 0)
{
if (!instance_exists(obj_fancy_ripples))
instance_create_depth(0, 0, arg7, obj_fancy_ripples);
with (obj_fancy_ripples)
{
depth = arg7;
MakeRipple(arg0, arg1, arg4, arg5, arg6, arg3, arg8, arg9, arg10, arg2, arg11);
}
}
function scr_fancy_ripple_alt(arg0, arg1, arg2 = 60, arg3 = 16159050, arg4 = 160, arg5 = 1, arg6 = 15, arg7 = 1999000, arg8 = 0, arg9 = 0, arg10 = 0.1, arg11 = 0)
{
if (!instance_exists(obj_fancy_ripples_alt))
instance_create_depth(0, 0, arg7, obj_fancy_ripples_alt);
with (obj_fancy_ripples_alt)
{
depth = arg7;
MakeRipple(arg0, arg1, arg4, arg5, arg6, arg3, arg8, arg9, arg10, arg2, arg11);
}
} (obj_mainchara.x + 18, obj_mainchara.y + 72, 50, 65535, 380, 1, 10, 1999980);
|
|
13
|
scr_fancy_ripplescr_fancy_ripple
function scr_fancy_ripple(arg0, arg1, arg2 = 60, arg3 = 16159050, arg4 = 160, arg5 = 1, arg6 = 15, arg7 = 1999000, arg8 = 0, arg9 = 0, arg10 = 0.1, arg11 = 0)
{
if (!instance_exists(obj_fancy_ripples))
instance_create_depth(0, 0, arg7, obj_fancy_ripples);
with (obj_fancy_ripples)
{
depth = arg7;
MakeRipple(arg0, arg1, arg4, arg5, arg6, arg3, arg8, arg9, arg10, arg2, arg11);
}
}
function scr_fancy_ripple_alt(arg0, arg1, arg2 = 60, arg3 = 16159050, arg4 = 160, arg5 = 1, arg6 = 15, arg7 = 1999000, arg8 = 0, arg9 = 0, arg10 = 0.1, arg11 = 0)
{
if (!instance_exists(obj_fancy_ripples_alt))
instance_create_depth(0, 0, arg7, obj_fancy_ripples_alt);
with (obj_fancy_ripples_alt)
{
depth = arg7;
MakeRipple(arg0, arg1, arg4, arg5, arg6, arg3, arg8, arg9, arg10, arg2, arg11);
}
} (obj_mainchara.x + 18, obj_mainchara.y + 72, 50, 65535, 320, 1, 10, 1999980);
|
|
14
|
scr_fancy_ripplescr_fancy_ripple
function scr_fancy_ripple(arg0, arg1, arg2 = 60, arg3 = 16159050, arg4 = 160, arg5 = 1, arg6 = 15, arg7 = 1999000, arg8 = 0, arg9 = 0, arg10 = 0.1, arg11 = 0)
{
if (!instance_exists(obj_fancy_ripples))
instance_create_depth(0, 0, arg7, obj_fancy_ripples);
with (obj_fancy_ripples)
{
depth = arg7;
MakeRipple(arg0, arg1, arg4, arg5, arg6, arg3, arg8, arg9, arg10, arg2, arg11);
}
}
function scr_fancy_ripple_alt(arg0, arg1, arg2 = 60, arg3 = 16159050, arg4 = 160, arg5 = 1, arg6 = 15, arg7 = 1999000, arg8 = 0, arg9 = 0, arg10 = 0.1, arg11 = 0)
{
if (!instance_exists(obj_fancy_ripples_alt))
instance_create_depth(0, 0, arg7, obj_fancy_ripples_alt);
with (obj_fancy_ripples_alt)
{
depth = arg7;
MakeRipple(arg0, arg1, arg4, arg5, arg6, arg3, arg8, arg9, arg10, arg2, arg11);
}
} (obj_mainchara.x + 18, obj_mainchara.y + 72, 50, 65535, 240, 1, 10, 1999980);
|
|
15
|
snd_play(snd_bell);
|
|
16
|
}
|
|
17
|
}
|
|
18
|
else
|
|
19
|
{
|
|
20
|
triggered = false;
|
|
21
|
}
|
|
22
|
}
|