touhou-reimpl/research/e01.tanm

135 lines
2 KiB
Plaintext

#pragma mapfile "utils/v4.anmm"
entry {
path: "ending/e00a.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 -84 script0 {
scriptNew(script2);
scriptNew(script3);
+60: // 60
stop();
interrupt[1]:
+60: // 120
delete();
}
script -83 script1 {
scriptNew(script4);
scriptNew(script5);
+60: // 60
stop();
interrupt[1]:
+60: // 120
delete();
}
script -82 script2 {
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/e00a.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 -81 script3 {
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/e01b.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 -80 script4 {
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/e01b.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 -79 script5 {
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();
}