Add define for using JP red coin sound (#489)
This commit is contained in:
1 parent
af0982e8d5
commit
aa5df070c0
3 files changed
+13
-10
No files matched your search
@@ -54,10 +54,15 @@ void bhv_red_coin_loop(void) {
|
||||
spawn_orange_number(o->parentObj->oHiddenStarTriggerCounter, 0, 0, 0);
|
||||
}
|
||||
|
||||
#ifdef JP_RED_COIN_SOUND
|
||||
// For JP version, play an identical sound for all coins.
|
||||
create_sound_spawner(SOUND_GENERAL_RED_COIN);
|
||||
#else
|
||||
// On all versions but the JP version, each coin collected plays a higher noise.
|
||||
play_sound(SOUND_MENU_COLLECT_RED_COIN
|
||||
+ (((u8) o->parentObj->oHiddenStarTriggerCounter - 1) << 16),
|
||||
gGlobalSoundSource);
|
||||
#endif
|
||||
}
|
||||
|
||||
coin_collected();
|
||||
|
||||
Reference in new issue
Block a user