1 |
xx = view_xview[view_current]; |
2 |
yy = view_yview[view_current]; |
3 |
mode = 0; |
4 |
mychoicex = xx + 20; |
5 |
mychoicey = yy + 223; |
6 |
if (room == room_area1_2 || room == room_tundra_paproom) |
7 |
{ |
8 |
mychoicex = xx + 154; |
9 |
mychoicey = yy + 156; |
10 |
} |
11 |
if (room == room_water_undynefinal) |
12 |
{ |
13 |
mychoicex = xx + 154; |
14 |
mychoicey = yy + 110; |
15 |
} |
16 |
spdr = distance_to_point(mychoicex, mychoicey) / 17; |
17 |
move_towards_point(mychoicex, mychoicey, spdr); |
18 |
if (global.flag[16 type_heart_transition] == 1) |
19 |
{ |
20 |
mychoicex = xx + 154; |
21 |
mychoicey = yy + 156; |
22 |
spdr = distance_to_point(mychoicex, mychoicey) / 8; |
23 |
move_towards_point(mychoicex, mychoicey, spdr); |
24 |
} |