Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_dunebud_chase_tumbleweeds_controller_Create_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
var box = 3154
4
var chosen_dunebud = choose(2205, 3193)
5
if (global.enemy_spared || global.enemy_dead)
6
    chosen_dunebud = obj_dunebud_b
7
if (global.enemy_spared_2 || global.enemy_dead_2)
8
    chosen_dunebud = 2205
9
instance_create_depth(chosen_dunebud.x, chosen_dunebud.y, (chosen_dunebud.depth - 1), obj_battle_enemy_attack_dunebud_chase_enemy)
10
event_inherited()
11
weed_count = 0
12
weed_max = 999
13
weed_alarm = 30
14
destroy_alarm = 10
15
no_loop_destroy = false
16
alarm[0]
17
if (!audio_is_playing(snd_mart_wind))
18
    audio_play_sound(snd_mart_wind, 20, 1)