Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_cabin_campfire_Create_0

(view raw script w/o annotations or w/e)
1
event_inherited()
2
image_speed = 0.2
3
if (global.route != 3)
4
{
5
    message[0] = "* (A cozy-looking campfire.)"
6
    message[1] = "* (The sweet scent of honeysuckle#  is wafting from the flames.)"
7
    message_length = 2
8
}
9
else
10
{
11
    message[0] = "* (A campfire.)"
12
    message_length = 1
13
}
14
if global.geno_complete[2]
15
{
16
    sprite_index = spr_campfire_snuffed_snowdin_yellow
17
    image_speed = 0
18
    message[0] = "* (Looks like the fire was#  snuffed out.)"
19
    message_length = 1
20
}