fix mom camera
also: - optimize switch case - remove unnecessary code
This commit is contained in:
parent
0f73f070f7
commit
8a8cf2cc78
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user