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