home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ring.yamanashi.ac.jp/pub/pc/freem/action/
/
action.zip
/
panhumu121.zip
/
panhumu121
/
game
/
script
/
ending.dat
next >
Wrap
Text File
|
2006-04-05
|
23KB
|
1,125 lines
//Åëè·ë╗è╓Éö
function OnInit()
{
new("isPushButton1",1);
new("isPushButton3",1);
new("isNext",0);
new("mode",0);
new("temp_mode",0);
new("temp_modeend",0);
new("time",0);
new("maxtime",0);
new("col",0);
new("all_y",0);
new("text_x",10);
new("text_y",440);
new("temp",0);
new("coin_rank",-1);
new("time_rank",-1);
new("total_rank",-1);
new("time_m",0);
new("time_s",0);
new("pan_x",0);
new("pan_y",0);
//LoadWave
LoadWave(0,"etc\power21.wav");
LoadWave(1,"etc\fall06.wav");
LoadWave(2,"etc\hit_s11_b.wav");
//LoadMidi
PlayMidi("ending\tam-g02.mid");
LoadTexure("data\ending\chara.bmp",0);
LoadTexure("data\ending\result.bmp",1);
LoadTexure("data\ending\pan.bmp",3);
LoadTexure("data\ending\shop.bmp",6);
temp = GetData("left_time")/(1000/15);
time_m = temp/60;
time_s = temp%60;
//TimeRank
if(time_rank<0 && time_m > 7){
time_rank = 3;
}
if(time_rank<0 && time_m > 5){
time_rank = 2;
}
if(time_rank<0 && time_m > 3){
time_rank = 1;
}
if(time_rank<0 && time_m > 0){
time_rank = 0;
}
if(GetData("continue_count") > 0){
time_rank = 0;
}
//CoinRank
temp = GetData("coin_count")/GetData("max_coin_count");
if(coin_rank<0 && temp<0.125){
coin_rank = 0;
pan_x = 0;
pan_y = 0;
LoadTexure("data\ending\miss.bmp",5);
}
if(coin_rank<0 && temp<0.25){
coin_rank = 1;
pan_x = 1;
pan_y = 0;
LoadTexure("data\ending\clear.bmp",5);
}
if(coin_rank<0 && temp<1.0){
coin_rank = 2;
pan_x = 0;
pan_y = 1;
LoadTexure("data\ending\clear.bmp",5);
}
if(coin_rank<0 && temp<=1.0){
coin_rank = 3;
pan_x = 1;
pan_y = 1;
LoadTexure("data\ending\clear.bmp",5);
}
total_rank = time_rank + coin_rank;
if(total_rank>=0 && total_rank<3){
LoadTexure("data\ending\mark2.bmp",2);
}
if(total_rank>=3){
LoadTexure("data\ending\mark1.bmp",2);
}
isPushButton1 = 1;
isPushButton3 = 1;
}
function OnProc()
{
isNext = 0;
col=255;
if(GetKeyData("isButton1") == 1){
if(isPushButton1 <= 0){
isNext = 1;
}
isPushButton1 = 1;
}
else{
isPushButton1 = 0;
}
if(GetKeyData("isButton3") == 1){
if(isPushButton3 <= 0){
if(mode < 99){
mode = 99;
}
else{
if(mode < 200){
mode = 200;
}
else{
mode = 999;
}
}
time = 0;
}
isPushButton3 = 1;
}
else{
isPushButton3 = 0;
}
time += 1;
if(mode < 10){
DrawTexure(9,0,430,640,100,0.0,0,395,256,512,0,0,0,1,0,0,1);
switch(mode){
case 0:
maxtime = 60;
temp = (time/maxtime);
if(temp>1.0){
temp = 1.0;
}
if(temp<0.25){
DrawTexure(6,320,240,256*(0.125+temp*0.875),256*(0.125+temp*0.875),0.0,0,0,256,256,1,1,1,1,0.5,0.75,0);
}
if(temp>=0.25 && temp<0.5){
DrawTexure(6,320,240,256*(0.125+temp*0.875),256*(0.125+temp*0.875),0.0,0,256,256,512,1,1,1,1,0.5,0.75,0);
}
if(temp>=0.5){
DrawTexure(6,320,240,256*(0.125+temp*0.875),256*(0.125+temp*0.875),0.0,256,0,512,256,1,1,1,1,0.5,0.75,0);
}
DrawText(text_x,text_y,"é▄üAè╘é╔ìçé┴é╜ü`",255,255,255,25);
if(time>=maxtime){
if(isNext > 0){
time = 0;
mode = 2;
}
else{
time = maxtime;
DrawText(640-25,480-25,"üñ",255,255,255,25);
}
}
break;
case 2:
maxtime = 0;
DrawTexure(6,320,240,256,256,0.0,256,0,512,256,1,1,1,1,0.5,0.75,0);
DrawText(text_x,text_y,"é╖é▌é▄é╣ü`é±",255,255,255,25);
if(time>=maxtime){
if(isNext > 0){
time = 0;
mode = 4;
}
else{
time = maxtime;
DrawText(640-25,480-25,"üñ",255,255,255,25);
}
}
break;
case 4:
maxtime = 60;
temp = (time/maxtime);
if(temp>1.0){
temp = 1.0;
}
DrawTexure(6,320,240,256*(1+temp*3),256*(1+temp*3),0.0,256,0,512,256,1,1,1,1,0.5,0.75,0);
DrawTexure(9,320,240,640,480,0.0,256,0,512,256,1,1,1,temp,0.5,0.5,1);
DrawText(text_x,text_y,"é╖é▌é▄é╣ü`é±",255,255,255,25);
if(time>=maxtime){
time = 0;
mode = 10;
}
break;
}
}
//üÖ
if(mode>=10 && mode<99){
DrawTexure(9,0,0,640,480,0.0,0,0,256,256,1,1,1,1,0,0,0);
DrawTexure(9,0,430,640,100,0.0,0,395,256,512,0,0,0,1,0,0,1);
switch(coin_rank){
case 1:
callfunction(Proc1);
break;
case 2:
callfunction(Proc2);
break;
case 3:
callfunction(Proc3);
break;
case 0:
callfunction(Proc0);
}
}
//üÖ
if(mode>=99 && mode<200){
temp_mode = mode-99;
temp_modeend = 200;
DrawTexure(9,0,0,640,480,0.0,0,0,512,384,0,0,0,1,0,0,0);
callfunction(Roll);
}
//üÖ
if(mode>=200 && mode<300){
temp_mode = mode-200;
temp_modeend = 999;
callfunction(Result);
}
if(mode>=999){
SetData("next","char","1");
}
}
function Proc0()
{
switch(mode){
case 10:
maxtime = 0;
time = 0;
mode = 11;
temp = 0.0;
StopMidi();
break;
case 11:
maxtime = 0;
DrawText(text_x,text_y,"üué╟üAé╟éñéαü`",255,255,255,25);
if(time>=maxtime){
if(isNext > 0){
time = 0;
mode = 12;
temp = 0.0;
}
else{
time = maxtime;
DrawText(640-25,480-25,"üñ",255,255,255,25);
}
}
break;
case 12:
maxtime = 0;
temp += 0.025;
if(temp >= 1.0){
temp = 1.0;
}
DrawTexure(5,320,240,640,480,0.0,0,0,256,256,1,1,1,temp,0.5,0.5,0);
DrawTexure(0,520,350,212,210,0.0,300,90,512,300,1,1,1,1.0,0.5,0.5,0);
DrawText(text_x,text_y,"é╚üAé╚é╔éαé⌐éªé╚é⌐é┴é╜üEüEüE",255,255,255,25);
if(time>=maxtime){
if(isNext > 0){
time = 0;
mode = 13;
temp = 0.0;
}
else{
time = maxtime;
DrawText(640-25,480-25,"üñ",255,255,255,25);
}
}
break;
case 13:
maxtime = 0;
temp += 0.025;
if(temp >= 1.0){
temp = 1.0;
}
col = (1.0-temp)*255;
DrawTexure(5,320,240,640,480,0.0,0,0,256,256,1,1,1,1,0.5,0.5,0);
DrawTexure(0,520,350,212,210,0.0,300,90,512,300,1,1,1,1.0,0.5,0.5,0);
DrawText(text_x,text_y,"é╚üAé╚é╔éαé⌐éªé╚é⌐é┴é╜üEüEüE",col,col,col,25);
DrawTexure(9,320,240,650,490,0,0,0,256,256,0,0,0,temp,0.5,0.5,0);
if(temp >= 1.0){
time = 0;
mode = 99;
}
break;
}
}
function Proc1()
{
switch(mode){
case 10:
maxtime = 0;
time = 0;
mode = 11;
temp = 0.0;
break;
case 11:
maxtime = 0;
DrawText(text_x,text_y,"üuéáéΦé¬é╞éñé▓é┤éóé▄é╡é╜ü`",255,255,255,25);
if(time>=maxtime){
if(isNext > 0){
time = 0;
mode = 12;
temp = 0.0;
}
else{
time = maxtime;
DrawText(640-25,480-25,"üñ",255,255,255,25);
}
}
break;
case 12:
maxtime = 0;
if(time >=360){
time = 0;
}
temp += 0.025;
if(temp >= 1.0){
temp = 1.0;
}
DrawTexure(5,260,176,1024,1024,time,0,0,256,256,1,1,1,temp,0.5,0.5,0);
DrawTexure(0,520,350,700,700,0.0,0,0,300,300,1,1,1,1,0.5,0.5,0);
DrawTexure(3,260,176,128,128,0.0,128*pan_x,128*pan_y,128*pan_x+128,128*pan_y+128,1,1,1,1,0.5,0.5,0);
DrawText(text_x,text_y,"é▒éΩé╢éßüAé¿é╚é⌐éóé┴é╧éóé╔é╚éτé╚éóéµü`",255,255,255,25);
if(isNext > 0){
mode = 13;
temp = 0.0;
FeedOutMidi(1000);
}
else{
DrawText(640-25,480-25,"üñ",255,255,255,25);
}
break;
case 13:
maxtime = 0;
if(time >=360){
time = 0;
}
temp += 0.025;
if(temp >= 1.0){
temp = 1.0;
}
col = (1.0-temp)*255;
DrawTexure(5,260,176,1024,1024,time,0,0,256,256,1,1,1,1,0.5,0.5,0);
DrawTexure(0,520,350,700,700,0.0,0,0,300,300,1,1,1,1,0.5,0.5,0);
DrawTexure(3,260,176,128,128,0.0,128*pan_x,128*pan_y,128*pan_x+128,128*pan_y+128,1,1,1,1,0.5,0.5,0);
DrawText(text_x,text_y,"é▒éΩé╢éßüAé¿é╚é⌐éóé┴é╧éóé╔é╚éτé╚éóéµü`",col,col,col,25);
DrawTexure(9,320,240,650,490,0,0,0,256,256,0,0,0,temp,0.5,0.5,0);
if(temp >= 1.0){
time = 0;
mode = 99;
}
break;
}
}
function Proc2()
{
switch(mode){
case 10:
maxtime = 0;
time = 0;
mode = 11;
temp = 0.0;
break;
case 11:
maxtime = 0;
DrawText(text_x,text_y,"üuéáéΦé¬é╞éñé▓é┤éóé▄é╡é╜ü`",255,255,255,25);
if(time>=maxtime){
if(isNext > 0){
time = 0;
mode = 12;
temp = 0.0;
}
else{
time = maxtime;
DrawText(640-25,480-25,"üñ",255,255,255,25);
}
}
break;
case 12:
maxtime = 0;
if(time >=360){
time = 0;
}
temp += 0.025;
if(temp >= 1.0){
temp = 1.0;
}
DrawTexure(5,260,176,1024,1024,time,0,0,256,256,1,1,1,temp,0.5,0.5,0);
DrawTexure(0,520,350,700,700,0.0,0,0,300,300,1,1,1,1,0.5,0.5,0);
DrawTexure(3,260,176,128,128,0.0,128*pan_x,128*pan_y,128*pan_x+128,128*pan_y+128,1,1,1,1,0.5,0.5,0);
DrawText(text_x,text_y,"î╢âpâôé╢éßé╚éóé»é╟üAé▄üAé▒éΩé┼éóéóé⌐üEüEüE",255,255,255,25);
if(isNext > 0){
mode = 13;
temp = 0.0;
FeedOutMidi(1000);
}
else{
DrawText(640-25,480-25,"üñ",255,255,255,25);
}
break;
case 13:
maxtime = 0;
if(time >=360){
time = 0;
}
temp += 0.025;
if(temp >= 1.0){
temp = 1.0;
}
col = (1.0-temp)*255;
DrawTexure(5,260,176,1024,1024,time,0,0,256,256,1,1,1,1,0.5,0.5,0);
DrawTexure(0,520,350,700,700,0.0,0,0,300,300,1,1,1,1,0.5,0.5,0);
DrawTexure(3,260,176,128,128,0.0,128*pan_x,128*pan_y,128*pan_x+128,128*pan_y+128,1,1,1,1,0.5,0.5,0);
DrawText(text_x,text_y,"î╢âpâôé╢éßé╚éóé»é╟üAé▄üAé▒éΩé┼éóéóé⌐üEüEüE",col,col,col,25);
DrawTexure(9,320,240,650,490,0,0,0,256,256,0,0,0,temp,0.5,0.5,0);
if(temp >= 1.0){
time = 0;
mode = 99;
}
break;
}
}
function Proc3()
{
switch(mode){
case 10:
maxtime = 0;
time = 0;
mode = 11;
temp = 0.0;
break;
case 11:
maxtime = 0;
DrawText(text_x,text_y,"üuéáéΦé¬é╞éñé▓é┤éóé▄é╡é╜ü`",255,255,255,25);
if(time>=maxtime){
if(isNext > 0){
time = 0;
mode = 12;
temp = 0.0;
}
else{
time = maxtime;
DrawText(640-25,480-25,"üñ",255,255,255,25);
}
}
break;
case 12:
maxtime = 0;
if(time >=360){
time = 0;
}
temp += 0.025;
if(temp >= 1.0){
temp = 1.0;
}
DrawTexure(5,260,176,1024,1024,time,0,0,256,256,1,1,1,temp,0.5,0.5,0);
DrawTexure(0,520,350,700,700,0.0,0,0,300,300,1,1,1,1,0.5,0.5,0);
DrawTexure(3,260,176,128,128,0.0,128*pan_x,128*pan_y,128*pan_x+128,128*pan_y+128,1,1,1,1,0.5,0.5,0);
DrawText(text_x,text_y,"é▒éΩé¬î╢âpâôüIüI",255,255,255,25);
if(isNext > 0){
mode = 13;
temp = 0.0f;
FeedOutMidi(1000);
}
else{
DrawText(640-25,480-25,"üñ",255,255,255,25);
}
break;
case 13:
maxtime = 0;
if(time >=360){
time = 0;
}
temp += 0.025;
if(temp >= 1.0){
temp = 1.0;
}
col = (1.0-temp);
DrawTexure(5,260,176,1024,1024,time,0,0,256,256,1,1,1,1,0.5,0.5,0);
DrawTexure(0,520,350,700,700,0.0,0,0,300,300,1,1,1,1,0.5,0.5,0);
DrawTexure(3,260,176,128,128,0.0,128*pan_x,128*pan_y,128*pan_x+128,128*pan_y+128,1,1,1,1,0.5,0.5,0);
DrawText(text_x,text_y,"é▒éΩé¬î╢âpâôüIüI",col,col,col,25);
DrawTexure(9,320,240,650,490,0,0,0,256,256,0,0,0,temp,0.5,0.5,0);
if(temp >= 1.0){
time = 0;
mode = 99;
}
break;
}
}
function Result()
{
switch(temp_mode){
case 0:
maxtime = 60;
if(time>=maxtime){
time = 0;
mode = mode+1;
}
break;
case 1:
maxtime = 30;
if(time>=maxtime){
time = 0;
mode = mode+1;
}
break;
case 2:
maxtime = 30;
if(time>=maxtime){
time = 0;
mode = mode+1;
}
break;
case 3:
maxtime = 30;
if(time>=maxtime){
time = 0;
mode = mode+1;
}
break;
case 4:
maxtime = 20;
temp = (time/maxtime);
if(time==1){
PlayWave(0);
}
if(time>=maxtime){
time = 0;
mode = mode+1;
}
break;
case 5:
maxtime = 20;
if(time==1){
PlayWave(0);
}
if(time>=maxtime){
time = 0;
mode = mode+1;
}
break;
case 6:
maxtime = 20;
if(time==1){
PlayWave(0);
}
if(time>=maxtime){
time = 0;
mode = mode+1;
}
break;
case 7:
maxtime = 60;
if(time==1){
PlayWave(1);
}
if(time>=maxtime){
time = 0;
mode = mode+1;
}
break;
case 8:
maxtime = 20;
if(time==1){
PlayWave(2);
}
temp = time/maxtime;
all_y = sin(temp*3.14*4)*(80-80*temp);
if(time>=maxtime){
if(isNext > 0){
time = 0;
mode = mode+1;
}
else{
time = maxtime;
}
}
break;
case 9:
maxtime = 60;
col = (1.0 - time/maxtime)*255;
if(time>=maxtime){
time = 0;
mode = mode+1;
temp_mode = temp_mode+1;
}
break;
case 10:
maxtime = 60;
col = 0;
if(time>=maxtime){
mode = temp_modeend;
}
break;
}
//Draw
if(temp_mode >= 0){ //Result
if(temp_mode == 0){
temp = (time/maxtime);
}
else{
temp = 1;
}
DrawTexure(1,150,all_y+100,
240+240*sin(temp*3.14),48+48*sin(temp*3.14),0.0,
8,104,248,152,1,1,1,1,0.5,0.5,0);
}
if(temp_mode >= 1){ //TimeName
if(temp_mode == 1){
temp = (time/maxtime);
}
else{
temp = 1;
}
DrawTexure(1,150,all_y+160,
120+120*sin(temp*3.14),48+48*sin(temp*3.14),0.0,
8,8,128,56,1,1,1,1,0.5,0.5,0);
}
if(temp_mode >= 2){ //ItemName
if(temp_mode == 2){
temp = (time/maxtime);
}
else{
temp = 1;
}
DrawTexure(1,150,all_y+220,
120+120*sin(temp*3.14),48+48*sin(temp*3.14),0.0,
8,56,128,56+48,1,1,1,1,0.5,0.5,0);
}
if(temp_mode >= 3){ //ContinueName
if(temp_mode == 3){
temp = (time/maxtime);
}
else{
temp = 1;
}
DrawTexure(1,150,all_y+280,
120+120*sin(temp*3.14),48+48*sin(temp*3.14),0.0,
8,160,128,160+48,1,1,1,1,0.5,0.5,0);
}
if(temp_mode >= 4){ //Time
//min
if(time_m<10){
DrawText_Int(150+100+24,all_y+160-24,time_m,col,col,col,48);
}
else{
DrawText_Int(150+100,all_y+160-24,time_m,col,col,col,48);
}
//:
DrawText_Int(150+100+48,all_y+160-24,":",col,col,col,48);
//sec
if(time_s<10){
DrawText_Int(150+100+48+48,all_y+160-24,time_s,col,col,col,48);
DrawText_Int(150+100+48+24,all_y+160-24,0,col,col,col,48);
}
else{
DrawText_Int(150+100+48+24,all_y+160-24,time_s,col,col,col,48);
}
}
if(temp_mode >= 5){ //Item
//get
if(GetData("coin_count")<10){
DrawText_Int(150+100+24,all_y+220-24,GetData("coin_count"),col,col,col,48);
DrawText_Int(150+100,all_y+220-24,0,col,col,col,48);
}
else{
DrawText_Int(150+100,all_y+220-24,GetData("coin_count"),col,col,col,48);
}
//:
DrawText(150+100+48,all_y+220-24,"/",col,col,col,48);
//
if(GetData("max_coin_count")<10){
DrawText_Int(150+100+48+48,all_y+220-24,GetData("max_coin_count"),col,col,col,48);
DrawText_Int(150+100+48+24,all_y+220-24,0,col,col,col,48);
}
else{
DrawText_Int(150+100+48+24,all_y+220-24,GetData("max_coin_count"),col,col,col,48);
}
}
if(temp_mode >= 6){ //Continue
DrawText_Int(150+100+24,all_y+280-24,GetData("continue_count"),col,col,col,48);
}
if(temp_mode >= 7){ //Rank
if(temp_mode == 7){
temp = 1.0-(time/maxtime);
}
else{
temp = 0;
}
switch(total_rank){
case 3:
DrawTexure(2,320,360+all_y,256*2+256*temp,32*2+32*temp,temp*360*2,
0,8,256,8+32,1,1,1,1,0.5,0.5,1);
break;
case 4:
DrawTexure(2,320,360+all_y,256*2+256*temp,32*2+32*temp,temp*360*2,
0,56,256,56+32,1,1,1,1,0.5,0.5,1);
break;
case 5:
DrawTexure(2,320,360+all_y,256*2+256*temp,32*2+32*temp,temp*360*2,
0,104,256,104+32,1,1,1,1,0.5,0.5,1);
break;
case 6:
DrawTexure(2,320,360+all_y,256*2+256*temp,32*2+32*temp,temp*360*2,
0,152,256,152+32,1,1,1,1,0.5,0.5,1);
break;
case 0:
DrawTexure(2,320,360+all_y,256*2+256*temp,32*2+32*temp,temp*360*2,
0,8,256,8+32,1,1,1,1,0.5,0.5,1);
break;
case 1:
DrawTexure(2,320,360+all_y,256*2+256*temp,32*2+32*temp,temp*360*2,
0,56,256,56+32,1,1,1,1,0.5,0.5,1);
break;
case 2:
DrawTexure(2,320,360+all_y,256*2+256*temp,32*2+32*temp,temp*360*2,
0,104,256,104+32,1,1,1,1,0.5,0.5,1);
break;
}
}
if(temp_mode >= 9){
if(temp_mode==9){
temp = time/maxtime;
}
else{
temp = 1.0;
}
DrawTexure(9,320,240,650,490,0,
0,0,256,256,0,0,0,temp,0.5,0.5,1);
}
}
function Roll()
{
switch(temp_mode){
case 0:
maxtime = 180;
if(time==1){
PlayMidi("ending\tamsi09.mid");
}
temp = sin((time/maxtime)*3.14)*255;
if(temp>=255){
temp=255;
}
text_x = 320-(50*12)*0.5;
text_y = 240-25;
DrawText(text_x,text_y,"âpâôé╞é╙é▐é╙é▐é╞âÅâ^âVüB",temp,temp,temp,50);
if(time>=maxtime){
time = 0;
mode = mode+1;
}
break;
case 1:
maxtime = 300;
temp = sin((time/maxtime)*3.14)*255;
if(temp>=255){
temp=255;
}
text_x = 320-(25*6)*0.5;
text_y = 20;
DrawText(text_x,text_y,"-âvâìâOâëâÇ-",255,255,255,25);
text_x = 320-(25*4)*0.5;
text_y = 100;
DrawText(text_x,text_y,"é⌐é║é╦é┬",temp,temp,temp,25);
if(time>=maxtime){
time = 0;
mode = mode+1;
}
break;
case 2:
maxtime = 300;
temp = sin((time/maxtime)*3.14)*255;
if(temp>=255){
temp=255;
}
text_x = 320-(25*7)*0.5;
text_y = 20;
DrawText(text_x,text_y,"-âOâëâtâBâbâN-",255,255,255,25);
text_x = 320-(25*4)*0.5;
text_y = 100;
DrawText(text_x,text_y,"é⌐é║é╦é┬",temp,temp,temp,25);
text_x = 320-(25*3)*0.5;
text_y += 40;
DrawText(text_x,text_y,"éαé┴é┐",temp,temp,temp,25);
if(time>=maxtime){
time = 0;
mode = mode+1;
}
break;
case 3:
maxtime = 300;
temp = sin((time/maxtime)*3.14)*255;
if(temp>=255){
temp=255;
}
text_x = 320-(25*7)*0.5;
text_y = 20;
DrawText(text_x,text_y,"-âOâëâtâBâbâN-",255,255,255,25);
text_x = 320-(25*13)*0.5;
text_y = 45;
DrawText(text_x,text_y,"âtâèü[æfì▐é≡Ägùpé╡é─éóé▄é╖",255,255,255,25);
text_x = 320-(25*16)*0.5;
text_y = 100;
DrawText(text_x,text_y,"Handshakeüigodhandevillegé│é±üj",temp,temp,temp,25);
if(time>=maxtime){
time = 0;
mode = mode+1;
}
break;
case 4:
maxtime = 300;
temp = sin((time/maxtime)*3.14)*255;
if(temp>=255){
temp=255;
}
text_x = 320-(25*7)*0.5;
text_y = 20;
DrawText(text_x,text_y,"-âOâëâtâBâbâN-",255,255,255,25);
text_x = 320-(25*13)*0.5;
text_y = 45;
DrawText(text_x,text_y,"âtâèü[æfì▐é≡Ägùpé╡é─éóé▄é╖",255,255,255,25);
text_x = 320-(25*13)*0.5;
text_y = 100;
DrawText(text_x,text_y,"é╜é⌐éτÅæû[üié╜é⌐éτé╡é│é±üj",temp,temp,temp,25);
if(time>=maxtime){
time = 0;
mode = mode+1;
}
break;
case 5:
maxtime = 300;
temp = sin((time/maxtime)*3.14)*255;
if(temp>=255){
temp=255;
}
text_x = 320-(25*7)*0.5;
text_y = 20;
DrawText(text_x,text_y,"-âOâëâtâBâbâN-",255,255,255,25);
text_x = 320-(25*13)*0.5;
text_y = 45;
DrawText(text_x,text_y,"âtâèü[æfì▐é≡Ägùpé╡é─éóé▄é╖",255,255,255,25);
text_x = 320-(25*20)*0.5;
text_y = 100;
DrawText(text_x,text_y,"FirstSeedMatrialüiFirstSeedMatrialé│é±üj",temp,temp,temp,25);
if(time>=maxtime){
time = 0;
mode = mode+1;
}
break;
case 6:
maxtime = 300;
temp = sin((time/maxtime)*3.14)*255;
if(temp>=255){
temp=255;
}
text_x = 320-(25*7)*0.5;
text_y = 20;
DrawText(text_x,text_y,"-âOâëâtâBâbâN-",255,255,255,25);
text_x = 320-(25*13)*0.5;
text_y = 45;
DrawText(text_x,text_y,"âtâèü[æfì▐é≡Ägùpé╡é─éóé▄é╖",255,255,255,25);
text_x = 320-(25*13)*0.5;
text_y = 100;
DrawText(text_x,text_y,"öwîiæfì▐ôXüiôⁿì]é│é│é│é±üj",temp,temp,temp,25);
if(time>=maxtime){
time = 0;
mode = mode+1;
}
break;
case 7:
maxtime = 300;
temp = sin((time/maxtime)*3.14)*255;
if(temp>=255){
temp=255;
}
text_x = 320-(25*7)*0.5;
text_y = 20;
DrawText(text_x,text_y,"-âOâëâtâBâbâN-",255,255,255,25);
text_x = 320-(25*13)*0.5;
text_y = 45;
DrawText(text_x,text_y,"âtâèü[æfì▐é≡Ägùpé╡é─éóé▄é╖",255,255,255,25);
text_x = 320-(25*22)*0.5;
text_y = 100;
DrawText(text_x,text_y,"ÄΦÅæé½âtâHâôâgüwé½éδÄÜüxüikiloüié½éδüjé│é±üj",temp,temp,temp,25);
if(time>=maxtime){
time = 0;
mode = mode+1;
}
break;
case 8:
maxtime = 300;
temp = sin((time/maxtime)*3.14)*255;
if(temp>=255){
temp=255;
}
text_x = 320-(25*3)*0.5;
text_y = 20;
DrawText(text_x,text_y,"-ë╣èy-",255,255,255,25);
text_x = 320-(25*13)*0.5;
text_y = 45;
DrawText(text_x,text_y,"âtâèü[æfì▐é≡Ägùpé╡é─éóé▄é╖",255,255,255,25);
text_x = 320-(25*17)*0.5;
text_y = 100;
DrawText(text_x,text_y,"TAM Music Factoryüiæ╜û▓(TAM)é│é±üj",temp,temp,temp,25);
if(time>=maxtime){
time = 0;
mode = mode+1;
}
break;
case 9:
maxtime = 300;
temp = sin((time/maxtime)*3.14)*255;
if(temp>=255){
temp=255;
}
text_x = 320-(25*4)*0.5;
text_y = 20;
DrawText(text_x,text_y,"-î°ë╩ë╣-",255,255,255,25);
text_x = 320-(25*17)*0.5;
text_y = 45;
DrawText(text_x,text_y,"âtâèü[æfì▐üAæfì▐ÅWé≡Ägùpé╡é─éóé▄é╖",255,255,255,25);
text_x = 320-(25*16)*0.5;
text_y = 100;
DrawText(text_x,text_y,"âUüEâ}âbâ`âüâCâJâ@âYüiOSAé│é±üj",temp,temp,temp,25);
if(time>=maxtime){
time = 0;
mode = mode+1;
}
break;
case 10:
maxtime = 300;
temp = sin((time/maxtime)*3.14)*255;
if(temp>=255){
temp=255;
}
text_x = 320-(25*4)*0.5;
text_y = 20;
DrawText(text_x,text_y,"-î°ë╩ë╣-",255,255,255,25);
text_x = 320-(25*17)*0.5;
text_y = 45;
DrawText(text_x,text_y,"âtâèü[æfì▐üAæfì▐ÅWé≡Ägùpé╡é─éóé▄é╖",255,255,255,25);
text_x = 320-(25*14)*0.5;
text_y = 100;
DrawText(text_x,text_y,"ë╣üEĽôTüiâfü[â^âNâëâtâgÄ╨üj",temp,temp,temp,25);
if(time>=maxtime){
time = 0;
mode = mode+1;
}
break;
case 11:
maxtime = 100;
temp = (1.0-(time/maxtime))*255;
if(temp>=255){
temp=255;
}
text_x = 320-(25*4)*0.5;
text_y = 20;
DrawText(text_x,text_y,"-î°ë╩ë╣-",temp,temp,temp,25);
text_x = 320-(25*17)*0.5;
text_y = 45;
DrawText(text_x,text_y,"âtâèü[æfì▐üAæfì▐ÅWé≡Ägùpé╡é─éóé▄é╖",temp,temp,temp,25);
if(time>=maxtime){
time = 0;
mode = mode+1;
FeedOutMidi(1000);
}
break;
case 12:
maxtime = 300;
temp = sin((time/maxtime)*3.14)*255;
if(temp>=255){
temp=255;
}
text_x = 630-(20*15);
text_y = 450;
DrawText(text_x,text_y,"2006 (C)éτé¡é╛Factory",temp,temp,temp,20);
if(time>=maxtime){
time = 0;
mode = temp_modeend;
}
break;
}
}