touhou-reimpl/research/stgenm01.tanm

379 lines
7.6 KiB
Plaintext

#pragma mapfile "utils/v4.anmm"
entry {
path: "stgenm/stg1enm.png",
img_width: 256,
img_height: 256,
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},
sprite8: {x: 0.0, y: 128.0, w: 64.0, h: 64.0},
sprite9: {x: 64.0, y: 128.0, w: 64.0, h: 64.0},
sprite10: {x: 128.0, y: 128.0, w: 64.0, h: 64.0},
sprite11: {x: 192.0, y: 128.0, w: 64.0, h: 64.0},
sprite12: {x: 0.0, y: 192.0, w: 64.0, h: 64.0},
sprite13: {x: 64.0, y: 192.0, w: 64.0, h: 64.0},
sprite14: {x: 128.0, y: 192.0, w: 64.0, h: 64.0},
sprite15: {x: 192.0, y: 192.0, w: 64.0, h: 64.0},
},
}
script 0 script0 {
loop {
sprite(sprite0);
+8: // 8
sprite(sprite1);
+8: // 16
sprite(sprite2);
+8: // 24
sprite(sprite3);
+8: // 32
sprite(sprite4);
+8: // 40
sprite(sprite5);
+8: // 48
sprite(sprite7);
+8: // 56
}
}
script 1 script1 {
loop {
sprite(sprite8);
posTime(60, 9, 0.0, -4.0, 0.0);
+60: // 60
posTime(60, 9, 0.0, 4.0, 0.0);
+60: // 120
}
}
script 2 script2 {
flipX();
sprite(sprite8);
+4: // 4
sprite(sprite9);
+4: // 8
sprite(sprite10);
loop {
+400: // 408
}
}
script 3 script3 {
sprite(sprite8);
+4: // 4
sprite(sprite9);
+4: // 8
sprite(sprite10);
loop {
+400: // 408
}
}
script 4 script4 {
flipX();
sprite(sprite10);
+4: // 4
sprite(sprite9);
+4: // 8
sprite(sprite8);
loop {
sprite(sprite8);
posTime(60, 9, 0.0, -4.0, 0.0);
+60: // 68
posTime(60, 9, 0.0, 4.0, 0.0);
+60: // 128
}
}
script 5 script5 {
sprite(sprite10);
+4: // 4
sprite(sprite9);
+4: // 8
sprite(sprite8);
loop {
sprite(sprite8);
posTime(60, 9, 0.0, -4.0, 0.0);
+60: // 68
posTime(60, 9, 0.0, 4.0, 0.0);
+60: // 128
}
}
script 6 script6 {
sprite(sprite12);
+4: // 4
sprite(sprite13);
+4: // 8
sprite(sprite14);
+4: // 12
sprite(sprite15);
loop {
posTime(60, 9, 0.0, -4.0, 0.0);
+60: // 72
posTime(60, 9, 0.0, 4.0, 0.0);
+60: // 132
}
}
entry {
path: "face/enemy1/face01no.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/dummy.png",
img_width: 8,
img_height: 8,
img_format: FORMAT_ARGB_4444,
memory_priority: 0,
sprites: {sprite17: {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: {sprite18: {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: {sprite19: {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: {sprite20: {x: 0.0, y: 0.0, w: 256.0, h: 128.0}},
}
entry {
path: "face/enemy1/face01dp.png",
img_width: 256,
img_height: 128,
memory_priority: 0,
sprites: {sprite21: {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: {sprite22: {x: 0.0, y: 0.0, w: 256.0, h: 128.0}},
}
entry {
path: "face/enemy1/face01sp.png",
img_width: 256,
img_height: 128,
memory_priority: 0,
sprites: {sprite23: {x: 0.0, y: 0.0, w: 256.0, h: 128.0}},
}
entry {
path: "face/enemy1/face01no.png",
img_width: 256,
img_height: 128,
offset_y: 128,
memory_priority: 0,
sprites: {
sprite24: {x: 0.0, y: 0.0, w: 256.0, h: 128.0},
sprite25: {x: 0.0, y: 0.0, w: 256.0, h: 128.0},
sprite26: {x: 0.0, y: 0.0, w: 256.0, h: 128.0},
sprite27: {x: 0.0, y: 0.0, w: 256.0, h: 128.0},
sprite28: {x: 0.0, y: 0.0, w: 256.0, h: 128.0},
sprite29: {x: 0.0, y: 0.0, w: 256.0, h: 128.0},
sprite30: {x: 0.0, y: 0.0, w: 256.0, h: 128.0},
sprite31: {x: 0.0, y: 0.0, w: 256.0, h: 128.0},
sprite32: {x: 0.0, y: 0.0, w: 256.0, h: 128.0},
},
}
entry {
path: "face/enemy1/face01no.png",
img_width: 256,
img_height: 64,
offset_y: 256,
memory_priority: 0,
sprites: {
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},
sprite35: {x: 0.0, y: 0.0, w: 256.0, h: 64.0},
sprite36: {x: 0.0, y: 0.0, w: 256.0, h: 64.0},
sprite37: {x: 0.0, y: 0.0, w: 256.0, h: 64.0},
sprite38: {x: 0.0, y: 0.0, w: 256.0, h: 64.0},
sprite39: {x: 0.0, y: 0.0, w: 256.0, h: 64.0},
sprite40: {x: 0.0, y: 0.0, w: 256.0, h: 64.0},
sprite41: {x: 0.0, y: 0.0, w: 256.0, h: 64.0},
},
}
entry {
path: "card/cdbg01b.png",
img_width: 256,
img_height: 256,
img_format: FORMAT_RGB_565,
memory_priority: 0,
sprites: {sprite42: {x: 0.0, y: 0.0, w: 384.0, h: 448.0}},
}
script 7 script7 {
sprite(sprite42);
pos(224.0, 240.0, 0.0);
alpha(0);
alphaTime(60, 0, 255);
scrollX(-0.0033333334);
scrollY(-0.0033333334);
stop();
}
entry {
path: "card/cdbg01a.png",
img_width: 256,
img_height: 256,
img_format: FORMAT_ARGB_4444,
memory_priority: 0,
sprites: {sprite43: {x: 0.0, y: 0.0, w: 384.0, h: 448.0}},
}
script 8 script8 {
sprite(sprite43);
blendMode(1);
pos(224.0, 240.0, 0.0);
alpha(0);
alphaTime(60, 0, 255);
scrollY(0.0033333334);
stop();
}
entry {
path: "face/enemy1/ename01.png",
img_width: 128,
img_height: 64,
img_format: FORMAT_ARGB_4444,
memory_priority: 0,
sprites: {sprite44: {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(sprite44);
alpha(0);
alphaTime(30, 0, 255);
+300: // 300
nop();
interrupt[1]:
alphaTime(20, 0, 0);
+20: // 320
delete();
}
entry {
path: "face/enemy1/face01ct.png",
img_width: 256,
img_height: 512,
img_format: FORMAT_ARGB_4444,
memory_priority: 0,
sprites: {sprite45: {x: 0.0, y: 0.0, w: 256.0, h: 512.0}},
}
script 10 script10 {
sprite(sprite45);
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();
}
entry {
path: "face/enemy1m/face01mct.png",
img_width: 256,
img_height: 512,
img_format: FORMAT_ARGB_4444,
memory_priority: 0,
sprites: {sprite46: {x: 0.0, y: 0.0, w: 256.0, h: 512.0}},
}
script 11 script11 {
sprite(sprite46);
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();
}