Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_room_castle_dojo_Step_0

(view raw script w/o annotations or w/e)
1
if (global.chapter == 4)
2
{
3
    if (global.flag[20 other_text_command] == 1)
4
    {
5
        global.flag[20 other_text_command] = 0;
6
        if (!puzzle_master_blush)
7
        {
8
            puzzle_master_blush = true;
9
            with (puzzle_master_npc)
10
                sprite_index = spr_puzzlemaster_frown_blush;
11
        }
12
    }
13
    if (puzzle_master_blush && !d_ex())
14
    {
15
        puzzle_master_blush = false;
16
        global.flag[20 other_text_command] = 0;
17
        with (puzzle_master_npc)
18
            sprite_index = spr_puzzlemaster_frown;
19
    }
20
}