Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_ceroba_phase_switcher_Create_0

(view raw script w/o annotations or w/e)
1
if (live_call())
2
    return global.live_result;
3
global.battle_phase = 2;
4
obj_ceroba_body.anim_loop_time = room_speed * 3;
5
obj_ceroba_body.sprite_index = spr_ceroba_phase_switch;
6
obj_ceroba_body.image_speed = 1/3;
7
obj_ceroba_staff.image_alpha = 0;
8
obj_ceroba_ponytail.image_alpha = 0;
9
obj_ceroba_hand_left.image_alpha = 0;
10
obj_ceroba_hand_right.image_alpha = 0;
11
obj_ceroba_head.image_alpha = 0;
12
scr_audio_fade_out
scr_audio_fade_out

function scr_audio_fade_out(arg0, arg1) { var snd = arg0; var fade_len = arg1; if (!audio_is_playing(snd)) return false; audio_sound_gain(snd, 0, fade_len); if (instance_exists(obj_audio_fade_helper)) { with (obj_audio_fade_helper) { if (audio_to_fade == snd) return false; } } with (instance_create(0, 0, obj_audio_fade_helper)) audio_to_fade = snd; }
(206, 500);
13
audio_play_sound(snd_ceroba_staff_spin, 1, 0);