Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_jandroid_slippery_floor_warning_Alarm_0

(view raw script w/o annotations or w/e)
1
var soul = obj_heart_battle_fighting_parent
2
if instance_exists(soul)
3
{
4
    var ghost = instance_create_depth(soul.x, soul.y, (soul.depth + 1), obj_slippery_ghost)
5
    ghost.sprite_index = soul.sprite_index
6
    ghost.image_speed = 0
7
}
8
alarm[0] = 3
alarm[0]

var soul = obj_heart_battle_fighting_parent if instance_exists(soul) { var ghost = instance_create_depth(soul.x, soul.y, (soul.depth + 1), obj_slippery_ghost) ghost.sprite_index = soul.sprite_index ghost.image_speed = 0 } alarm[0] = 3