sunflowers-in-the-rain/objects/obj_marisa_missile/Create_0.gml

8 lines
193 B
Plaintext
Raw Normal View History

2022-06-30 22:16:34 -07:00
target_delay = SHOT_MISSILE_TARGET_DELAY;
if ( instance_exists( obj_enemy_parent ) ) {
target = instance_nearest(x,y, obj_enemy_parent);
} else {
target = instance_nearest(x,y, obj_wall);
}