1 | if (screenshake == true) |
2 | { |
3 | __view_set((0 << 0), 0, 0) |
4 | __view_set((1 << 0), 0, 0) |
5 | __view_set((0 << 0), 0, ((__view_get((0 << 0), 0)) + (choose((-screenshake_max), screenshake_max)))) |
6 | __view_set((1 << 0), 0, ((__view_get((1 << 0), 0)) + (choose((-screenshake_max), screenshake_max)))) |
7 | screenshake_max -= 1 |
8 | } |
9 | if (screenshake_max <= 0 && image_index >= (image_number - 1)) |
10 | { |
11 | __view_set((0 << 0), 0, 0) |
12 | __view_set((1 << 0), 0, 0) |
13 | screenshake = false |
14 | } |