Lol, even I need help sometimes! Okay, I want the map bgm to continue after a battle is over. I don
I've requested this several times before, and no one ever even tried to help. Maybe you'll get lucky this time. :|
I will try it again everytime I have some free time. It is simple, I just need to find the catch...
What I
I don't have RMXP anymore anyway, so.... :mrgreen:
Lol, right! I forgot!
:mrgreen: *throws rocks at Blizzard*
Ouch!
This is rather simple, it just involves placing these two lines:
$game_system.bgm_memorize & $game_system.bgm_restore
in the proper places.
Just place this above main, it SHOULD work -
[code]class Scene_Map
#--------------------------------------------------------------------------
# * Battle Call
#--------------------------------------------------------------------------
def call_battle
# Clear battle calling flag
$game_temp.battle_calling = false
# Clear menu calling flag
$game_temp.menu_calling = false
$game_temp.menu_beep = false
# Make encounter count
$game_player.make_encounter_count
# Memorize map BGM and stop BGM
$game_temp.map_bgm = $game_system.playing_bgm
$game_system.bgm_memorize
$game_system.bgm_stop
# Play battle start SE
$game_system.se_play($data_system.battle_start_se)
# Play battle BGM
$game_system.bgm_play($game_system.battle_bgm)
# Straighten player position
$game_player.straighten
# Switch to battle screen
$scene = Scene_Battle.new
end
end
class Scene_Battle
#--------------------------------------------------------------------------
# * Battle Ends
#
Lol, no! (You think I haven
Erm, actualy it should work, because that's exactly what they do, they store the position in the bgm.
It's how it's set up in Interpreter as well.
Are you sure you weren't just putting them in the wrong place?
B/c is you put it in the wrong place, it could memorize the music, play it from the saved spot, then play it automaticly from the begining if you put it in the wrong place.
EDIT: that and you just said $game_system.bgm_play, I'm talking about restore :wink:
Hm... I
Well I'll be darned, it doesn't work lol. I betcha I know why. It's either because the scene changed and the data was changed from within, or it's the fact that rmxp doesn't have dynamic audio controlls.
It's most likely the former, but there are people working on programming through the use of the RGSS dynamic audio controlls.
No, I tried to make the variabes global and it also didn