Added flag check for dream 2

Will probably add more checks as dreams 3 and 4 are done
This commit is contained in:
Michael Shirt 2016-09-28 22:41:34 -06:00
parent 9514e2dfa3
commit 6c1f0f8bf4
1 changed files with 2 additions and 2 deletions

View File

@ -61,9 +61,9 @@ end
def real_load def real_load
load load
# Restore BGM and BGS # Restore BGM and BGS
# switch 181 means its time for a dream, so no BGM # switch 181 or 183 means its time for a dream, so no BGM
if !$game_switches[181] if !($game_switches[181] || $game_switches[183])
$game_system.bgm_play($game_system.playing_bgm) $game_system.bgm_play($game_system.playing_bgm)
$game_system.bgs_play($game_system.playing_bgs) $game_system.bgs_play($game_system.playing_bgs)
end end