Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_rhythmgame_event_manager_Step_0

(view raw script w/o annotations or w/e)
1
if (init == 0)
2
{
3
    if (obj_rhythmgame.track1_instance != -1)
4
    {
5
        musicm.bpm = obj_rhythmgame.bpm;
6
        musicm.beat_offset = 0.5;
7
        musicm.track1_instance = obj_rhythmgame.track1_instance;
8
        init = 1;
9
    }
10
}