@@ -82,7 +82,7 @@ public OuiJournalCollabProgressInOverworld(OuiJournal journal)
8282 int lobbyTotalStrawberries = areaData . Mode [ 0 ] . TotalStrawberries ;
8383 int lobbyDeaths = item . Modes [ 0 ] . Deaths ;
8484 int lobbySumOfBestDeaths = 0 ;
85- int lobbySumOfBestDashes = 0 ;
85+ int lobbySumOfBestDashes = OuiJournalCollabProgressDashCountMod . DisplaysTotalDashes ( ) ? OuiJournalCollabProgressDashCountMod . GetLevelDashesForJournalProgress ( item ) : 0 ;
8686 long lobbyTotalTime = item . TotalTimePlayed ;
8787 long lobbySumOfBestTimes = 0 ;
8888 bool lobbyLevelsDone = true ;
@@ -125,7 +125,7 @@ public OuiJournalCollabProgressInOverworld(OuiJournal journal)
125125 lobbySumOfBestDeaths += lobbyMap . Modes [ 0 ] . BestDeaths ;
126126 }
127127
128- lobbySumOfBestDashes += lobbyMap . Modes [ 0 ] . BestDashes ;
128+ lobbySumOfBestDashes += OuiJournalCollabProgressDashCountMod . GetLevelDashesForJournalProgress ( lobbyMap ) ;
129129
130130 if ( ! lobbyMap . Modes [ 0 ] . HeartGem ) {
131131 lobbyLevelsDone = false ;
@@ -174,22 +174,24 @@ public OuiJournalCollabProgressInOverworld(OuiJournal journal)
174174 } else {
175175 row . Add ( new IconCell ( "dot" ) ) ;
176176 }
177-
178- if ( OuiJournalCollabProgressDashCountMod . IsDashCountEnabled ( ) ) {
179- if ( lobbyMapLevelSet == null ) {
180- row . Add ( new TextCell ( Dialog . Deaths ( item . Modes [ 0 ] . BestDashes ) , TextJustify , 0.5f , TextColor ) ) ;
181- sumOfBestDashes += item . Modes [ 0 ] . BestDashes ;
182- } else if ( lobbyAllMapsCompletedInSingleRun ) {
183- row . Add ( new TextCell ( Dialog . Deaths ( lobbySumOfBestDashes ) , TextJustify , 0.5f , TextColor ) ) ;
184- } else {
185- row . Add ( new IconCell ( "dot" ) ) ;
186- }
187- }
188177 } else {
189178 row . Add ( new IconCell ( "dot" ) ) ;
190179 allLevelsDone = false ;
180+ }
191181
192- if ( OuiJournalCollabProgressDashCountMod . IsDashCountEnabled ( ) ) {
182+
183+ if ( OuiJournalCollabProgressDashCountMod . IsDashCountEnabled ( ) ) {
184+ if ( lobbyMapLevelSet == null ) {
185+ if ( ( OuiJournalCollabProgressDashCountMod . DisplaysTotalDashes ( ) && item . TotalTimePlayed > 0 ) || item . Modes [ 0 ] . SingleRunCompleted ) {
186+ row . Add ( new TextCell ( Dialog . Deaths ( OuiJournalCollabProgressDashCountMod . GetLevelDashesForJournalProgress ( item ) ) ,
187+ TextJustify , 0.5f , TextColor ) ) ;
188+ sumOfBestDashes += OuiJournalCollabProgressDashCountMod . GetLevelDashesForJournalProgress ( item ) ;
189+ } else {
190+ row . Add ( new IconCell ( "dot" ) ) ;
191+ }
192+ } else if ( ( OuiJournalCollabProgressDashCountMod . DisplaysTotalDashes ( ) && item . TotalTimePlayed > 0 ) || lobbyAllMapsCompletedInSingleRun ) {
193+ row . Add ( new TextCell ( Dialog . Deaths ( lobbySumOfBestDashes ) , TextJustify , 0.5f , TextColor ) ) ;
194+ } else {
193195 row . Add ( new IconCell ( "dot" ) ) ;
194196 }
195197 }
@@ -238,7 +240,8 @@ public OuiJournalCollabProgressInOverworld(OuiJournal journal)
238240 . Add ( new TextCell ( allLevelsDone && allMapsCompletedInSingleRun ? Dialog . Deaths ( sumOfBestDeaths ) : "-" , TextJustify , 0.6f , TextColor ) ) ;
239241
240242 if ( OuiJournalCollabProgressDashCountMod . IsDashCountEnabled ( ) ) {
241- totalsRow . Add ( new TextCell ( allLevelsDone && allMapsCompletedInSingleRun ? Dialog . Deaths ( sumOfBestDashes ) : "-" , TextJustify , 0.6f , TextColor ) ) ;
243+ totalsRow . Add ( new TextCell ( OuiJournalCollabProgressDashCountMod . DisplaysTotalDashes ( ) || ( allLevelsDone && allMapsCompletedInSingleRun ) ?
244+ Dialog . Deaths ( sumOfBestDashes ) : "-" , TextJustify , 0.6f , TextColor ) ) ;
242245 }
243246
244247 totalsRow
0 commit comments