| 1 | if (loading > 0) |
| 2 | { |
| 3 | if (loading == 9) |
| 4 | { |
| 5 | loopindex = sprite_get_number(sprite_index - spr_cutscene_01_toriel_holding_tin_facepalm); |
| 6 | image_index = 2; |
| 7 | loopindex = 2; |
| 8 | } |
| 9 | loading--; |
| 10 | if (loading == 0) |
| 11 | image_index = 0; |
| 12 | else if ((loading % 3) == 0) |
| 13 | image_index++; |
| 14 | } |
| 15 | else if (loopindex > 1 && !scr_queen_buffercheck |
| 16 | { |
| 17 | animtimer++; |
| 18 | if (animtimer >= (loopindex * 4)) |
| 19 | animtimer = 0; |
| 20 | image_index = floor(animtimer / 4); |
| 21 | } |
| 22 | draw_self(); |