Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion assets/base_game/shared/characters/monster-christmas.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,4 @@
],
"sing_duration": 4,
"scale": 1
}
}
2 changes: 1 addition & 1 deletion assets/base_game/shared/characters/monster.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,4 @@
],
"sing_duration": 4,
"scale": 1
}
}
3 changes: 3 additions & 0 deletions source/objects/Note.hx
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,9 @@ class Note extends FlxSprite

this.prevNote = prevNote;
isSustainNote = sustainNote;
if (isSustainNote) {
noAnimation = true;
}
this.inEditor = inEditor;
this.moves = false;

Expand Down
12 changes: 12 additions & 0 deletions source/states/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -3323,6 +3323,12 @@ class PlayState extends MusicBeatState
spawnHoldSplashOnNote(note);

if (!note.isSustainNote) invalidateNote(note);

if (note.gfNote || note.noteType == 'GF Sing') {
gf.holdTimer = 0;
} else {
dad.holdTimer = 0;
}
}

public function goodNoteHit(note:Note):Void
Expand Down Expand Up @@ -3431,6 +3437,12 @@ class PlayState extends MusicBeatState
if(result != LuaUtils.Function_Stop && result != LuaUtils.Function_StopHScript && result != LuaUtils.Function_StopAll) callOnHScript('goodNoteHit', [note]);
spawnHoldSplashOnNote(note);
if(!note.isSustainNote) invalidateNote(note);

if (note.gfNote || note.noteType == 'GF Sing') {
gf.holdTimer = 0;
} else {
boyfriend.holdTimer = 0;
}
}

public function invalidateNote(note:Note):Void {
Expand Down