@@ -234,7 +234,7 @@ class $modify(MyPlayLayer, PlayLayer) {
234234 if (getModBool (" showCollectedCoins" ) && !manager->coins .empty ()) {
235235 const bool hasOrbsLabelForReal = (hasOrbsLabel || isFromZilkoMod) && manager->addedNextKeyWhenLabel ;
236236 const bool hasKeyLabelForReal = hasKeyLabel && manager->addedNextKeyWhenLabel ;
237- std::string formattedCoinString = " Collected coins : " ;
237+ std::string formattedCoinString = " Coins : " ;
238238 int index = 0 ;
239239 bool falseIfUserTrueIfRobTop = false ;
240240 for (auto [coin, collected] : manager->coins ) {
@@ -246,16 +246,17 @@ class $modify(MyPlayLayer, PlayLayer) {
246246 }
247247
248248 CCLabelBMFont* coinsCollectedLabel = CCLabelBMFont::create (formattedCoinString.c_str (), " bigFont.fnt" );
249+ newBestNodeProbably->addChild (coinsCollectedLabel);
249250
250- if (falseIfUserTrueIfRobTop) coinsCollectedLabel->setColor ({255 , 215 , 0 });
251+ if (falseIfUserTrueIfRobTop && m_level-> m_levelType == GJLevelType::Main ) coinsCollectedLabel->setColor ({255 , 215 , 0 });
251252 else {
252- if (m_level->m_levelType == GJLevelType::Editor || m_level->m_coinsVerified .value () == 0 ) coinsCollectedLabel->setColor ({255 , 215 , 0 });
253+ if (m_level->m_levelType == GJLevelType::Editor || ( m_level->m_levelType != GJLevelType::Editor && m_level-> m_coinsVerified .value () == 0 )) coinsCollectedLabel->setColor ({235 , 235 , 235 });
253254 else coinsCollectedLabel->setColor ({165 , 110 , 50 });
254255 }
255256
256257 coinsCollectedLabel->setID (" collected-coins-label" _spr);
257258 coinsCollectedLabel->setTag (8052025 );
258- coinsCollectedLabel->setScale (.75f );
259+ coinsCollectedLabel->setScale (.65f );
259260 coinsCollectedLabel->setColor ({235 , 235 , 235 });
260261 coinsCollectedLabel->setPosition (newBestNodeProbably->getContentSize () / 2 .f );
261262 coinsCollectedLabel->setPositionY (coinsCollectedLabel->getPositionY () - 90 .f );
0 commit comments