Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_npc_clover_snowdin_22_Other_10

(view raw script w/o annotations or w/e)
1
var yy = 0
2
var i = floor(obj_raft_snowdin_22.image_index)
3
switch i
4
{
5
    case 0:
6
    case 1:
7
    case 12:
8
        yy = -3
9
        break
10
    case 2:
11
    case 10:
12
    case 11:
13
        yy = -2
14
        break
15
    case 3:
16
    case 4:
17
    case 9:
18
        yy = -1
19
        break
20
    case 5:
21
    case 6:
22
    case 7:
23
    case 8:
24
        yy = 0
25
        break
26
}
27
28
y = 70 + yy