Skip to content

Commit

Permalink
fix idk
Browse files Browse the repository at this point in the history
  • Loading branch information
CamLikesKirby committed Jun 7, 2024
1 parent 4b135e8 commit f209646
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 20 deletions.
File renamed without changes.
18 changes: 0 additions & 18 deletions mods/test/data/stages/test.hx

This file was deleted.

4 changes: 2 additions & 2 deletions source/Character.hx
Original file line number Diff line number Diff line change
Expand Up @@ -1291,12 +1291,12 @@ class Character extends FlxSprite
if (jsonCustom.effect != '')
{
var funnyeffect = jsonCustom.effect;
if (funnyeffect == '3dfloat' && !PlayState.funnyFloatyBoys.contains(curCharacter) || !Note.CharactersWith3D.contains(curCharacter)) {
if (funnyeffect == '3dfloat' && !PlayState.funnyFloatyBoys.contains(curCharacter )&& !Note.CharactersWith3D.contains(curCharacter)) {
PlayState.funnyFloatyBoys.push(curCharacter);
Note.CharactersWith3D.push(curCharacter);
} else if (funnyeffect == 'float' && !PlayState.floatyBoysMod.contains(curCharacter)) {
PlayState.floatyBoysMod.push(curCharacter);
} else if (funnyeffect == '3d' && !PlayState.threedBoysMod.contains(curCharacter) || !Note.CharactersWith3D.contains(curCharacter)) {
} else if (funnyeffect == '3d' && !PlayState.threedBoysMod.contains(curCharacter) && !Note.CharactersWith3D.contains(curCharacter)) {
PlayState.threedBoysMod.push(curCharacter);
Note.CharactersWith3D.push(curCharacter);
}
Expand Down
3 changes: 3 additions & 0 deletions source/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -851,6 +851,7 @@ class PlayState extends MusicBeatState
noGFSongs.push(SONG.song.toLowerCase());
}
}

if(SONG.gf != null)
{
gfVersion = SONG.gf;
Expand Down Expand Up @@ -4327,12 +4328,14 @@ class PlayState extends MusicBeatState
{
if (daNote.noteStyle != 'guitarHero') {
sprite.playAnim('confirm', true);

sprite.animation.finishCallback = function(name:String)
{
sprite.playAnim('static', true);
}
} else {
sprite.animation.play('confirm', true);

if (sprite.animation.curAnim.name == 'confirm')
{
sprite.centerOffsets();
Expand Down

0 comments on commit f209646

Please sign in to comment.