|
1
|
if (i_ex(obj_battleblcon))
|
|
2
|
exit;
|
|
3
|
scroll_timer++;
|
|
4
|
if (scroll_timer == 60)
|
|
5
|
{
|
|
6
|
if (i_ex(obj_tenna_board4_enemy))
|
|
7
|
{
|
|
8
|
var battle_tenna = obj_tenna_board4_enemy.tenna_actor;
|
|
9
|
with (battle_tenna)
|
|
10
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("x", x, camerax() + view_wport[0] + 200, 15, 2, "out");
|
|
11
|
}
|
|
12
|
}
|
|
13
|
if (scroll_timer == 76)
|
|
14
|
screen_active = true;
|
|
15
|
if (scroll_timer == 77)
|
|
16
|
{
|
|
17
|
with (obj_tenna_board4_enemy)
|
|
18
|
instance_destroy();
|
|
19
|
snd_free(global.batmusic[0]);
|
|
20
|
snd_volume(global.currentsong[1], 0, 0);
|
|
21
|
snd_resume(global.currentsong[1]);
|
|
22
|
snd_volume(global.currentsong[1], 1, 20);
|
|
23
|
with (obj_battleback)
|
|
24
|
destroy = 1;
|
|
25
|
with (obj_monsterparent)
|
|
26
|
instance_destroy();
|
|
27
|
with (obj_bulletparent)
|
|
28
|
instance_destroy();
|
|
29
|
with (obj_heroparent)
|
|
30
|
instance_destroy();
|
|
31
|
with (obj_battlecontroller)
|
|
32
|
instance_destroy();
|
|
33
|
}
|
|
34
|
if (scroll_timer == 80)
|
|
35
|
room_goto(room_dw_backstage);
|
|
36
|
if (scroll_timer == 81)
|
|
37
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("screen_x_offset", screen_x_offset, screen_x_offset - 640, 30);
|
|
38
|
if (scroll_timer >= 171)
|
|
39
|
{
|
|
40
|
if (battle_screenshot != -4)
|
|
41
|
sprite_delete(battle_screenshot);
|
|
42
|
screen_active = false;
|
|
43
|
persistent = false;
|
|
44
|
instance_destroy();
|
|
45
|
}
|