Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_background_feisty_four_yellow_Other_12

(view raw script w/o annotations or w/e)
1
half_spin[0] = -1
2
half_spin[1] = -1
3
if (spin_type == "Moray Solo 1")
4
{
5
    for (i = 0; i <= 1; i++)
6
    {
7
        suit[i][1] = "Diamond"
8
        time_max[i] = 60
9
        half_spin[i] = 3
10
    }
11
}
12
else if (spin_type == "Ace Solo 1")
13
{
14
    for (i = 0; i <= 1; i++)
15
    {
16
        suit[i][1] = "Spade"
17
        time_max[i] = 60
18
        half_spin[i] = 3
19
    }
20
}
21
else if (spin_type == "Mooch Solo 1")
22
{
23
    for (i = 0; i <= 1; i++)
24
    {
25
        suit[i][1] = "Heart"
26
        time_max[i] = 60
27
        half_spin[i] = 3
28
    }
29
}
30
else if (spin_type == "Ed Solo 1")
31
{
32
    for (i = 0; i <= 1; i++)
33
    {
34
        suit[i][1] = "Club"
35
        time_max[i] = 60
36
        half_spin[i] = 3
37
    }
38
}
39
else if (spin_type == "Moray Solo 2")
40
{
41
    for (i = 0; i <= 1; i++)
42
    {
43
        suit[i][1] = "Diamond"
44
        time_max[i] = 60
45
        half_spin[i] = 3
46
    }
47
}
48
else if (spin_type == "Ace Solo 2")
49
{
50
    for (i = 0; i <= 1; i++)
51
    {
52
        suit[i][1] = "Spade"
53
        time_max[i] = 60
54
        half_spin[i] = 3
55
    }
56
}
57
else if (spin_type == "Mooch Solo 2")
58
{
59
    for (i = 0; i <= 1; i++)
60
    {
61
        suit[i][1] = "Heart"
62
        time_max[i] = 60
63
        half_spin[i] = 3
64
    }
65
}
66
else if (spin_type == "Ed Moray Duo Ed")
67
{
68
    suit[1][1] = "Club"
69
    time_max[1] = 60
70
    half_spin[1] = 3
71
}
72
else if (spin_type == "Ed Moray Duo Moray")
73
{
74
    suit[0][1] = "Diamond"
75
    time_max[0] = 60
76
    half_spin[0] = 3
77
}
78
else if (spin_type == "Ace Mooch Duo Ace")
79
{
80
    suit[0][1] = "Spade"
81
    time_max[0] = 60
82
    half_spin[0] = 3
83
}
84
else if (spin_type == "Ace Mooch Duo Mooch")
85
{
86
    suit[1][1] = "Heart"
87
    time_max[1] = 60
88
    half_spin[1] = 3
89
}
90
else if (spin_type == "Ed Solo 2")
91
{
92
    for (i = 0; i <= 1; i++)
93
    {
94
        suit[i][1] = "Club"
95
        time_max[i] = 60
96
        half_spin[i] = 3
97
    }
98
}
99
for (i = 0; i <= 1; i++)
100
{
101
    if (half_spin[i] >= 0)
102
    {
103
        max_rise[i] = 180 * half_spin[i]
104
        can_spin[i] = true
105
    }
106
}