1 |
if live_call() |
2 |
return global.live_result; |
3 |
var ceroba_image_index = obj_ceroba_body_pacifist_phase_2.image_index |
4 |
switch scene |
5 |
{ |
6 |
case 0: |
7 |
if (ceroba_image_index < 7) |
8 |
image_alpha = 1 * (ceroba_image_index / 7) |
9 |
else |
10 |
{ |
11 |
image_alpha = 1 |
12 |
scene++ |
13 |
} |
14 |
break |
15 |
case 1: |
16 |
audio_play_sound(snd_undertale_flash, 1, 0) |
17 |
bullet_hit_draw_timer = 5 |
18 |
scene++ |
19 |
break |
20 |
case 2: |
21 |
image_speed = 1 |
22 |
image_index = 0 |
23 |
scene++ |
24 |
break |
25 |
case 3: |
26 |
cutscene_wait(1) |
27 |
break |
28 |
case 4: |
29 |
if (image_alpha > 0) |
30 |
image_alpha -= 0.1 |
31 |
else |
32 |
{ |
33 |
obj_heart_battle_menu.image_alpha = 1 |
34 |
if (global.hotland_flag[2] > 1) |
35 |
instance_create(0, 0, obj_dialogue_battle_move_select_intro) |
36 |
if (!instance_exists(obj_ceroba_phase_2_shield)) |
37 |
instance_create_depth(x, y, (obj_ceroba_transformation_mask.depth - 1), obj_ceroba_phase_2_shield) |
38 |
instance_destroy() |
39 |
} |
40 |
break |
41 |
} |
42 |
|
43 |
if (bullet_hit_draw_timer > 0) |
44 |
bullet_hit_draw_timer-- |