Merge pull request #1083 from ActualMandM/kade-nyaa

fix mom camera
This commit is contained in:
Kade M 2021-06-29 15:17:11 -07:00 committed by GitHub
commit 995cf9a3cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2318,18 +2318,12 @@ class PlayState extends MusicBeatState
switch (dad.curCharacter)
{
case 'mom':
case 'mom' | 'mom-car':
camFollow.y = dad.getMidpoint().y;
case 'senpai':
camFollow.y = dad.getMidpoint().y - 430;
camFollow.x = dad.getMidpoint().x - 100;
case 'senpai-angry':
case 'senpai' | 'senpai-angry':
camFollow.y = dad.getMidpoint().y - 430;
camFollow.x = dad.getMidpoint().x - 100;
}
if (dad.curCharacter == 'mom')
vocals.volume = 1;
}
if (PlayState.SONG.notes[Std.int(curStep / 16)].mustHitSection && camFollow.x != boyfriend.getMidpoint().x - 100)