Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_petal_pull_pollen_spawner_Alarm_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
var pollen = instance_create_depth(spawn_x, spawn_y, -100, obj_petal_pull_pollen)
4
pollen.direction = spawn_direction
5
pollen.target = spawned_last
6
spawned_last = pollen
7
alarm[0] = spawn_interval
alarm[0]

if live_call() return global.live_result; var pollen = instance_create_depth(spawn_x, spawn_y, -100, obj_petal_pull_pollen) pollen.direction = spawn_direction pollen.target = spawned_last spawned_last = pollen alarm[0] = spawn_interval