Tentang lagu ato BGM, saya sudah menanyakan d thread lain, bagaimana cara untuk meneruskan lagu map ke dalam battle (Jadi maksudnya, ketika di map play lagu 'A', trus lanjut sampe battle), dan sudah dijawab oleh kk Rusty, dan saya diberi scriptnya SandGolem.
Masalahnya, dan memang uda diperingatin ole kk Rusty, itu script agak (buat saya sih banget) rumit cara pakenya, jadi saya mau tanya bagaimana cara pakai script ini (Uda diutak atik kaga bisa bisa...
Ancurlah pokonya).
Ini codeny:
- Spoiler:
=begin
===============================================================================
#================================================= =========================
# ** SG Optional Battle Music
#================================================= =========================
# sandgolem
# Version 1
# 24.06.06
#================================================= =========================
# Switch number to activate the Even Music
#
#Also note, in Event enabling this switch, change battle win ME to null
Scene_Map::SG_Disable_BattleMusic = 5
#================================================= =========================
#
# To check for updates or find more scripts, visit:
# http://www.gamebaker.com/rmxp/scripts/
#
# To use this script, copy it and insert it in a new section above "Main",
# under the default scripts, and the SDK if you're using it.
#
# Have problems? Official topic:
# http://forums.gamebaker.com/showthread.php?t=13
#
#================================================= =========================
begin
SDK.log('SG Optional Battle Music', 'sandgolem', 1, '24.06.06')
if SDK.enabled?('SG Optional Battle Music') != true
@sg_nobattlebgm_disabled = true
end
rescue
end
if !@sg_nobattlebgm_disabled
#--------------------------------------------------------------------------
class Game_System
alias sandgolem_nobattlebgm_system_bgm bgm_play
def bgm_play(bgm)
if !$sg_keep_music
sandgolem_nobattlebgm_system_bgm(bgm)
end
end
alias sandgolem_nobattlebgm_system_bgmstop bgm_stop
def bgm_stop
if !$sg_keep_music
sandgolem_nobattlebgm_system_bgmstop
end
end
end
class Scene_Map
alias sandgolem_nobattlebgm_map_callbattle call_battle
def call_battle
if $game_switches[SG_Disable_BattleMusic]
$sg_keep_music = true
end
sandgolem_nobattlebgm_map_callbattle
$sg_keep_music = nil
end
end
#--------------------------------------------------------------------------
end
#███████████████████████████████████████████████████████████████████████████████
=end
Tolong kalo bisa bantu saya ya kk2 semua...
Dan maaf kalo ngrepotin...
(sekedar tambahan, thread sebelumnya:
https://rmid.forumotion.net/rmxp-f15/tanya-dong-t2430.htm#39589)