Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_sousborg_egg_boil_generator_Create_0

(view raw script w/o annotations or w/e)
1
egg = instance_create_depth(250, 324, (obj_heart_battle_fighting_red.depth - 1), obj_battle_enemy_attack_sousborg_egg_boil)
2
var box = obj_dialogue_box_battle_transformation_any
3
cutscene_timer = 0
4
scene = 0
5
attack_interval = 12
6
attack_interval_current[0] = 6
7
attack_interval_current[1] = 12
8
attack_interval_fire[0] = 4
9
attack_interval_fire[1] = 8
10
xx[0] = 320
11
scr_enable_battle_box_surface
scr_enable_battle_box_surface

function scr_enable_battle_box_surface() //gml_Script_scr_enable_battle_box_surface { if (!instance_exists(obj_surface_drawer)) instance_create_depth(0, 0, -999, obj_surface_drawer) }
()
12
instance_create_depth(320, (box.bbox_bottom - 4), (egg.depth - 1), obj_battle_enemy_attack_sousborg_egg_sizzle)
13
var sizzle_sound = audio_play_sound(snd_sousborg_egg_sizzle, 1, 1)
14
audio_sound_gain(sizzle_sound, 0, 0)
15
audio_sound_gain(sizzle_sound, 1, 1000)