mirror of
https://github.com/Melon-Bread/Pet.GB
synced 2024-11-28 13:58:20 -05:00
Added new egg animations
This commit is contained in:
parent
02590653d3
commit
ca98d16778
Binary file not shown.
Before Width: | Height: | Size: 403 B After Width: | Height: | Size: 1.4 KiB |
Binary file not shown.
Before Width: | Height: | Size: 889 B After Width: | Height: | Size: 1.1 KiB |
@ -67,16 +67,21 @@ class PlayState extends FlxState
|
|||||||
if (_infoMenu.visible)
|
if (_infoMenu.visible)
|
||||||
{
|
{
|
||||||
_gelPet.active = false;
|
_gelPet.active = false;
|
||||||
_gelPet._clock.pause(true);
|
_clock.pause(true);
|
||||||
_hud.active = false;
|
_hud.active = false;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
_gelPet.active = true;
|
_gelPet.active = true;
|
||||||
_gelPet._clock.pause(false);
|
_clock.pause(false);
|
||||||
_hud.active = true;
|
_hud.active = true;
|
||||||
saveGame();
|
saveGame();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (_gelPet.CurrentMood == Gel.Mood.EXCITED || _gelPet.CurrentMood == Gel.Mood.ASHAMED)
|
||||||
|
_clock.pause();
|
||||||
|
else
|
||||||
|
_clock.pause(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
private function saveGame()
|
private function saveGame()
|
||||||
|
Loading…
Reference in New Issue
Block a user