Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_heart_battle_menu_fake_martlet_Create_0

(view raw script w/o annotations or w/e)
1
moveable = false
2
no_loop = true
3
no_loop_moveable = false
4
if (global.battling_boss == true)
5
    no_loop_determine_sparing = true
6
else
7
    no_loop_determine_sparing = false
8
image_speed = 0
9
image_index = 0
10
image_alpha = 0
11
text_deadlock_1 = false
12
text_desdlock_contents_1 = 3016
13
key_select_simulate = false
14
fade_in = true
15
var player_character = global.player_character
16
switch player_character
17
{
18
    case "CLOVER":
19
        sprite_index = spr_heart_yellow_down
20
        break
21
    default:
22
        var soul_mode = global.soul_mode
23
        if (soul_mode == "Red")
24
        {
25
            sprite_index = spr_heart_red
26
            break
27
        }
28
        else if (soul_mode == "Blue")
29
        {
30
            sprite_index = spr_heart_blue_down
31
            break
32
        }
33
        else if (soul_mode == "Yellow")
34
        {
35
            sprite_index = spr_heart_yellow_up_original
36
            break
37
        }
38
        else if (soul_mode == "Yellow Rhythm")
39
            sprite_index = spr_heart_yellow_down
40
}