Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_shutta_photo_controller_Other_20

(view raw script w/o annotations or w/e)
1
var _trueralsei = -1;
2
if (i_ex(obj_actor) && image_alpha >= 1)
3
{
4
    for (var i = 0; i < instance_number(obj_actor); i++)
5
    {
6
        _lg[i] = instance_find(obj_actor, i);
7
        if (_lg[i].dsprite == spr_ralsei_walk_down)
8
            _trueralsei = _lg[i];
9
    }
10
}
11
reticle_over_good_shot = false;
12
switch (subact_state)
13
{
14
    case "init":
15
        rotating_controller = instance_create(x, y - 60, obj_shutta_nobyacttest);
16
        rotating_controller.difficulty = difficulty;
17
        rotating_controller.type = 3;
18
        disablemovement = false;
19
        subact_state = "tvs";
20
        break;
21
    case "tvs":
22
        timerb++;
23
        pipetimer++;
24
        break;
25
    case "capture":
26
        subact_state = "tvs";
27
        break;
28
    case "post_capture":
29
        break;
30
}