home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1997 February
/
VPR9702A.ISO
/
FFILLY
/
TOKYOS
/
TOUR.TFY
< prev
next >
Wrap
Text File
|
1996-11-19
|
21KB
|
803 lines
int mDown, xoff, yoff;
// マウスの位置が矩形の範囲内かどうか調べる関数
isInRect(int x1, int y1, int x2, int y2)
{
x1 = x1 + xoff; y1 = y1 + yoff;
x2 = x2 + xoff; y2 = y2 + yoff;
if(x1 <= MesP2 && MesP2 < x2 && y1 <= MesP3 && MesP3 < y2){
return (1);
}
return (0);
}
int aikon,aikon1,aikon2;
// オープニング
main()
{
CapTitle("");
int sw, sh, pw, ph;
LoadPic("otr.bmp");
SetPaintColor(0x000000 );
Debug(1);
DrawRect(0 ,0 , 0, 640 , 480);
sw = WinInfo(0); sh = WinInfo(1);
pw = PicWidth(0); ph = PicHeight(0);
xoff = (sw - pw) / 2; yoff = (sh - ph) / 2;
OpenWin(0, 0, 0, sw, sh, -xoff, -yoff, 0x000000);
mDown = 0;
aikon=LoadPic("aikon.BMP");
aikon1=LoadPic("aikon1.BMP");
aikon2=LoadPic("aikon2.BMP");
str MIDIFile[];
int MIDINum;
MIDINum=0;
MIDIFile[1]="saba_n3.mid";
MIDIFile[2]="saba_n4.mid";
MIDIFile[3]="sabaku_2.mid";
MIDINum=1; // [追加]
PlayMIDI(MIDIFile[3]); // [修正]PlayMIDI(MIDIFile[1]);
mes(MIDI_END){
if(MIDINum==1){ // [修正]if(MIDINum==0){
MIDINum=2;
PlayMIDI(MIDIFile[2]); // [修正]PlayMIDI(MIDIFile[2]);
}
else if(MIDINum==2){ MIDINum=2;
PlayMIDI(MIDIFile[1]); // [修正]PlayMIDI(MIDIFile[1]);
}
else if(MIDINum==3){ MIDINum=3;
PlayMIDI(MIDIFile[1]); // [修正]PlayMIDI(MIDIFile[1]);
}}
CapTitle("");
TextColor(255,255,255);//テキストの色:白
BackMode(1);
BgColor(0,0,0);//テキストのバックの色:黒
SetFont(18, "MS 明朝", 128);
scene1();
mes(RBDOWN){ MCI("stop song");
CloseWin(0);DelPic(0);
Shell( GetIniStr("Directory", "system", "0", "inst.ini") + "\filly.exe",
"tokyoms.fil"); // 2つ目のfillyの起動
del_us; ExitTitle();
del_me;
}
}
// エンディング
scene0()
{
;
}
// 都庁遺跡の朝焼け
scene1()
{
int p0,tubu;
p0 = LoadPic("op7.bmp");
// TextWrite( "s1 1",p0,0,0);
tubu=LoadPic("tubu.bmp");
mes(TIME){ step(2){
MovePic(p0, 0, 0, PicWidth(0), PicHeight(0), 0);
DrawRect(0 ,0 , 390, 640 , 480);
TextWrite( "地上に人間が住むことがなくなって",0,150,390);
TextWrite( "どのくらいの月日が過ぎたろう",0,150,410);,,,
MovePic(aikon2, 0, 0, 64, 64, 0,570,410,3,10);
MovePic(aikon, 0, 0, 64, 64, 0,0,410,3,10);,,,,,,,
end_step;del_me;
}}
mes(LBDOWN){
mDown = 1;
}
mes(LBUP){ if(mDown == 1){
if(isInRect(0, 64, 410, 474)) {
PlayWAVE("kote.wav");
DelPic(p0); DelPic(tubu); del_us;
scene2();
del_me;
} else {
mes(TIME){ step(2){
MovePic(tubu , 231 , 32, 77, 60, 0 , 550, 301, 0, 0xffffff);
MovePic(p0, 0, 0, PicWidth(0), PicHeight(0), 0);
MovePic(tubu , 231 , 32, 77, 60, 0 , 450, 281, 0, 0xffffff);
MovePic(p0, 0, 0, PicWidth(0), PicHeight(0), 0);
MovePic(tubu , 231 , 32, 77, 60, 0 , 350, 261, 0, 0xffffff);
MovePic(tubu , 231 , 32, 77, 60, 0 , 250, 241, 0, 0xffffff);
MovePic(tubu , 231 , 32, 77, 60, 0 , 150, 221, 0, 0xffffff);
MovePic(tubu , 231 , 32, 77, 60, 0 , 100, 201, 0, 0xffffff);
MovePic(p0, 0, 0, PicWidth(0), PicHeight(0), 0);
MovePic(tubu , 231 , 32, 77, 60, 0 , 50, 181, 0, 0xffffff);
MovePic(tubu , 231 , 32, 77, 60, 0 , 0, 161, 0, 0xffffff);
MovePic(tubu , 231 , 32, 77, 60, 0 , -50, 101, 0, 0xffffff);
MovePic(tubu , 231 , 32, 77, 60, 0 , -100, 81, 0, 0xffffff);
MovePic(tubu , 231 , 32, 77, 60, 0 , -150, 41, 0, 0xffffff);
MovePic(p0, 0, 0, PicWidth(0), PicHeight(0), 0);
PlayWAVE("imo.wav");
MovePic(p0, 0, 0, PicWidth(0), PicHeight(0), 0);
end_step;del_me;}}
}
mDown = 0;
}}
}
//病院遠景
scene2()
{
int p0 ,tubu;
p0 = LoadPic("byouin1.bmp");
// TextWrite( "s2 1",p0,0,0);
tubu=LoadPic("tubu.bmp");
mes(TIME){ step(2){
MovePic(p0, 0, 0, PicWidth(0), PicHeight(0), 0);,,,,,
DrawRect(0 ,0 , 390, 640 , 480);
TextWrite( "わずかに残る地上の病院の建物。",0,150,430);
TextWrite( "強い紫外線の空が美しい。",0,150,450);,,
MovePic(aikon, 0, 0, 64, 64, 0,0,410,3,10);
MovePic(aikon2, 0, 0, 64, 64, 0,570,410,3,10);,,,,,,,,,
end_step;del_me;
}}
mes(LBDOWN){
mDown = 1;
}
mes(LBUP){ if(mDown == 1){
if(isInRect(0, 64, 410, 474)) {
PlayWAVE("kote.wav");
DelPic(p0); DelPic(tubu); del_us; scene3(); del_me;
} else if(isInRect(570, 634, 410, 474)) {
mes(TIME){ step(2){
PlayWAVE("imo.wav");
MoveSPic(tubu , 231 , 32, -77, 60, 0 , 100, 250, 38, 20,0,0xffffff);,,,,,,,,,,,
PlayWAVE("imo.wav");
MoveSPic(tubu , 231 , 32, -77, 60, 0 , 150, 260, 38, 20,0,0xffffff);,,,,,,,,,,,
PlayWAVE("imo.wav");
MoveSPic(tubu , 231 , 32, -77, 60, 0 , 200, 270, 38, 20,0,0xffffff);,,,,,,,,,,,
PlayWAVE("imo.wav");
MoveSPic(tubu , 231 , 32, -77, 60, 0 , 250, 280, 38, 20,0,0xffffff);,,,,,,,,,,,
PlayWAVE("imo.wav");
MoveSPic(tubu , 231 , 32, -77, 60, 0 , 300, 290, 38, 20,0,0xffffff);,,,,,,,,,,,
PlayWAVE("imo.wav");
MoveSPic(tubu , 231 , 32, -77, 60, 0 , 350, 300, 38, 20,0,0xffffff);,,,,,,,,,,,
PlayWAVE("imo.wav");
MoveSPic(tubu , 231 , 32, -77, 60, 0 , 400, 310, 38, 20,0,0xffffff);,,,,,,,,,,,
PlayWAVE("imo.wav");
MoveSPic(tubu , 231 , 32, -77, 60, 0 , 450, 320, 38, 20,0,0xffffff);,,,,,,,,,,,
PlayWAVE("imo.wav");
MoveSPic(tubu , 231 , 32, -77, 60, 0 , 500, 330, 38, 20,0,0xffffff);,,,,,,,,,,,
MovePic(p0, 100, 250, 450, 140, 0,100,250,1,20);,,,,,,,,,,,,,,,,,,,,,,,,
end_step;del_me;
}}
} else {
mes(TIME){ step(2){
PlayWAVE("imo.wav");
MoveSPic(tubu , 231 , 32, -77, 60, 0 , 100, 250, 38, 20,0,0xffffff);,,,,,,,,,,,
PlayWAVE("imo.wav");
MoveSPic(tubu , 231 , 32, -77, 60, 0 , 150, 260, 38, 20,0,0xffffff);,,,,,,,,,,,
PlayWAVE("imo.wav");
MoveSPic(tubu , 231 , 32, -77, 60, 0 , 200, 270, 38, 20,0,0xffffff);,,,,,,,,,,,
PlayWAVE("imo.wav");
MoveSPic(tubu , 231 , 32, -77, 60, 0 , 250, 280, 38, 20,0,0xffffff);,,,,,,,,,,,
PlayWAVE("imo.wav");
MoveSPic(tubu , 231 , 32, -77, 60, 0 , 300, 290, 38, 20,0,0xffffff);,,,,,,,,,,,
PlayWAVE("imo.wav");
MoveSPic(tubu , 231 , 32, -77, 60, 0 , 350, 300, 38, 20,0,0xffffff);,,,,,,,,,,,
PlayWAVE("imo.wav");
MoveSPic(tubu , 231 , 32, -77, 60, 0 , 400, 310, 38, 20,0,0xffffff);,,,,,,,,,,,
PlayWAVE("imo.wav");
MoveSPic(tubu , 231 , 32, -77, 60, 0 , 450, 320, 38, 20,0,0xffffff);,,,,,,,,,,,
PlayWAVE("imo.wav");
MoveSPic(tubu , 231 , 32, -77, 60, 0 , 500, 330, 38, 20,0,0xffffff);,,,,,,,,,,,
MovePic(p0, 100, 250, 450, 140, 0,100,250,1,20);,,,,,,,,,,,,,,,,,,,,,,,,
end_step;del_me;
}}
}
mDown = 0;
}}
}
// neotokyo
scene3()
{
int p0,neoc;
p0 = LoadPic("neotokyo.bmp");
DrawRect(0 ,0 , 0, 640 , 480);
// TextWrite( "s3 1",p0,0,0);
neoc = LoadPic("CITY2.bmp");
mes(TIME){ step(2){
MovePic(p0, 0, 0, PicWidth(0), PicHeight(0), 0);,,,,,,
DrawRect(0 ,0 , 390, 640 , 480);
TextWrite( "東京湾の下に作られた街では、",0,150,430);
TextWrite( "人々がひしめいてくらしている。",0,150,450);
MovePic(aikon, 0, 0, 64, 64, 0,0,410,3,10);
MovePic(aikon2, 0, 0, 64, 64, 0,570,410,3,10);,,,,,,
end_step;del_me;
}}
mes(LBDOWN){
mDown = 1;
}
mes(LBUP){ if(mDown == 1){
if(isInRect(0, 64, 410, 474)) {
PlayWAVE("kote.wav");
DelPic(p0);DelPic(neoc); del_us; scene4(); del_me;
DrawRect(0 ,0 , 0, 640 , 480);
del_us; del_me;
} else if(isInRect(570, 634, 410, 474)) {
mes(TIME){ step(2){
PlayWAVE("kote.wav");
neoc = LoadPic("ntc.bmp");
MovePic(neoc, 0, 0, 300, 250, 0,0, 0, 2,10);,,,,,,,,,,,,
MovePic(p0, 0, 0, 300, 250, 0);,,,,,,
MovePic(neoc, 0, 0, 300, 250, 0,0, 0, 2,10);,,,,,,,,,,,,,
MovePic(p0, 0, 0, 300, 250, 0);,,,,,,,
end_step;del_me;
}}
} else {
mes(TIME){ step(2){
PlayWAVE("kote.wav");
MovePic(neoc, 0, 0, 300, 250, 0,0, 0, 2,10);,,,,,,,,,,,,,,
MovePic(p0, 0, 0, 300, 250, 0);,,,,,,,,,
MovePic(neoc, 0, 0, 300, 250, 0,0, 0, 2,10);,,,,,,,,,,,,,,
MovePic(p0, 0, 0, 300, 250, 0);,,,,,,,,,
end_step;del_me;
}}
}
mDown = 0;
}}
}
// neo2
scene4()
{
int p0,neoc;
p0 = LoadPic("neo2.bmp");
DrawRect(0 ,0 , 0, 640 , 480);
neoc = LoadPic("neo.bmp");
// TextWrite( "s4 1",p0,0,0);
mes(TIME){ step(2){
MovePic(p0, 0, 0, PicWidth(0), PicHeight(0), 0);
DrawRect(0 ,0 , 390, 640 , 480);
TextWrite( "日光が遮断されているが、",0,150,430);
TextWrite( "人工の光がまぶしいほどだ。",0,150,450);,,,,
MovePic(aikon, 0, 0, 64, 64, 0,0,410,3,10);,,,,
MovePic(aikon2, 0, 0, 64, 64, 0,570,410,3,10);,
end_step;del_me;
}}
mes(LBDOWN){
mDown = 1;
}
mes(LBUP){ if(mDown == 1){
if(isInRect(0, 64, 410, 474) ){
mes(TIME){ step(2){
PlayWAVE("kote.wav");
DelPic(p0); DelPic(neoc); del_us; scene5();
end_step; del_me;
}}
} else if(isInRect(570, 634, 410, 474)) {
mes(TIME){ step(2){
PlayWAVE("kote.wav");
MovePic(neoc, 0, 0, 640, 346, 0);,,,,,,,,,,,,,
MovePic(p0, 0, 0, 640, 346, 0);,,,,,,
MovePic(neoc, 0, 0, 640, 346, 0);,,,,,,,,,,,,,
MovePic(p0, 0, 0, 640, 346, 0);,,,,,,
end_step;del_me;
}}
} else {
mes(TIME){ step(2){
PlayWAVE("kote.wav");
MovePic(neoc, 0, 0, 640, 346,0);,,,,,,,,,,,,,,,,,
MovePic(p0, 0, 0, 640, 346, 0);,,,,,,,,,
MovePic(neoc, 0, 0, 640, 346, 0);,,,,,,,,,,,,,,,,,
MovePic(p0, 0, 0, 640, 346, 0);,
end_step;del_me;
}}
}
mDown = 0;
}}
}
//
scene5()
{
int p0,p1;
p1 = LoadPic("streetc.bmp");
p0 = LoadPic("street.bmp");
// TextWrite( "s5 1",p0,0,0);
DrawRect(0 ,0 , 0, 640 , 480);
mes(TIME){ step(2){
MovePic(p0, 0, 0, PicWidth(0), PicHeight(0), 0);
DrawRect(0 ,0 , 390, 640 , 480);
TextWrite( "ダウンタウンの街は薄汚れていたが",0,150,430);
TextWrite( "熱い活気が満ちている",0,150,450);,,,,
MovePic(aikon, 0, 0, 64, 64, 0,0,410,3,10);,,,,
MovePic(aikon2, 0, 0, 64, 64, 0,570,410,3,10);,
end_step;del_me;
}}
mes(LBDOWN){
mDown = 1;
}
mes(LBUP){ if(mDown == 1){
if(isInRect(0, 64, 410, 474)) {
PlayWAVE("kote.wav");
DelPic(p0);DelPic(p1); scene6(); del_us; del_me;
} else if(isInRect(570, 637, 410, 474)) {
mes(TIME){ step(2){
PlayWAVE("imo.wav");
MovePic(p1, 0, 0, 150, 90, 0,450,300,12,20);,,,,,,,,,,,,,,,,,,,,
MovePic(p0, 450, 300, 150, 90, 0,450,300);,
end_step; del_me;
}}
} else {
mes(TIME){ step(2){
PlayWAVE("imo.wav");
MovePic(p1, 0, 0, 150, 90, 0,450,300,12,20);,,,,,,,,,,,,,,,,,,,,,
MovePic(p0, 450, 300, 150, 90, 0,450,300);,
end_step; del_me;
}}
}
mDown = 0;
}}
}
// street
scene6()
{
int p0, fr;
p0 = LoadPic("DISPLAY.bmp");
fr = LoadPic("DISPLAY1.bmp");
DrawRect(0 ,0 , 0, 640 , 480);
// TextWrite( "s6 1",p0,0,0);
mes(TIME){ step(2){
MovePic(p0, 0, 0, PicWidth(0), PicHeight(0), 0);,,,,,
TextWrite( "ダンの書斎...窓から街の光が見える",0,150,450);,,,
MovePic(aikon, 0, 0, 64, 64, 0,0,410,3,10);,,,
MovePic(aikon2, 0, 0, 64, 64, 0,570,410,3,10);,,,,
end_step; del_me;
}}
mes(LBDOWN){
mDown = 1;
}
mes(LBUP){ if(mDown == 1){
if(isInRect(0, 64, 410, 474)) {
PlayWAVE("kote.wav");
DrawRect(p0 ,0 , 0, 640 , 480);
DelPic(p0); DelPic(fr); del_us; scene7(); del_me;
} else if(isInRect(570, 634, 410, 474)) {
mes(TIME){ step(2){PlayWAVE("imo.wav");
MovePic(fr, 0, 0, 269, 259, 0,247,20,12,20);,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
MovePic(p0, 0, 0, 640, 346, 0);,
end_step;del_me; }}
} else {
mes(TIME){ step(2){PlayWAVE("imo.wav");
MovePic(fr, 0, 0, 269, 259, 0,247,20,12,20);,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
MovePic(p0, 0, 0, 640, 346,0);,,
end_step; del_me; }}
}
mDown = 0;
}}
}
// 宇宙港
scene7()
{
int p0,p1;
SetPaintColor(0x000000 );
p1 = LoadPic("port11.bmp");
p0 = LoadPic("port.bmp");
// TextWrite( "s7 1",p0,0,0);
DrawRect(0 ,0 , 0, 640 , 480);
mes(TIME){ step(2){
MovePic(p0, 0, 0, PicWidth(0), PicHeight(0), 0);,,,,,,
TextWrite( "宇宙港には火星からの輸送船が",0,150,430);
TextWrite( "出港許可を待って待機している。",0,150,450);,,,,
MovePic(aikon, 0, 0, 64, 64, 0,0,410,3,10);,,,,,,,
MovePic(aikon2, 0, 0, 64, 64, 0,570,410,3,10);,
end_step;del_me;
}}
mes(LBDOWN){
mDown = 1;
}
mes(LBUP){ if(mDown == 1){
if(isInRect(0, 64, 410, 474)) {
PlayWAVE("kote.wav");
DrawRect(p0 ,0 , 0, 640 , 480);
DelPic(p0);DelPic(p1); del_us; scene8(); del_me;
} else if(isInRect(570, 634, 410, 474)) {
mes(TIME){ step(2){
PlayWAVE("imo.wav");
MovePic(p1, 0, 0, 640, 410, 0);,,,,,
MovePic(p0,0,0,640,410, 0);,,,,,,,
MovePic(p1, 0, 0, 640, 410, 0);,,,,,
MovePic(p0, 0, 0, 640, 410, 0);,,,,,,,
end_step;del_me;
}}
} else {
mes(TIME){
step(2){
PlayWAVE("imo.wav");
MovePic(p1, 0, 0, 640, 410, 0);,,,,,,,,
MovePic(p0, 0, 0, 640, 410, 0);,,,,,,,
MovePic(p1, 0, 0, 640, 410, 0);,,,,,
MovePic(p0, 0, 0, 640, 410, 0);,,,,,,,
end_step;del_me;
}}
}
mDown = 0;
}}
}
// 宇宙港1
scene8()
{
int p0,p1;
p0 = LoadPic("port14.bmp");
p1 = LoadPic("port1_4.bmp");
// TextWrite( "s8 1",p0,0,0);
DrawRect(0 ,0 , 0, 640 , 480);
mes(TIME){ step(2){
MovePic(p0, 0, 0, PicWidth(0), PicHeight(0), 0);,,,,,,,,
TextWrite( "着陸船が降りてきました。",0,150,450);,,,,,
MovePic(aikon, 0, 0, 64, 64, 0,0,410,3,10);,,,,,,,
MovePic(aikon2, 0, 0, 64, 64, 0,570,410,3,10);,
end_step;del_me;
}}
mes(LBDOWN){
mDown = 1;
}
mes(LBUP){ if(mDown == 1){
if(isInRect(0, 64, 410, 474)) {
PlayWAVE("kote.wav");
DrawRect(0 ,0 , 0, 640 , 480);
DelPic(p0); del_us;
scene9();del_me;
} else if(isInRect(570, 634, 410, 474)) {
mes(TIME){ step(2){
PlayWAVE("imo.wav");
MovePic(p1, 0, 0, 640, 346, 0);,,,,,
MovePic(p0,0,0,640,346, 0);,,,,,,,
MovePic(p1, 0, 0, 640, 346, 0);,,,,,
MovePic(p0, 0, 0, 640, 346, 0);,,,,,,,
end_step;del_me;
}}
} else {
mes(TIME){
step(2){
PlayWAVE("imo.wav");
MovePic(p1, 0, 0, 640, 346, 0);,,,,,,,,
MovePic(p0, 0, 0, 640, 346, 0);,,,,,,,
MovePic(p1, 0, 0, 640, 346, 0);,,,,,
MovePic(p0, 0, 0, 640, 346, 0);,,,,,,,
end_step;del_me;
}}
}
mDown = 0;
}}
}
// 宇宙港2
scene9()
{
int p0;
p0 = LoadPic("port13.bmp");
// TextWrite( "s9 1",p0,0,0);
DrawRect(0 ,0 , 0, 640 , 480);
mes(TIME){ step(2){
MovePic(p0, 0, 0, PicWidth(0), PicHeight(0), 0);,,,,,,,,
TextWrite( "ゆっくりと地上に近づいてきます。",0,150,450);,,,,
MovePic(aikon1, 0, 0, 64, 64, 0,570,410,3,10);,,
MovePic(aikon, 0, 0, 64, 64, 0,0,410,3,10);,,
end_step;del_me;
}}
mes(LBDOWN){
mDown = 1;
}
mes(LBUP){ if(mDown == 1){
if(isInRect(0, 64, 410, 474)) {
PlayWAVE("kote.wav");
DelPic(p0); del_us; scene10(); del_me;
} else if(isInRect(570, 634, 0, 64)) {
PlayWAVE("imo.wav");
DelPic(p0); del_us; scene14(); del_me;
} else {
PlayWAVE("imo.wav");
DelPic(p0); del_us; scene14(); del_me;
}
mDown = 0;
}}
}
// 宇宙港3
scene10()
{
int p0;
p0 = LoadPic("port12.bmp");
// TextWrite( "s10 1",p0,0,0);
DrawRect(0 ,0 , 0, 640 , 480);
mes(TIME){ step(2){
MovePic(p0, 0, 0, PicWidth(0), PicHeight(0), 0);,,
TextWrite( "輸送船が運んできた貨物で、",0,150,430);
TextWrite( "人々は命をつないでいます。",0,150,450);,,,,
MovePic(aikon, 0, 0, 64, 64, 0,0,410,3,10);
MovePic(aikon1, 0, 0, 64, 64, 0,570,410,3,10);,,,,,,
end_step;
}}
mes(LBDOWN){
mDown = 1;
}
mes(LBUP){ if(mDown == 1){
if(isInRect(0, 64, 410, 474)) {
mes(TIME){ step(2){
PlayWAVE("imo.wav");
DelPic(p0);
scene11(); end_step; del_us; del_me;
}}
} else if(isInRect(0, 64, 570, 640)) {
PlayWAVE("imo.wav");
DelPic(p0); del_us; scene14(); del_me;
} else {
PlayWAVE("imo.wav");
DelPic(p0); del_us; scene14(); del_me;
}
mDown = 0;
}}
}
// 都庁遺跡 日中
scene11()
{
int p0,run;
run = LoadPic("run1.bmp");
p0 = LoadPic("op8.bmp");
// TextWrite( "s11 1",p0,0,0);
DrawRect(0 ,0 , 430, 640 , 480);
mes(TIME){ step(2){
MovePic(p0, 0, 0, PicWidth(0), PicHeight(0), 0);
DrawRect(p0 ,0 , 346, 640 , 480);
TextWrite( "日中の都庁遺跡周辺の風景",0,150,450);,,,
MovePic(aikon, 0, 0, 64, 64, 0,0,410,3,10);
MovePic(aikon2, 0, 0, 64, 64, 0,570,410,3,10);,,,,,,,
end_step;del_me;
}}
mes(LBDOWN){
mDown = 1;
}
mes(LBUP){ if(mDown == 1){
if(isInRect(0, 64, 410, 474)) {
PlayWAVE("kote.wav");
DelPic(p0); DelPic(run); del_us; scene12(); del_me;
} else if(isInRect(570, 634, 410, 474)) {
mes(TIME){ step(4){
PlayWAVE("imo.wav");
MovePic(run, 0, 0, 54, 90, 0,244,263,0,0xffffff);,,,,,,,,,,,,
MovePic(p0, 264, 263, 54, 90, 0,244,263);
end_step; del_me;}}
} else {
mes(TIME){ step(4){
PlayWAVE("imo.wav");
MovePic(run, 0, 0, 54, 90, 0,244,263,0,0xffffff);,,,,,,,,,,,,,,
MovePic(p0, 264, 263, 54, 90, 0,244,263);
end_step;del_me;}}
}
mDown = 0;
}}
}
// 月
scene12()
{
int p0,rei;
rei = LoadPic("tubu.bmp");
p0 = LoadPic("back.bmp");
DrawRect(0 ,0 , 430, 640 , 480);
// TextWrite( "s12 1",p0,0,0);
mes(TIME){ step(2){
MovePic(p0, 0, 0, PicWidth(0), PicHeight(0), 0);
TextWrite( "夜明け近くの地上の風景",0,150,450);,
MovePic(aikon, 0, 0, 64, 64, 0,0,410,3,10);
MovePic(aikon2, 0, 0, 64, 64, 0,570,410,3,10);,,,,,,
end_step;del_me;
}}
mes(LBDOWN){
mDown = 1;
}
mes(LBUP){ if(mDown == 1){
if(isInRect(0, 64, 410, 474)) {
PlayWAVE("kote.wav");
DrawRect(p0 ,0 , 0, 640 , 480);
DelPic(p0); DelPic(rei); del_us; scene13(); del_me;
} else if(isInRect(570, 634, 410, 474)) {
mes(TIME){ step(2){
PlayWAVE("imo.wav");
MovePic(rei , 231 , 32, 77, 60, 0 , 350, 251, 0, 0xffffff);,,,,,,,,,,,,,,,,,,
MovePic(p0, 0, 0, PicWidth(0), PicHeight(0), 0);
end_step;del_me;
}}
} else {
mes(TIME){ step(2){
PlayWAVE("imo.wav");
MovePic(rei , 231 , 32, 77, 60, 0 , 350, 251, 0, 0xffffff);,,,,,,,,,,,,,,,,
MovePic(p0, 0, 0, PicWidth(0), PicHeight(0), 0);
end_step;del_me;
}}
}
mDown = 0;
}}
}
// 地上へのゲート近く
scene13()
{
int p0;
p0 = LoadPic("op2.bmp");
DrawRect(0 ,0 , 0, 640 , 480);
// TextWrite( "s13 1",p0,0,0);
mes(TIME){ step(2){
MovePic(p0, 0, 0, PicWidth(0), PicHeight(0), 0);
TextWrite( "地上へ通じるゲート近くの風景",0,150,450);,,,,
MovePic(aikon, 0, 0, 64, 64, 0,0,410,3,10);,,,,,
end_step;del_me;
}}
mes(LBDOWN){
mDown = 1;
}
mes(LBUP){ if(mDown == 1){
if(isInRect(0, 64, 410, 474)) {
PlayWAVE("kote.wav");
DrawRect(p0 ,0 , 0, 640 , 480);
DelPic(p0); del_us; scene14(); del_me;
} else {
PlayWAVE("imo.wav");
DelPic(p0); del_us; scene14(); del_me;
}
mDown = 0;
}}
}
// タカシとイザベル
scene14()
{
int p0;
p0 = LoadPic("takasi.bmp");
// TextWrite( "s14 1",p0,0,0);
mes(TIME){
step(2){
MovePic(p0, 0, 0, PicWidth(0), PicHeight(0), 0);
DrawRect(0 ,0 , 346, 640 , 480);
TextWrite( "タカシとイザベル。チューブカー内部で。",0,150,450);,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
MCI("stop song");DelPic(p0); CloseWinAll();DelPic(0);DelPic(aikon);DelPic(aikon1);
Shell( GetIniStr("Directory", "system", "0", "inst.ini") + "\filly.exe",
"tokyoms.fil"); // 2つ目のfillyの起動
del_all;
end_step; ExitTitle(); del_me;
}}
}