1 | __view_set((0 << 0), 0, 0) |
2 | __view_set((1 << 0), 0, 0) |
3 | if (can_scroll == false) |
4 | { |
5 | scroll_speed = 0 |
6 | return; |
7 | } |
8 | tile_layer_shift(1000000, scroll_speed, 0) |
9 | cave_end_x += scroll_speed |
10 | if (!alarm[0]) |
11 | { |
12 | __view_set((0 << 0), 0, ((__view_get((0 << 0), 0)) + (irandom_range(-1, 1)))) |
13 | __view_set((1 << 0), 0, ((__view_get((1 << 0), 0)) + (irandom_range(-1, 1)))) |
14 | } |
15 | if (alarm[0] > 0) |
16 | obj_aviator_waterfall_overworld_yellow.x += scroll_speed |