diff options
Diffstat (limited to '')
| -rw-r--r-- | src/boss.cpp | 16 | 
1 files changed, 13 insertions, 3 deletions
| diff --git a/src/boss.cpp b/src/boss.cpp index 22553ff..9ec7ad3 100644 --- a/src/boss.cpp +++ b/src/boss.cpp @@ -136,13 +136,23 @@ void BossExplode(daBoss *actor, Vec *pos) {  	nw4r::snd::SoundHandle handle;  	PlaySoundWithFunctionB4(SoundRelatedClass, &handle, STRM_BGM_SHIRO_BOSS_CLEAR, 1); -	MakeMarioEnterDemoMode(); + +	//MakeMarioEnterDemoMode(); +	BossGoalForAllPlayers(); +} + +void BossGoalForAllPlayers() { +	for (int i = 0; i < 4; i++) { +		daPlBase_c *player = GetPlayerOrYoshi(i); +		if (player) +			player->setAnimePlayStandardType(2); +	}  }  void PlayerVictoryCries(daBoss *actor) {  	UpdateGameMgr(); -	nw4r::snd::SoundHandle handle1, handle2, handle3, handle4; +	/*nw4r::snd::SoundHandle handle1, handle2, handle3, handle4;  	dAcPy_c *players[4];  	for (int i = 0; i < 4; i++) @@ -155,5 +165,5 @@ void PlayerVictoryCries(daBoss *actor) {  	if (players[2] && strcmp(players[2]->states2.getCurrentState()->getName(), "dAcPy_c::StateID_Balloon"))  		PlaySoundWithFunctionB4(SoundRelatedClass, &handle3, SE_VOC_KO_CLEAR_BOSS, 1);  	if (players[3] && strcmp(players[3]->states2.getCurrentState()->getName(), "dAcPy_c::StateID_Balloon")) -		PlaySoundWithFunctionB4(SoundRelatedClass, &handle4, SE_VOC_KO2_CLEAR_BOSS, 1); +		PlaySoundWithFunctionB4(SoundRelatedClass, &handle4, SE_VOC_KO2_CLEAR_BOSS, 1);*/  } | 
