Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_board_treasure_Step_0

(view raw script w/o annotations or w/e)
1
buffer--;
2
if (myinteract == 1 && !i_ex(obj_board_writer))
3
{
4
    myinteract = 0;
5
    buffer = 3;
6
    global.interact = 0;
7
}
8
if (place_meeting(x, y, obj_board_swordhitbox))
9
{
10
    instance_create(centerx(), centery(), obj_board_enemydefeatsplash);
11
    instance_destroy();
12
}
13
image_index = open;