mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 13:44:59 +00:00
Tweaked Jukebox functionality, simplified code relating to night versions of BGMs
This commit is contained in:
@@ -54,12 +54,8 @@ class Scene_Map
|
||||
playingBGS = $game_system.playing_bgs
|
||||
return if !playingBGM && !playingBGS
|
||||
map = load_data(sprintf("Data/Map%03d.rxdata", mapid))
|
||||
if playingBGM && map.autoplay_bgm
|
||||
if (PBDayNight.isNight? rescue false)
|
||||
pbBGMFade(0.8) if playingBGM.name != map.bgm.name && playingBGM.name != map.bgm.name + "_n"
|
||||
elsif playingBGM.name != map.bgm.name
|
||||
pbBGMFade(0.8)
|
||||
end
|
||||
if playingBGM && map.autoplay_bgm && playingBGM.name != map.bgm_name
|
||||
pbBGMFade(0.8)
|
||||
end
|
||||
if playingBGS && map.autoplay_bgs && playingBGS.name != map.bgs.name
|
||||
pbBGMFade(0.8)
|
||||
|
||||
Reference in New Issue
Block a user