diff --git a/script/Jam10/NarumiSTG.dnh b/script/Jam10/NarumiSTG.dnh index d376e0a..2654575 100644 --- a/script/Jam10/NarumiSTG.dnh +++ b/script/Jam10/NarumiSTG.dnh @@ -438,21 +438,36 @@ task EndBonus(){ rankAvgFinal = rankSum/length(rankAvg); + float multiplierBonus = (GetPlayerLife() + timer/60 + GetCommonDataPtr(GROUNDENM_PTR, 0)/5 + GetCommonDataPtr(FLYINGENM_PTR, 0)/5 + rankAvgFinal) * 30; + + int scoreBonus = (trunc ( (multiplierBonus * 100000) / 100 ) * 10); + _CreateBonusText(STG_WIDTH/2, STG_HEIGHT/2-220, 30, 0xCF007A, "LIVES REMAINING: " ~ IntToString(GetPlayerLife())); _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-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, 30, 0xFFA300, "END BONUS:"); - - wait(120); - - float multiplierBonus = (GetPlayerLife() + timer/60 + GetCommonDataPtr(GROUNDENM_PTR, 0)/5 + GetCommonDataPtr(FLYINGENM_PTR, 0)/5 + rankAvgFinal) * 30; - - int scoreBonus = (trunc ( (multiplierBonus * 100000) / 100 ) * 10); - - _CreateBonusText(STG_WIDTH/2, STG_HEIGHT/2+60, 60, 0xFFA300, DigitToCommaArray(scoreBonus)); AddScore(scoreBonus); + + _CreateBonusText(STG_WIDTH/2, STG_HEIGHT/2, 30, 0xFFA300, "FINAL SCORE:"); + + wait(90); + + int score = trunc(GetScore()/10) * 10; + int scoreMilNum = score/1000000; + + _CreateBonusText(STG_WIDTH/2, STG_HEIGHT/2+60, 60, 0xFFA300, DigitToCommaArray(score)); + + string RANK_TITLE = "C"; + + if(scoreMilNum > 300) {RANK_TITLE = "[font oc=(255, 108, 0)]UNBEATABLE!!!"} + else if(scoreMilNum > 250){RANK_TITLE = "[font oc=(255, 203, 0)]RANK S!!"} + else if(scoreMilNum > 175){RANK_TITLE = "[font oc=(49, 223, 27)]RANK A!"} + else if(scoreMilNum > 100){RANK_TITLE = "[font oc=(27, 171, 223)]RANK B"} + else {RANK_TITLE = "[font oc=(167, 27, 223)]RANK C"} + + _CreateBonusText(STG_WIDTH/2, STG_HEIGHT/2+90, 40, 0xE4440A, RANK_TITLE); wait(60); diff --git a/script/Jam10/PackageLib/NarumiSTG_Manual.png b/script/Jam10/PackageLib/NarumiSTG_Manual.png index f2d86a6..fe57449 100644 Binary files a/script/Jam10/PackageLib/NarumiSTG_Manual.png and b/script/Jam10/PackageLib/NarumiSTG_Manual.png differ