fix beatHit and mod folder
This commit is contained in:
parent
13bfee374f
commit
65ca74248e
|
@ -116,7 +116,7 @@
|
||||||
<assets path="assets/stages" library="stages" exclude="*.fla|*.ogg" if="web"/>
|
<assets path="assets/stages" library="stages" exclude="*.fla|*.ogg" if="web"/>
|
||||||
<assets path="assets/stages" library="stages" exclude="*.fla|*.mp3" unless="web"/>
|
<assets path="assets/stages" library="stages" exclude="*.fla|*.mp3" unless="web"/>
|
||||||
|
|
||||||
<template path="example_mods" rename="mods" />
|
<assets path="example_mods" rename="mods" />
|
||||||
|
|
||||||
<assets path='art/readme.txt' rename='do NOT readme.txt' />
|
<assets path='art/readme.txt' rename='do NOT readme.txt' />
|
||||||
<!-- <template path='mods' /> -->
|
<!-- <template path='mods' /> -->
|
||||||
|
|
|
@ -3187,14 +3187,14 @@ class PlayState extends MusicBeatState
|
||||||
|
|
||||||
if (curBeat % 2 == 0)
|
if (curBeat % 2 == 0)
|
||||||
{
|
{
|
||||||
if (getAnimName(boyfriend).startsWith("sing"))
|
if (!boyfriend.animation.curAnim.name.startsWith("sing"))
|
||||||
boyfriend.playAnim('idle');
|
boyfriend.playAnim('idle');
|
||||||
if (getAnimName(dad).startsWith("sing"))
|
if (!dad.animation.curAnim.name.startsWith("sing"))
|
||||||
dad.dance();
|
dad.dance();
|
||||||
}
|
}
|
||||||
else if (dad.curCharacter == 'spooky')
|
else if (dad.curCharacter == 'spooky')
|
||||||
{
|
{
|
||||||
if (getAnimName(dad).startsWith("sing"))
|
if (!dad.animation.curAnim.name.startsWith("sing"))
|
||||||
dad.dance();
|
dad.dance();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3265,9 +3265,6 @@ class PlayState extends MusicBeatState
|
||||||
{
|
{
|
||||||
lightningStrikeShit();
|
lightningStrikeShit();
|
||||||
}
|
}
|
||||||
|
|
||||||
setOnLuas("curBeat",curBeat);
|
|
||||||
callOnLuas('onBeatHit', []);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var curLight:Int = 0;
|
var curLight:Int = 0;
|
||||||
|
|
Loading…
Reference in New Issue