Skip to content

Commit

Permalink
Remove title screen code skip code
Browse files Browse the repository at this point in the history
  • Loading branch information
krypciak committed Nov 25, 2024
1 parent 7a6ae88 commit b1d6358
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,34 +43,6 @@ export default class CCInstanceinator implements PluginClass {
}),
}

sc.TitleScreenGui.inject({
init(...args) {
this.parent(...args)
if (true) {
this.introGui.timeLine = [{ time: 0, end: true }]
// @ts-expect-error
this.bgGui.parallax.addLoadListener({
onLoadableComplete: () => {
let { timeLine } = this.bgGui
// @ts-expect-error
let idx = timeLine.findIndex(item => item.time > 0)
if (idx < 0) idx = timeLine.length
timeLine.splice(idx, 0, { time: 0, goto: 'INTRO_SKIP_NOSOUND' })
},
})
this.removeChildGui(this.startGui)
// @ts-expect-error
this.startGui = {
show: () => {
ig.interact.removeEntry(this.screenInteract)
this.buttons.show()
},
hide: () => {},
}
}
},
})

let counter = 0
ig.System.inject({
run() {
Expand Down

0 comments on commit b1d6358

Please sign in to comment.