#pragma mapfile "utils/v4.anmm"

entry {
    path: "ending/e03a.png",
    img_width: 512,
    img_height: 480,
    img_format: FORMAT_RGB_565,
    memory_priority: 0,
    sprites: {sprite0: {x: 0.0, y: 0.0, w: 512.0, h: 480.0}},
}


script -9 script0 {
    scriptNew(script3);
    scriptNew(script4);
+60: // 60
    stop();

interrupt[1]:
+60: // 120
    delete();
}


script -8 script1 {
    scriptNew(script5);
    scriptNew(script6);
+60: // 60
    stop();

interrupt[1]:
+60: // 120
    delete();
}


script -7 script2 {
    scriptNew(script7);
    scriptNew(script8);
+60: // 60
    stop();

interrupt[1]:
+60: // 120
    delete();
}


script -6 script3 {
    sprite(sprite0);
    anchor(1, 1);
    layer(22);
    pos(0.0, 0.0, 0.0);
    alpha(0);
    alphaTime(20, 0, 255);
+60: // 60
    stop();

interrupt[1]:
    alphaTime(60, 0, 0);
+60: // 120
    delete();
}


entry {
    path: "ending/e03a.png",
    img_width: 128,
    img_height: 480,
    img_format: FORMAT_RGB_565,
    offset_x: 512,
    memory_priority: 0,
    sprites: {sprite1: {x: 0.0, y: 0.0, w: 128.0, h: 480.0}},
}


script -5 script4 {
    sprite(sprite1);
    anchor(1, 1);
    layer(22);
    pos(512.0, 0.0, 0.0);
    alpha(0);
    alphaTime(20, 0, 255);
+60: // 60
    stop();

interrupt[1]:
    alphaTime(60, 0, 0);
+60: // 120
    delete();
}


entry {
    path: "ending/e11b.png",
    img_width: 512,
    img_height: 480,
    img_format: FORMAT_RGB_565,
    memory_priority: 0,
    sprites: {sprite2: {x: 0.0, y: 0.0, w: 512.0, h: 480.0}},
}


script -4 script5 {
    sprite(sprite2);
    anchor(1, 1);
    layer(22);
    pos(0.0, 0.0, 0.0);
    alpha(0);
    alphaTime(20, 0, 255);
+60: // 60
    stop();

interrupt[1]:
    alphaTime(60, 0, 0);
+60: // 120
    delete();
}


entry {
    path: "ending/e11b.png",
    img_width: 128,
    img_height: 480,
    img_format: FORMAT_RGB_565,
    offset_x: 512,
    memory_priority: 0,
    sprites: {sprite3: {x: 0.0, y: 0.0, w: 128.0, h: 480.0}},
}


script -3 script6 {
    sprite(sprite3);
    anchor(1, 1);
    layer(22);
    pos(512.0, 0.0, 0.0);
    alpha(0);
    alphaTime(20, 0, 255);
+60: // 60
    stop();

interrupt[1]:
    alphaTime(60, 0, 0);
+60: // 120
    delete();
}


entry {
    path: "ending/e11c.png",
    img_width: 512,
    img_height: 480,
    img_format: FORMAT_RGB_565,
    memory_priority: 0,
    sprites: {sprite4: {x: 0.0, y: 0.0, w: 512.0, h: 480.0}},
}


script -2 script7 {
    sprite(sprite4);
    anchor(1, 1);
    layer(22);
    pos(0.0, 0.0, 0.0);
    alpha(0);
    alphaTime(20, 0, 255);
+60: // 60
    stop();

interrupt[1]:
    alphaTime(60, 0, 0);
+60: // 120
    delete();
}


entry {
    path: "ending/e11c.png",
    img_width: 128,
    img_height: 480,
    img_format: FORMAT_RGB_565,
    offset_x: 512,
    memory_priority: 0,
    sprites: {sprite5: {x: 0.0, y: 0.0, w: 128.0, h: 480.0}},
}


script -1 script8 {
    sprite(sprite5);
    anchor(1, 1);
    layer(22);
    pos(512.0, 0.0, 0.0);
    alpha(0);
    alphaTime(20, 0, 255);
+60: // 60
    stop();

interrupt[1]:
    alphaTime(60, 0, 0);
+60: // 120
    delete();
}
