Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_board_enemy_monster_Destroy_0

(view raw script w/o annotations or w/e)
1
if (!i_ex(obj_board_death_event_sword))
2
{
3
    if (spearbosscon == 2 || spearboss == true)
4
    {
5
        snd_stop(snd_board_door_close);
6
        snd_play_pitch(snd_board_door_close, 1.2);
7
        with (obj_board_puzzle_wall)
8
            con = 1;
9
        with (obj_board_enemy_yellowflower)
10
        {
11
            hurttimer = 10;
12
            hp = 0;
13
        }
14
    }
15
}