PLEASE GOD LET THIS BE THE FINAL PUSH

This commit is contained in:
Kevinmonitor 2023-01-30 23:01:00 +07:00
parent b8c58755a5
commit 4564ad9668
1 changed files with 15 additions and 9 deletions

View File

@ -100,7 +100,9 @@ let POINTER_CHAIN = LoadAreaCommonDataValuePointer("PIV", "ChainAmount", 1);
} }
case(EV_REQUEST_TIMER) { case(EV_REQUEST_TIMER) {
SetScriptResult(STAGE_LENGTH);
//SetScriptResult(STAGE_LENGTH);
SetScriptResult(10);
//SetScriptResult(BOSS_LENGTH+5); //SetScriptResult(BOSS_LENGTH+5);
} }
@ -414,7 +416,7 @@ task EndBonus(){
int objText = CreateTextObject( int objText = CreateTextObject(
x, y, fontSize, x, y, fontSize,
"", "GravityRegular5", "", "GravityBold8",
0xFFFFFF, 0xFFFFFF, 0xFFFFFF, 0xFFFFFF,
colorBorder, 4, colorBorder, 4,
71 71
@ -446,7 +448,7 @@ task EndBonus(){
_CreateBonusText(STG_WIDTH/2, STG_HEIGHT/2-180, 30, 0x3500CF, "TIME REMAINING: " ~ vtos("5.2f", timer/60)); _CreateBonusText(STG_WIDTH/2, STG_HEIGHT/2-180, 30, 0x3500CF, "TIME REMAINING: " ~ vtos("5.2f", timer/60));
_CreateBonusText(STG_WIDTH/2, STG_HEIGHT/2-140, 30, 0xCF6100, "ENEMIES DEFEATED: " ~ IntToString(GetCommonDataPtr(GROUNDENM_PTR, 0) + GetCommonDataPtr(FLYINGENM_PTR, 0))); _CreateBonusText(STG_WIDTH/2, STG_HEIGHT/2-140, 30, 0xCF6100, "ENEMIES DEFEATED: " ~ IntToString(GetCommonDataPtr(GROUNDENM_PTR, 0) + GetCommonDataPtr(FLYINGENM_PTR, 0)));
_CreateBonusText(STG_WIDTH/2, STG_HEIGHT/2-100, 30, 0xCF0000, "AVERAGE RANK LV: " ~ vtos("5.2f", rankAvgFinal)); _CreateBonusText(STG_WIDTH/2, STG_HEIGHT/2-100, 30, 0xCF0000, "AVERAGE RANK LV: " ~ vtos("5.2f", rankAvgFinal));
_CreateBonusText(STG_WIDTH/2, STG_HEIGHT/2-60, 30, 0xF68000, "END-OF-STAGE BONUS: " ~ DigitToCommaArray(scoreBonus)); _CreateBonusText(STG_WIDTH/2, STG_HEIGHT/2-60, 30, 0xF68000, "END BONUS: " ~ DigitToCommaArray(scoreBonus));
AddScore(scoreBonus); AddScore(scoreBonus);
@ -461,13 +463,17 @@ task EndBonus(){
string RANK_TITLE = "C"; string RANK_TITLE = "C";
if(scoreMilNum > 300) {RANK_TITLE = "[font oc=(255, 108, 0)]UNBEATABLE!!!"} if(scoreMilNum > 300) {RANK_TITLE = "UNBEATABLE!!!";}
else if(scoreMilNum > 250){RANK_TITLE = "[font oc=(255, 203, 0)]RANK S!!"} else if(scoreMilNum > 240){RANK_TITLE = "RANK S!!";}
else if(scoreMilNum > 175){RANK_TITLE = "[font oc=(49, 223, 27)]RANK A!"} else if(scoreMilNum > 160){RANK_TITLE = "RANK A!";}
else if(scoreMilNum > 100){RANK_TITLE = "[font oc=(27, 171, 223)]RANK B"} else if(scoreMilNum > 100){RANK_TITLE = "RANK B";}
else {RANK_TITLE = "[font oc=(167, 27, 223)]RANK C"} else {RANK_TITLE = "RANK C";}
_CreateBonusText(STG_WIDTH/2, STG_HEIGHT/2+90, 40, 0xE4440A, RANK_TITLE); if(scoreMilNum > 300) {_CreateBonusText(STG_WIDTH/2, STG_HEIGHT/2+140, 40, 0xFF1B1B, RANK_TITLE);}
else if(scoreMilNum > 240) {_CreateBonusText(STG_WIDTH/2, STG_HEIGHT/2+140, 40, 0xFFA31B, RANK_TITLE);}
else if(scoreMilNum > 160) {_CreateBonusText(STG_WIDTH/2, STG_HEIGHT/2+140, 40, 0x5CEB0F, RANK_TITLE);}
else if(scoreMilNum > 100) {_CreateBonusText(STG_WIDTH/2, STG_HEIGHT/2+140, 40, 0x0F9BEB, RANK_TITLE);}
else {_CreateBonusText(STG_WIDTH/2, STG_HEIGHT/2+140, 40, 0xB10FEB, RANK_TITLE);}
wait(60); wait(60);