@@ -103,24 +103,26 @@ EX void showOverview() {
103103 displayfrZ (1 , i0, 1 , vf-4 , " *" , forecolor, 0 );
104104 if (displayfrZH (xr*1 , i0, 1 , vf-4 , XLAT1 (linf[l].name ), col, 0 ))
105105 getcstat = 1000 + l;
106+ int c8 = (vf+2 )/3 ;
106107 eItem it = treasureType (l);
107108 int lv = items[it] * landMultiplier (l);
108- if (lv >= 25 ) col = 0xFFD500 ;
109- else if (lv && it == itSavedPrincess) col = 0xFFD500 ;
110- else if (lv >= 10 ) col = 0x00D500 ;
111- else if (items[it]) col = 0xC0C0C0 ;
112- else col = BLACKISH;
113- int c8 = (vf+2 )/3 ;
114- if (displayfrZH (xr*24 -c8*6 , i0, 1 , vf-4 , (required_for_hyperstones (it) ? " " : " *" ) + its (items[it]), col, 16 ))
115- getcstat = 2000 +it;
116- if (!cheater)
117- if (displayfrZH (xr*24 , i0, 1 , vf-4 , its (hiitems[modecode ()][it]), col, 16 ))
118- getcstat = 2000 +it;
119- if (items[it]) col = iinf[it].color ; else col = BLACKISH;
120- if (displayfrZH (xr*24 +c8*4 , i0, 1 , vf-4 , s0 + iinf[it].glyph , col, 16 ))
121- getcstat = 2000 +it;
122- if (displayfrZH (xr*24 +c8*5 , i0, 1 , vf-4 , XLAT1 (iinf[it].name ), col, 0 ))
123- getcstat = 2000 +it;
109+ if (it) {
110+ if (lv >= 25 ) col = 0xFFD500 ;
111+ else if (lv && it == itSavedPrincess) col = 0xFFD500 ;
112+ else if (lv >= 10 ) col = 0x00D500 ;
113+ else if (items[it]) col = 0xC0C0C0 ;
114+ else col = BLACKISH;
115+ if (displayfrZH (xr*24 -c8*6 , i0, 1 , vf-4 , (required_for_hyperstones (it) ? " " : " *" ) + its (items[it]), col, 16 ))
116+ getcstat = 2000 +it;
117+ if (!cheater)
118+ if (displayfrZH (xr*24 , i0, 1 , vf-4 , its (hiitems[modecode ()][it]), col, 16 ))
119+ getcstat = 2000 +it;
120+ if (items[it]) col = iinf[it].color ; else col = BLACKISH;
121+ if (displayfrZH (xr*24 +c8*4 , i0, 1 , vf-4 , s0 + iinf[it].glyph , col, 16 ))
122+ getcstat = 2000 +it;
123+ if (displayfrZH (xr*24 +c8*5 , i0, 1 , vf-4 , XLAT1 (iinf[it].name ), col, 0 ))
124+ getcstat = 2000 +it;
125+ }
124126 eItem io = nativeOrbType (l);
125127 if (io == itShard) {
126128 if (items[it] >= 10 ) col = winf[waMirror].color ; else col = BLACKISH;
@@ -329,7 +331,7 @@ EX void showCreative() {
329331 dialog::cheat_if_confirmed ([] {
330332 cheater++;
331333 pushScreen (mapeditor::showMapEditor);
332- lastexplore = turncount;
334+ lastexplore = shmup::on ? shmup::curtime : turncount;
333335 addMessage (XLAT (" You activate your terraforming powers!" ));
334336 });
335337 });
0 commit comments