touhou-reimpl/research/stgenm02.tanm

344 lines
6.6 KiB
Plaintext

#pragma mapfile "utils/v4.anmm"
entry {
path: "stgenm/stg2enm.png",
img_width: 256,
img_height: 128,
img_format: FORMAT_ARGB_4444,
sprites: {
sprite0: {x: 0.0, y: 0.0, w: 64.0, h: 64.0},
sprite1: {x: 64.0, y: 0.0, w: 64.0, h: 64.0},
sprite2: {x: 128.0, y: 0.0, w: 64.0, h: 64.0},
sprite3: {x: 192.0, y: 0.0, w: 64.0, h: 64.0},
sprite4: {x: 0.0, y: 64.0, w: 64.0, h: 64.0},
sprite5: {x: 64.0, y: 64.0, w: 64.0, h: 64.0},
sprite6: {x: 128.0, y: 64.0, w: 64.0, h: 64.0},
sprite7: {x: 192.0, y: 64.0, w: 64.0, h: 64.0},
},
}
script 0 script0 {
sprite(sprite0);
loop {
posTime(60, 9, 0.0, -4.0, 0.0);
+60: // 60
posTime(60, 9, 0.0, 4.0, 0.0);
+60: // 120
}
}
script 1 script1 {
flipX();
sprite(sprite4);
+4: // 4
sprite(sprite5);
+4: // 8
sprite(sprite6);
+4: // 12
sprite(sprite7);
loop {
+400: // 412
}
stop();
}
script 2 script2 {
sprite(sprite4);
+4: // 4
sprite(sprite5);
+4: // 8
sprite(sprite6);
+4: // 12
sprite(sprite7);
loop {
+400: // 412
}
stop();
}
script 3 script3 {
flipX();
sprite(sprite7);
+4: // 4
sprite(sprite6);
+4: // 8
sprite(sprite5);
+4: // 12
sprite(sprite4);
sprite(sprite0);
loop {
posTime(60, 9, 0.0, -4.0, 0.0);
+60: // 72
posTime(60, 9, 0.0, 4.0, 0.0);
+60: // 132
}
}
script 4 script4 {
sprite(sprite7);
+4: // 4
sprite(sprite6);
+4: // 8
sprite(sprite5);
+4: // 12
sprite(sprite4);
sprite(sprite0);
loop {
posTime(60, 9, 0.0, -4.0, 0.0);
+60: // 72
posTime(60, 9, 0.0, 4.0, 0.0);
+60: // 132
}
}
script 5 script5 {
sprite(sprite0);
+6: // 6
sprite(sprite1);
+6: // 12
sprite(sprite2);
+6: // 18
sprite(sprite3);
loop {
+40: // 58
}
}
script 6 script6 {
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/enemy2/face02no.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/enemy2/face02n2.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/enemy2/face02dp.png",
img_width: 256,
img_height: 128,
memory_priority: 0,
sprites: {sprite13: {x: 0.0, y: 0.0, w: 256.0, h: 128.0}},
}
entry {
path: "face/enemy2/face02pr.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/dummy.png",
img_width: 8,
img_height: 8,
img_format: FORMAT_ARGB_4444,
memory_priority: 0,
sprites: {sprite15: {x: 0.0, y: 0.0, w: 256.0, h: 128.0}},
}
entry {
path: "face/enemy2/face02no.png",
img_width: 256,
img_height: 128,
offset_y: 128,
memory_priority: 0,
sprites: {
sprite16: {x: 0.0, y: 0.0, w: 256.0, h: 128.0},
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/enemy2/face02no.png",
img_width: 256,
img_height: 64,
offset_y: 256,
memory_priority: 0,
sprites: {
sprite25: {x: 0.0, y: 0.0, w: 256.0, h: 64.0},
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},
},
}
entry {
path: "card/cdbg02b.png",
img_width: 256,
img_height: 256,
img_format: FORMAT_RGB_565,
memory_priority: 0,
sprites: {sprite34: {x: 0.0, y: 0.0, w: 256.0, h: 256.0}},
}
script 7 script7 {
sprite(sprite34);
pos(224.0, 240.0, 0.0);
type(1);
alpha(0);
alphaTime(60, 0, 255);
scale(2.3125, 2.3125);
angleVel(0.0, 0.0, -0.006544985);
stop();
}
entry {
path: "card/cdbg02a.png",
img_width: 256,
img_height: 256,
img_format: FORMAT_ARGB_4444,
memory_priority: 0,
sprites: {sprite35: {x: 0.0, y: 0.0, w: 256.0, h: 256.0}},
}
script 8 script8 {
sprite(sprite35);
type(1);
blendMode(1);
pos(224.0, 240.0, 0.0);
alpha(0);
alphaTime(60, 0, 255);
scale(2.3125, 2.3125);
angleVel(0.0, 0.0, 0.012271847);
stop();
}
entry {
path: "face/enemy2/ename02.png",
img_width: 128,
img_height: 64,
img_format: FORMAT_ARGB_4444,
memory_priority: 0,
sprites: {sprite36: {x: 0.0, y: 0.0, w: 128.0, h: 64.0}},
}
script 9 script9 {
ins_85(1);
randMode(1);
anchor(0, 2);
pos(288.0, 374.0, 0.0);
layer(16);
sprite(sprite36);
alpha(0);
alphaTime(30, 0, 255);
+300: // 300
nop();
interrupt[1]:
alphaTime(20, 0, 0);
+20: // 320
delete();
}
entry {
path: "face/enemy2/face02ct.png",
img_width: 256,
img_height: 512,
img_format: FORMAT_ARGB_4444,
memory_priority: 0,
sprites: {sprite37: {x: 0.0, y: 0.0, w: 256.0, h: 512.0}},
}
script 10 script10 {
sprite(sprite37);
layer(5);
anchor(0, 1);
type(2);
pos(608.0, -80.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, 32.0, 0.0);
+90: // 120
posTime(30, 0, -192.0, 128.0, 0.0);
colorTime(30, 0, 0, 0, 0);
+30: // 150
delete();
}