@@ -151,12 +151,12 @@ class CelesteSplitter {
151151 if new. chapterStarted && !old. chapterStarted && !new. chapterComplete {
152152 var event = Event (
153153 . normal( " enter chapter " , specificity: 0 ) ,
154- . normal( " enter chapter \( new. chapter) " , specificity: 0 )
154+ . normal( " enter chapter \( new. chapter) " , specificity: 1 )
155155 )
156156 switch new. mode {
157- case . Normal: event. add ( variant: . normal( " enter a-side \( new. chapter) " , specificity: 0 ) )
158- case . BSide: event. add ( variant: . normal( " enter b-side \( new. chapter) " , specificity: 0 ) )
159- case . CSide: event. add ( variant: . normal( " enter c-side \( new. chapter) " , specificity: 0 ) )
157+ case . Normal: event. add ( variant: . normal( " enter a-side \( new. chapter) " , specificity: 2 ) )
158+ case . BSide: event. add ( variant: . normal( " enter b-side \( new. chapter) " , specificity: 2 ) )
159+ case . CSide: event. add ( variant: . normal( " enter c-side \( new. chapter) " , specificity: 2 ) )
160160 default : break
161161 }
162162
@@ -175,12 +175,12 @@ class CelesteSplitter {
175175 if !new. chapterStarted && old. chapterStarted && !old. chapterComplete {
176176 var event : Event = Event (
177177 . normal( " leave chapter " , specificity: 0 ) ,
178- . normal( " leave chapter \( old. chapter) " , specificity: 0 )
178+ . normal( " leave chapter \( old. chapter) " , specificity: 1 )
179179 )
180180 switch new. mode {
181- case . Normal: event. add ( variant: . normal( " leave a-side \( old. chapter) " , specificity: 0 ) )
182- case . BSide: event. add ( variant: . normal( " leave b-side \( old. chapter) " , specificity: 0 ) )
183- case . CSide: event. add ( variant: . normal( " leave c-side \( old. chapter) " , specificity: 0 ) )
181+ case . Normal: event. add ( variant: . normal( " leave a-side \( old. chapter) " , specificity: 2 ) )
182+ case . BSide: event. add ( variant: . normal( " leave b-side \( old. chapter) " , specificity: 2 ) )
183+ case . CSide: event. add ( variant: . normal( " leave c-side \( old. chapter) " , specificity: 2 ) )
184184 default : break
185185 }
186186
@@ -196,12 +196,12 @@ class CelesteSplitter {
196196 if new. chapterComplete && !old. chapterComplete {
197197 var event : Event = Event (
198198 . normal( " complete chapter " , specificity: 0 ) ,
199- . normal( " complete chapter \( old. chapter) " , specificity: 0 )
199+ . normal( " complete chapter \( old. chapter) " , specificity: 1 )
200200 )
201201 switch new. mode {
202- case . Normal: event. add ( variant: . normal( " complete a-side \( old. chapter) " , specificity: 0 ) )
203- case . BSide: event. add ( variant: . normal( " complete b-side \( old. chapter) " , specificity: 0 ) )
204- case . CSide: event. add ( variant: . normal( " complete c-side \( old. chapter) " , specificity: 0 ) )
202+ case . Normal: event. add ( variant: . normal( " complete a-side \( old. chapter) " , specificity: 2 ) )
203+ case . BSide: event. add ( variant: . normal( " complete b-side \( old. chapter) " , specificity: 2 ) )
204+ case . CSide: event. add ( variant: . normal( " complete c-side \( old. chapter) " , specificity: 2 ) )
205205 default : break
206206 }
207207 events. append ( event)
@@ -213,8 +213,8 @@ class CelesteSplitter {
213213 if new. chapterCassette && !old. chapterCassette {
214214 events. append ( Event (
215215 . normal( " collect cassette " , specificity: 0 ) ,
216- . normal( " collect chapter \( new. chapter) cassette " , specificity: 0 ) ,
217- . normal( " \( new. fileCassettes) total cassettes " , specificity: 0 ) ,
216+ . normal( " collect chapter \( new. chapter) cassette " , specificity: 1 ) ,
217+ . normal( " \( new. fileCassettes) total cassettes " , specificity: 1 ) ,
218218 // compat:
219219 . legacy( " cassette " ) ,
220220 . legacy( " chapter \( new. chapter) cassette " )
@@ -223,8 +223,8 @@ class CelesteSplitter {
223223 if new. chapterHeart && !old. chapterHeart {
224224 events. append ( Event (
225225 . normal( " collect heart " , specificity: 0 ) ,
226- . normal( " collect chapter \( new. chapter) heart " , specificity: 0 ) ,
227- . normal( " \( new. fileHearts) total hearts " , specificity: 0 ) ,
226+ . normal( " collect chapter \( new. chapter) heart " , specificity: 1 ) ,
227+ . normal( " \( new. fileHearts) total hearts " , specificity: 1 ) ,
228228 // compat:
229229 . legacy( " heart " ) ,
230230 . legacy( " chapter \( new. chapter) heart " )
@@ -233,8 +233,8 @@ class CelesteSplitter {
233233 if new. chapterStrawberries > old. chapterStrawberries {
234234 events. append ( Event (
235235 . normal( " collect strawberry " , specificity: 0 ) ,
236- . normal( " \( new. chapterStrawberries) chapter strawberries " , specificity: 0 ) ,
237- . normal( " \( new. fileStrawberries) file strawberries " , specificity: 0 ) ,
236+ . normal( " \( new. chapterStrawberries) chapter strawberries " , specificity: 1 ) ,
237+ . normal( " \( new. fileStrawberries) file strawberries " , specificity: 1 ) ,
238238 // compat:
239239 . legacy( " strawberry " )
240240 ) )
0 commit comments