touhou-reimpl/research/stgenm03.tanm

443 lines
8.4 KiB
Plaintext

#pragma mapfile "utils/v4.anmm"
entry {
path: "stgenm/stg3enm.png",
img_width: 256,
img_height: 256,
img_format: FORMAT_ARGB_4444,
sprites: {
sprite0: {x: 0.0, y: 0.0, w: 64.0, h: 80.0},
sprite1: {x: 64.0, y: 0.0, w: 64.0, h: 80.0},
sprite2: {x: 128.0, y: 0.0, w: 64.0, h: 80.0},
sprite3: {x: 192.0, y: 0.0, w: 64.0, h: 80.0},
sprite4: {x: 0.0, y: 80.0, w: 64.0, h: 80.0},
sprite5: {x: 64.0, y: 80.0, w: 64.0, h: 80.0},
sprite6: {x: 128.0, y: 80.0, w: 64.0, h: 80.0},
sprite7: {x: 192.0, y: 80.0, w: 64.0, h: 80.0},
},
}
script 0 script0 {
loop {
loop {
posTime(106, 9, 0.0, 6.0, 0.0);
sprite(sprite0);
+90: // 90
sprite(sprite1);
+8: // 98
sprite(sprite2);
+8: // 106
sprite(sprite3);
posTime(106, 9, 0.0, 0.0, 0.0);
+90: // 196
sprite(sprite2);
+8: // 204
sprite(sprite1);
+8: // 212
}
+60: // 272
}
}
script 1 script1 {
sprite(sprite4);
+8: // 8
sprite(sprite5);
+8: // 16
sprite(sprite6);
loop {
+400: // 416
}
stop();
}
script 2 script2 {
flipX();
sprite(sprite4);
+8: // 8
sprite(sprite5);
+8: // 16
sprite(sprite6);
loop {
+400: // 416
}
stop();
}
script 3 script3 {
sprite(sprite6);
+8: // 8
sprite(sprite5);
+8: // 16
sprite(sprite4);
loop {
loop {
posTime(106, 9, 0.0, 6.0, 0.0);
sprite(sprite0);
+90: // 106
sprite(sprite1);
+8: // 114
sprite(sprite2);
+8: // 122
sprite(sprite3);
posTime(106, 9, 0.0, 0.0, 0.0);
+90: // 212
sprite(sprite2);
+8: // 220
sprite(sprite1);
+8: // 228
}
+60: // 288
}
}
script 4 script4 {
flipX();
sprite(sprite6);
+8: // 8
sprite(sprite5);
+8: // 16
sprite(sprite4);
loop {
loop {
posTime(106, 9, 0.0, 6.0, 0.0);
sprite(sprite0);
+90: // 106
sprite(sprite1);
+8: // 114
sprite(sprite2);
+8: // 122
sprite(sprite3);
posTime(106, 9, 0.0, 0.0, 0.0);
+90: // 212
sprite(sprite2);
+8: // 220
sprite(sprite1);
+8: // 228
}
+60: // 288
}
}
script 5 script5 {
sprite(sprite0);
+6: // 6
sprite(sprite1);
+6: // 12
sprite(sprite2);
+6: // 18
sprite(sprite3);
loop {
+40: // 58
}
}
script 6 script6 {
flipX();
sprite(sprite0);
+6: // 6
sprite(sprite1);
+6: // 12
sprite(sprite2);
+6: // 18
sprite(sprite3);
loop {
+40: // 58
}
}
script 7 script7 {
sprite(sprite3);
blendMode(1);
scaleTime(20, 1, 0.0, 6.0);
+30: // 30
scale(6.0, 0.0);
scaleTime(20, 1, 1.0, 1.0);
+20: // 50
blendMode(0);
stop();
}
entry {
path: "face/enemy3/face03no.png",
img_width: 256,
img_height: 128,
memory_priority: 0,
sprites: {sprite8: {x: 0.0, y: 0.0, w: 256.0, h: 128.0}},
}
entry {
path: "face/enemy3/face03n2.png",
img_width: 256,
img_height: 128,
memory_priority: 0,
sprites: {sprite9: {x: 0.0, y: 0.0, w: 256.0, h: 128.0}},
}
entry {
path: "face/dummy.png",
img_width: 8,
img_height: 8,
img_format: FORMAT_ARGB_4444,
memory_priority: 0,
sprites: {sprite10: {x: 0.0, y: 0.0, w: 256.0, h: 128.0}},
}
entry {
path: "face/dummy.png",
img_width: 8,
img_height: 8,
img_format: FORMAT_ARGB_4444,
memory_priority: 0,
sprites: {sprite11: {x: 0.0, y: 0.0, w: 256.0, h: 128.0}},
}
entry {
path: "face/dummy.png",
img_width: 8,
img_height: 8,
img_format: FORMAT_ARGB_4444,
memory_priority: 0,
sprites: {sprite12: {x: 0.0, y: 0.0, w: 256.0, h: 128.0}},
}
entry {
path: "face/dummy.png",
img_width: 8,
img_height: 8,
img_format: FORMAT_ARGB_4444,
memory_priority: 0,
sprites: {sprite13: {x: 0.0, y: 0.0, w: 256.0, h: 128.0}},
}
entry {
path: "face/enemy3/face03pr.png",
img_width: 256,
img_height: 128,
memory_priority: 0,
sprites: {sprite14: {x: 0.0, y: 0.0, w: 256.0, h: 128.0}},
}
entry {
path: "face/enemy3/face03sp.png",
img_width: 256,
img_height: 128,
memory_priority: 0,
sprites: {sprite15: {x: 0.0, y: 0.0, w: 256.0, h: 128.0}},
}
entry {
path: "face/enemy3/face03lo.png",
img_width: 256,
img_height: 128,
memory_priority: 0,
sprites: {sprite16: {x: 0.0, y: 0.0, w: 256.0, h: 128.0}},
}
entry {
path: "face/enemy3/face03no.png",
img_width: 256,
img_height: 128,
offset_y: 128,
memory_priority: 0,
sprites: {
sprite17: {x: 0.0, y: 0.0, w: 256.0, h: 128.0},
sprite18: {x: 0.0, y: 0.0, w: 256.0, h: 128.0},
sprite19: {x: 0.0, y: 0.0, w: 256.0, h: 128.0},
sprite20: {x: 0.0, y: 0.0, w: 256.0, h: 128.0},
sprite21: {x: 0.0, y: 0.0, w: 256.0, h: 128.0},
sprite22: {x: 0.0, y: 0.0, w: 256.0, h: 128.0},
sprite23: {x: 0.0, y: 0.0, w: 256.0, h: 128.0},
sprite24: {x: 0.0, y: 0.0, w: 256.0, h: 128.0},
},
}
entry {
path: "face/enemy3/face03lo.png",
img_width: 256,
img_height: 128,
offset_y: 128,
memory_priority: 0,
sprites: {sprite25: {x: 0.0, y: 0.0, w: 256.0, h: 128.0}},
}
entry {
path: "face/enemy3/face03no.png",
img_width: 256,
img_height: 64,
offset_y: 256,
memory_priority: 0,
sprites: {
sprite26: {x: 0.0, y: 0.0, w: 256.0, h: 64.0},
sprite27: {x: 0.0, y: 0.0, w: 256.0, h: 64.0},
sprite28: {x: 0.0, y: 0.0, w: 256.0, h: 64.0},
sprite29: {x: 0.0, y: 0.0, w: 256.0, h: 64.0},
sprite30: {x: 0.0, y: 0.0, w: 256.0, h: 64.0},
sprite31: {x: 0.0, y: 0.0, w: 256.0, h: 64.0},
sprite32: {x: 0.0, y: 0.0, w: 256.0, h: 64.0},
sprite33: {x: 0.0, y: 0.0, w: 256.0, h: 64.0},
sprite34: {x: 0.0, y: 0.0, w: 256.0, h: 64.0},
},
}
entry {
path: "card/cdbg03a.png",
img_width: 512,
img_height: 512,
img_format: FORMAT_RGB_565,
memory_priority: 0,
sprites: {sprite35: {x: 0.0, y: 0.0, w: 512.0, h: 512.0}},
}
script 8 script8 {
sprite(sprite35);
pos(224.0, 240.0, 0.0);
type(1);
alpha(0);
alphaTime(60, 0, 255);
scale(1.15625, 1.15625);
angleVel(0.0, 0.0, -0.006544985);
stop();
}
entry {
path: "card/cdbg03b.png",
img_width: 512,
img_height: 512,
img_format: FORMAT_ARGB_4444,
memory_priority: 0,
sprites: {sprite36: {x: 0.0, y: 0.0, w: 384.0, h: 448.0}},
}
script 9 script9 {
sprite(sprite36);
type(1);
pos(224.0, 240.0, 0.0);
alpha(0);
alphaTime(60, 0, 255);
scrollX(0.0033333334);
scrollY(0.0033333334);
stop();
}
entry {
path: "face/enemy3/ename03.png",
img_width: 128,
img_height: 64,
img_format: FORMAT_ARGB_4444,
memory_priority: 0,
sprites: {sprite37: {x: 0.0, y: 0.0, w: 128.0, h: 64.0}},
}
script 10 script10 {
ins_85(1);
randMode(1);
anchor(0, 2);
pos(288.0, 374.0, 0.0);
layer(16);
sprite(sprite37);
alpha(0);
alphaTime(30, 0, 255);
+300: // 300
nop();
interrupt[1]:
alphaTime(20, 0, 0);
+20: // 320
delete();
}
entry {
path: "face/enemy3/face03ct.png",
img_width: 256,
img_height: 512,
img_format: FORMAT_ARGB_4444,
memory_priority: 0,
sprites: {sprite38: {x: 0.0, y: 0.0, w: 256.0, h: 512.0}},
}
script 11 script11 {
sprite(sprite38);
layer(5);
anchor(0, 1);
type(2);
pos(608.0, -160.0, 0.0);
color(0, 0, 0);
colorTime(30, 0, 255, 255, 255);
posTime(30, 0, 224.0, -16.0, 0.0);
+30: // 30
posTime(90, 0, 192.0, 0.0, 0.0);
+90: // 120
posTime(30, 0, -192.0, 160.0, 0.0);
colorTime(30, 0, 0, 0, 0);
+30: // 150
delete();
}
entry {
path: "stgenm/stg3enm2.png",
img_width: 64,
img_height: 64,
img_format: FORMAT_ARGB_4444,
memory_priority: 0,
sprites: {sprite39: {x: 0.0, y: 0.0, w: 384.0, h: 448.0}},
}
entry {
path: "stgenm/stg3enm3.png",
img_width: 32,
img_height: 256,
img_format: FORMAT_ARGB_4444,
memory_priority: 0,
sprites: {sprite40: {x: 0.0, y: 0.0, w: 32.0, h: 256.0}},
}
script 12 script12 {
I0 = 32;
I1 = 2;
ins_101(I0);
layer(14);
sprite(sprite40);
scale(16.0, 16.0);
scaleTime(30, 4, 32.0, 76.0);
scrollY(-0.025);
rotate(6.2831855, 0.0, 0.0);
stop();
interrupt[1]:
alphaTime(20, 0, 0);
+20: // 20
delete();
}