well, i dont really understand what you meant makeamedget ,
but what i did is by the bottom in def_transfer player , where on line 302 where i had the prblem... well i delte that line
" @spriteset.dispose" (that thing)
and when i tried to see if it worked, i got a problem 2 lines down ....
saying
"@mini_map.dispose " (that thing)
so, i thought to delete that... well i did... and It WORK!!!!
except.....
now, the cursor on the world map thing, when i exit, the cursor still there......
heres a screen shot of what i mean
Pic 1
Pic 2
Pic 3
And that cursor just stays there...
Help.....
Here is the script of my scene_map ...... now, when i delted the stufff
CODE
#==============================================================================
# â– Show Map .name
#------------------------------------------------------------------------------
#  shows map name
#==============================================================================
class Game_Map
def name
$map_infos[@map_id]
end
end
class Scene_Title
$map_infos = load_data("Data/MapInfos.rxdata")
for key in $map_infos.keys
$map_infos[key] = $map_infos[key].name
end
end
#==============================================================================
# â– Scene_Map
#------------------------------------------------------------------------------
#  einige edits für minimap, von markusmks
# 1) line 1-18
# 2) line 43
# 3) line 65
# 4) line 85-89
# 5) line 304-305
#
# Diese Codes in schon editierte Scene_Maps einfügen, oder wenn man nichts
# editiert hat, einfach Scene_Map ersetzen
#==============================================================================
class Scene_Map
#--------------------------------------------------------------------------
# â—? メイン処ç?â€
#--------------------------------------------------------------------------
def main
# スプライトãâ
€šÂ»Ã£Æ’ƒãƒˆã‚’作æˆ?
@spriteset = Spriteset_Map.new
# メッセージãâ€
¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚â€
™Ã¤Â½Å“æˆ?
@message_window = Window_Message.new
@mini_map = MiniMapScript.new
# トランジシãƒ
§Ã£Æ’³å®Ÿè¡Œ
Graphics.transition
# メインルーãƒâ
”
loop do
# ゲームçâ€Â»Ã©?¢ã‚’æ›´æ–°
Graphics.update
# 入力情報を更新
Input.update
# フレーム更新
update
# çâ€Â»Ã©?¢ã?Œåˆ‡ã‚Šæ›¿ã‚?ã?£ã?Ÿã‚‰ãƒ«ãƒ¼ãƒ—ã‚â
™Ã¤Â¸Âæ–Â
if $scene != self
break
end
end
# トランジシãƒ
§Ã£Æ’³æº–å‚™
Graphics.freeze
# スプライトãâ
€šÂ»Ã£Æ’ƒãƒˆã‚’解æâ€
¾
@spriteset.dispose
# メッセージãâ€
¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚â€
™Ã¨Â§Â£Ã¦â€Â¾
@message_window.dispose
@mini_map.dispose
# タイトルçâ€Â»Ã©?¢ã?«åˆ‡ã‚Šæ›¿ã?ˆä¸Âã?®å ´å?ˆ
if $scene.is_a?(Scene_Title)
# çâ€Â»Ã©?¢ã‚’フェーãƒâ
°Ã£â€šÂ¢Ã£â€šÂ¦Ã£Æ’ˆ
Graphics.transition
Graphics.freeze
end
end
#--------------------------------------------------------------------------
# � フレーム更新
#--------------------------------------------------------------------------
def update
# ループ
loop do
# マップã€?インタプリãâ
šÂ¿Ã£â‚¬?プレイヤーã?®é †ã?«æ›´æ–°
# (ã?“ã?®æ›´æ–°é †åº?ã?¯ã€?イベントをÃ
®Ÿè¡Œã?™ã‚‹æ?¡ä»¶ã?Œæº€ã?Ÿã?•ã‚Œã?¦ã?„ã‚‹ã?¨ã??ã?«
# プレイヤーã
?«ä¸€çž¬ç§»å‹•ã?™ã‚‹æ©Ÿä¼šã‚’与
ã?ˆã?ªã?„ã?ªã?©ã?®ç?†çâ€Â±Ã£?§é‡?è¦?)
$game_map.update
$game_system.map_interpreter.update
$game_player.update
if @mini_map != nil
@mini_map.update
else
@mini_map = MiniMapScript.new
end
# システム(タイマー)ã€?çâ€Â»Ã©?¢ã‚’æ›´æ–°
$game_system.update
$game_screen.update
# プレイヤーã?®å ´æ‰€ç§»å‹•ä¸Âã?§ã?ªã?‘ã‚Œã?°ãƒ«ãƒ¼ãƒ—ã‚’ä¸ÂÃ
¦â€“Â
unless $game_temp.player_transferring
break
end
# 場所移動をå®
¸Ã¨Â¡Å’
transfer_player
# トランジシãƒ
§Ã£Æ’³å‡¦ç?†ä¸Âã?®å ´å?ˆã€?ループをä¸Âæâ
€“Â
if $game_temp.transition_processing
break
end
end
# スプライトãâ
€šÂ»Ã£Æ’ƒãƒˆã‚’æ›´æâ€
“°
@spriteset.update
# メッセージãâ€
¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚â€
™Ã¦â€ºÂ´Ã¦â€“°
@message_window.update
# ゲームオー�ー�場�
if $game_temp.gameover
# ゲームオーãƒ?ーçâ€Â»Ã©?¢ã?«åˆ‡ã‚Šæ›¿ã?ˆ
$scene = Scene_Gameover.new
return
end
# タイトルçâ€Â»Ã©?¢ã?«æˆ»ã?™å ´å?ˆ
if $game_temp.to_title
# タイトルçâ€Â»Ã©?¢ã?«åˆ‡ã‚Šæ›¿ã?ˆ
$scene = Scene_Title.new
return
end
# トランジシãƒ
§Ã£Æ’³å‡¦ç?†ä¸Âã?®å ´å?ˆ
if $game_temp.transition_processing
# トランジシãƒ
§Ã£Æ’³å‡¦ç?†ä¸Âフラグをã
€šÂ¯Ã£Æ’ªã‚¢
$game_temp.transition_processing = false
# トランジシãƒ
§Ã£Æ’³å®Ÿè¡Œ
if $game_temp.transition_name == ""
Graphics.transition(20)
else
Graphics.transition(40, "Graphics/Transitions/" +
$game_temp.transition_name)
end
end
# メッセージãâ€
¦ã‚£ãƒ³ãƒ‰ã‚¦è¡¨ç
¤ºä¸Âã?®å ´å?ˆ
if $game_temp.message_window_showing
return
end
# エンカウンãƒ
ˆ カウントã?Œ 0 ã?§ã€?エンカウンãƒ
ˆãƒªã‚¹ãƒˆã?Œç©ºã?§ã?¯ã?ªã?„å ´å?ˆ
if $game_player.encounter_count == 0 and $game_map.encounter_list != []
# イベント実è¡Å
’ä¸Âã?‹ã‚¨ãƒ³ã‚«ã‚¦ãƒ³Ã
£Æ’ˆç¦?æ¢ä¸Âã?§ã?ªã?‘ã‚Œã?°
unless $game_system.map_interpreter.running? or
$game_system.encounter_disabled
# トループをæ
±ºå®š
n = rand($game_map.encounter_list.size)
troop_id = $game_map.encounter_list[n]
# トループ�有効�ら
if $data_troops[troop_id] != nil
# ãƒ?トル呼ã?³å‡ºã?—フラグをãâ€
šÂ»Ã£Æ’ƒãƒˆ
$game_temp.battle_calling = true
$game_temp.battle_troop_id = troop_id
$game_temp.battle_can_escape = true
$game_temp.battle_can_lose = false
$game_temp.battle_proc = nil
end
end
end
# B ボタン�押�れ�場�
if Input.trigger?(Input::B)
# イベント実è¡Å
’ä¸Âã?‹ãƒ¡ãƒ‹ãƒ¥ãƒ¼ç¦?æ¢ä¸Âã?§ã?ªã?‘ã‚Œã?°
unless $game_system.map_interpreter.running? or
$game_system.menu_enabled
# メニュー呼ã?³å‡ºã?—フラグã?¨ SE æ¼â€Ã¥Â¥?フラグをセÃ
£Æ’ƒãƒˆ
$game_temp.menu_calling = true
$game_temp.menu_beep = true
end
end
# デãƒ?ッグモードã?Å’ ON ã?‹ã?¤ F9 ã‚Âーã?ŒæŠ¼ã?•ã‚Œã?¦ã?„ã‚‹å ´å?ˆ
if $DEBUG and Input.press?(Input::F9)
# デãƒ?ッグ呼ã?³å‡ºã?—フラグをãâ€
šÂ»Ã£Æ’ƒãƒˆ
$game_temp.debug_calling = true
end
# プレイヤーã?®ç§»å‹•ä¸Âã?§ã?¯ã?ªã?„å ´å?ˆ
unless $game_player.moving?
# Ã¥?„種çâ€Â»Ã©?¢ã?®å‘¼ã?³å‡ºã?—を実行
if $game_temp.battle_calling
call_battle
elsif $game_temp.shop_calling
call_shop
elsif $game_temp.name_calling
call_name
elsif $game_temp.menu_calling
call_menu
elsif $game_temp.save_calling
call_save
elsif $game_temp.debug_calling
call_debug
end
end
end
#--------------------------------------------------------------------------
# � �トル�呼�出�
#--------------------------------------------------------------------------
def call_battle
# ãƒ?トル呼ã?³å‡ºã?—フラグをãâ€
šÂ¯Ã£Æ’ªã‚¢
$game_temp.battle_calling = false
# メニュー呼ã?³å‡ºã?—フラグをãâ€
šÂ¯Ã£Æ’ªã‚¢
$game_temp.menu_calling = false
$game_temp.menu_beep = false
# エンカウンãƒ
ˆ カウントをä
½œæˆ?
$game_player.make_encounter_count
# マップ BGM を記憶ã?—ã€?BGM ã‚’å?Ͼ¢
$game_temp.map_bgm = $game_system.playing_bgm
$game_system.bgm_stop
# ãƒ?トル開始 SE ã‚’æ¼â€Ã¥Â¥?
$game_system.se_play($data_system.battle_start_se)
# ãƒ?トル BGM ã‚’æ¼â€Ã¥Â¥?
$game_system.bgm_play($game_system.battle_bgm)
# プレイヤーã?®å§¿å‹¢ã‚’矯æ£
$game_player.straighten
# ãƒ?トルçâ€Â»Ã©?¢ã?«åˆ‡ã‚Šæ›¿ã?ˆ
$scene = Scene_Battle.new
end
#--------------------------------------------------------------------------
# � ショップ�呼�出�
#--------------------------------------------------------------------------
def call_shop
# ショップ呼ã?³å‡ºã?—フラグをãâ€
šÂ¯Ã£Æ’ªã‚¢
$game_temp.shop_calling = false
# プレイヤーã?®å§¿å‹¢ã‚’矯æ£
$game_player.straighten
# ショップçâ€Â»Ã©?¢ã?«åˆ‡ã‚Šæ›¿ã?ˆ
$scene = Scene_Shop.new
end
#--------------------------------------------------------------------------
# â—? å??å‰?入力ã?®å‘¼ã?³å‡ºã?—
#--------------------------------------------------------------------------
def call_name
# Ã¥??å‰?入力呼ã?³å‡ºã?—フラグをãâ€
šÂ¯Ã£Æ’ªã‚¢
$game_temp.name_calling = false
# プレイヤーã?®å§¿å‹¢ã‚’矯æ£
$game_player.straighten
# Ã¥??å‰?入力çâ€Â»Ã©?¢ã?«åˆ‡ã‚Šæ›¿ã?ˆ
$scene = Scene_Name.new
end
#--------------------------------------------------------------------------
# � メニュー�呼�出�
#--------------------------------------------------------------------------
def call_menu
# メニュー呼ã?³å‡ºã?—フラグをãâ€
šÂ¯Ã£Æ’ªã‚¢
$game_temp.menu_calling = false
# メニュー SE æ¼â€Ã¥Â¥?フラグã?Œã‚»ãƒƒãƒˆã?•ã‚Œã?¦ã?„ã‚‹å ´å?ˆ
if $game_temp.menu_beep
# 決定 SE ã‚’æ¼â€Ã¥Â¥?
$game_system.se_play($data_system.decision_se)
# メニュー SE æ¼â€Ã¥Â¥?フラグをクÃ
£Æ’ªã‚¢
$game_temp.menu_beep = false
end
# プレイヤーã?®å§¿å‹¢ã‚’矯æ£
$game_player.straighten
# メニューçâ€Â»Ã©?¢ã?«åˆ‡ã‚Šæ›¿ã?ˆ
$scene = Scene_Menu.new
end
#--------------------------------------------------------------------------
# � セーブ�呼�出�
#--------------------------------------------------------------------------
def call_save
# プレイヤーã?®å§¿å‹¢ã‚’矯æ£
$game_player.straighten
# セーブçâ€Â»Ã©?¢ã?«åˆ‡ã‚Šæ›¿ã?ˆ
$scene = Scene_Save.new
end
#--------------------------------------------------------------------------
# � デ�ッグ�呼�出�
#--------------------------------------------------------------------------
def call_debug
# デãƒ?ッグ呼ã?³å‡ºã?—フラグをãâ€
šÂ¯Ã£Æ’ªã‚¢
$game_temp.debug_calling = false
# 決定 SE ã‚’æ¼â€Ã¥Â¥?
$game_system.se_play($data_system.decision_se)
# プレイヤーã?®å§¿å‹¢ã‚’矯æ£
$game_player.straighten
# デãƒ?ッグçâ€Â»Ã©?¢ã?«åˆ‡ã‚Šæ›¿ã?ˆ
$scene = Scene_Debug.new
end
#--------------------------------------------------------------------------
# � プレイヤー�場所移動
#--------------------------------------------------------------------------
def transfer_player
# プレイヤー場所移動フãƒÂ
グをクリア
$game_temp.player_transferring = false
# 移動先��在�マップ�異�る場�
if $game_map.map_id != $game_temp.player_new_map_id
# æ–°ã?—ã?„マップをãâ€
»ãƒƒãƒˆã‚¢ãƒƒãƒ—
$game_map.setup($game_temp.player_new_map_id)
end
# プレイヤーã?®ä½?置をè¨Â定
$game_player.moveto($game_temp.player_new_x, $game_temp.player_new_y)
# プレイヤーã?®å?‘ã??ã‚’è¨Â定
case $game_temp.player_new_direction
when 2 # 下
$game_player.turn_down
when 4 # å·¦
$game_player.turn_left
when 6 # å?³
$game_player.turn_right
when 8 # ä¸Å
$game_player.turn_up
end
# プレイヤーã?®å§¿å‹¢ã‚’矯æ£
$game_player.straighten
# マップを更Ã
¦â€“° (並列イベンÃ
ƒˆå®Ÿè¡Œ)
$game_map.update
# スプライトãâ
€šÂ»Ã£Æ’ƒãƒˆã‚’å†?作æˆ?
@spriteset = Spriteset_Map.new
@mini_map = MiniMapScript.new
# トランジシãƒ
§Ã£Æ’³å‡¦ç?†ä¸Âã?®å ´å?ˆ
if $game_temp.transition_processing
# トランジシãƒ
§Ã£Æ’³å‡¦ç?†ä¸Âフラグをã
€šÂ¯Ã£Æ’ªã‚¢
$game_temp.transition_processing = false
# トランジシãƒ
§Ã£Æ’³å®Ÿè¡Œ
Graphics.transition(20)
end
# マップã?«è¨Â定ã?•ã‚Œã?¦ã?„ã‚‹ BGM ã?¨ BGS ã?®è‡ªå‹•åˆ‡ã‚Šæ›¿ã?ˆã‚’実行
$game_map.autoplay
# フレームリセット
Graphics.frame_reset
# 入力情報を更新
Input.update
end
end
# â– Show Map .name
#------------------------------------------------------------------------------
#  shows map name
#==============================================================================
class Game_Map
def name
$map_infos[@map_id]
end
end
class Scene_Title
$map_infos = load_data("Data/MapInfos.rxdata")
for key in $map_infos.keys
$map_infos[key] = $map_infos[key].name
end
end
#==============================================================================
# â– Scene_Map
#------------------------------------------------------------------------------
#  einige edits für minimap, von markusmks
# 1) line 1-18
# 2) line 43
# 3) line 65
# 4) line 85-89
# 5) line 304-305
#
# Diese Codes in schon editierte Scene_Maps einfügen, oder wenn man nichts
# editiert hat, einfach Scene_Map ersetzen
#==============================================================================
class Scene_Map
#--------------------------------------------------------------------------
# â—? メイン処ç?â€
#--------------------------------------------------------------------------
def main
# スプライトãâ
€šÂ»Ã£Æ’ƒãƒˆã‚’作æˆ?
@spriteset = Spriteset_Map.new
# メッセージãâ€
¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚â€
™Ã¤Â½Å“æˆ?
@message_window = Window_Message.new
@mini_map = MiniMapScript.new
# トランジシãƒ
§Ã£Æ’³å®Ÿè¡Œ
Graphics.transition
# メインルーãƒâ
”
loop do
# ゲームçâ€Â»Ã©?¢ã‚’æ›´æ–°
Graphics.update
# 入力情報を更新
Input.update
# フレーム更新
update
# çâ€Â»Ã©?¢ã?Œåˆ‡ã‚Šæ›¿ã‚?ã?£ã?Ÿã‚‰ãƒ«ãƒ¼ãƒ—ã‚â
™Ã¤Â¸Âæ–Â
if $scene != self
break
end
end
# トランジシãƒ
§Ã£Æ’³æº–å‚™
Graphics.freeze
# スプライトãâ
€šÂ»Ã£Æ’ƒãƒˆã‚’解æâ€
¾
@spriteset.dispose
# メッセージãâ€
¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚â€
™Ã¨Â§Â£Ã¦â€Â¾
@message_window.dispose
@mini_map.dispose
# タイトルçâ€Â»Ã©?¢ã?«åˆ‡ã‚Šæ›¿ã?ˆä¸Âã?®å ´å?ˆ
if $scene.is_a?(Scene_Title)
# çâ€Â»Ã©?¢ã‚’フェーãƒâ
°Ã£â€šÂ¢Ã£â€šÂ¦Ã£Æ’ˆ
Graphics.transition
Graphics.freeze
end
end
#--------------------------------------------------------------------------
# � フレーム更新
#--------------------------------------------------------------------------
def update
# ループ
loop do
# マップã€?インタプリãâ
šÂ¿Ã£â‚¬?プレイヤーã?®é †ã?«æ›´æ–°
# (ã?“ã?®æ›´æ–°é †åº?ã?¯ã€?イベントをÃ
®Ÿè¡Œã?™ã‚‹æ?¡ä»¶ã?Œæº€ã?Ÿã?•ã‚Œã?¦ã?„ã‚‹ã?¨ã??ã?«
# プレイヤーã
?«ä¸€çž¬ç§»å‹•ã?™ã‚‹æ©Ÿä¼šã‚’与
ã?ˆã?ªã?„ã?ªã?©ã?®ç?†çâ€Â±Ã£?§é‡?è¦?)
$game_map.update
$game_system.map_interpreter.update
$game_player.update
if @mini_map != nil
@mini_map.update
else
@mini_map = MiniMapScript.new
end
# システム(タイマー)ã€?çâ€Â»Ã©?¢ã‚’æ›´æ–°
$game_system.update
$game_screen.update
# プレイヤーã?®å ´æ‰€ç§»å‹•ä¸Âã?§ã?ªã?‘ã‚Œã?°ãƒ«ãƒ¼ãƒ—ã‚’ä¸ÂÃ
¦â€“Â
unless $game_temp.player_transferring
break
end
# 場所移動をå®
¸Ã¨Â¡Å’
transfer_player
# トランジシãƒ
§Ã£Æ’³å‡¦ç?†ä¸Âã?®å ´å?ˆã€?ループをä¸Âæâ
€“Â
if $game_temp.transition_processing
break
end
end
# スプライトãâ
€šÂ»Ã£Æ’ƒãƒˆã‚’æ›´æâ€
“°
@spriteset.update
# メッセージãâ€
¦ã‚£ãƒ³ãƒ‰ã‚¦ã‚â€
™Ã¦â€ºÂ´Ã¦â€“°
@message_window.update
# ゲームオー�ー�場�
if $game_temp.gameover
# ゲームオーãƒ?ーçâ€Â»Ã©?¢ã?«åˆ‡ã‚Šæ›¿ã?ˆ
$scene = Scene_Gameover.new
return
end
# タイトルçâ€Â»Ã©?¢ã?«æˆ»ã?™å ´å?ˆ
if $game_temp.to_title
# タイトルçâ€Â»Ã©?¢ã?«åˆ‡ã‚Šæ›¿ã?ˆ
$scene = Scene_Title.new
return
end
# トランジシãƒ
§Ã£Æ’³å‡¦ç?†ä¸Âã?®å ´å?ˆ
if $game_temp.transition_processing
# トランジシãƒ
§Ã£Æ’³å‡¦ç?†ä¸Âフラグをã
€šÂ¯Ã£Æ’ªã‚¢
$game_temp.transition_processing = false
# トランジシãƒ
§Ã£Æ’³å®Ÿè¡Œ
if $game_temp.transition_name == ""
Graphics.transition(20)
else
Graphics.transition(40, "Graphics/Transitions/" +
$game_temp.transition_name)
end
end
# メッセージãâ€
¦ã‚£ãƒ³ãƒ‰ã‚¦è¡¨ç
¤ºä¸Âã?®å ´å?ˆ
if $game_temp.message_window_showing
return
end
# エンカウンãƒ
ˆ カウントã?Œ 0 ã?§ã€?エンカウンãƒ
ˆãƒªã‚¹ãƒˆã?Œç©ºã?§ã?¯ã?ªã?„å ´å?ˆ
if $game_player.encounter_count == 0 and $game_map.encounter_list != []
# イベント実è¡Å
’ä¸Âã?‹ã‚¨ãƒ³ã‚«ã‚¦ãƒ³Ã
£Æ’ˆç¦?æ¢ä¸Âã?§ã?ªã?‘ã‚Œã?°
unless $game_system.map_interpreter.running? or
$game_system.encounter_disabled
# トループをæ
±ºå®š
n = rand($game_map.encounter_list.size)
troop_id = $game_map.encounter_list[n]
# トループ�有効�ら
if $data_troops[troop_id] != nil
# ãƒ?トル呼ã?³å‡ºã?—フラグをãâ€
šÂ»Ã£Æ’ƒãƒˆ
$game_temp.battle_calling = true
$game_temp.battle_troop_id = troop_id
$game_temp.battle_can_escape = true
$game_temp.battle_can_lose = false
$game_temp.battle_proc = nil
end
end
end
# B ボタン�押�れ�場�
if Input.trigger?(Input::B)
# イベント実è¡Å
’ä¸Âã?‹ãƒ¡ãƒ‹ãƒ¥ãƒ¼ç¦?æ¢ä¸Âã?§ã?ªã?‘ã‚Œã?°
unless $game_system.map_interpreter.running? or
$game_system.menu_enabled
# メニュー呼ã?³å‡ºã?—フラグã?¨ SE æ¼â€Ã¥Â¥?フラグをセÃ
£Æ’ƒãƒˆ
$game_temp.menu_calling = true
$game_temp.menu_beep = true
end
end
# デãƒ?ッグモードã?Å’ ON ã?‹ã?¤ F9 ã‚Âーã?ŒæŠ¼ã?•ã‚Œã?¦ã?„ã‚‹å ´å?ˆ
if $DEBUG and Input.press?(Input::F9)
# デãƒ?ッグ呼ã?³å‡ºã?—フラグをãâ€
šÂ»Ã£Æ’ƒãƒˆ
$game_temp.debug_calling = true
end
# プレイヤーã?®ç§»å‹•ä¸Âã?§ã?¯ã?ªã?„å ´å?ˆ
unless $game_player.moving?
# Ã¥?„種çâ€Â»Ã©?¢ã?®å‘¼ã?³å‡ºã?—を実行
if $game_temp.battle_calling
call_battle
elsif $game_temp.shop_calling
call_shop
elsif $game_temp.name_calling
call_name
elsif $game_temp.menu_calling
call_menu
elsif $game_temp.save_calling
call_save
elsif $game_temp.debug_calling
call_debug
end
end
end
#--------------------------------------------------------------------------
# � �トル�呼�出�
#--------------------------------------------------------------------------
def call_battle
# ãƒ?トル呼ã?³å‡ºã?—フラグをãâ€
šÂ¯Ã£Æ’ªã‚¢
$game_temp.battle_calling = false
# メニュー呼ã?³å‡ºã?—フラグをãâ€
šÂ¯Ã£Æ’ªã‚¢
$game_temp.menu_calling = false
$game_temp.menu_beep = false
# エンカウンãƒ
ˆ カウントをä
½œæˆ?
$game_player.make_encounter_count
# マップ BGM を記憶ã?—ã€?BGM ã‚’å?Ͼ¢
$game_temp.map_bgm = $game_system.playing_bgm
$game_system.bgm_stop
# ãƒ?トル開始 SE ã‚’æ¼â€Ã¥Â¥?
$game_system.se_play($data_system.battle_start_se)
# ãƒ?トル BGM ã‚’æ¼â€Ã¥Â¥?
$game_system.bgm_play($game_system.battle_bgm)
# プレイヤーã?®å§¿å‹¢ã‚’矯æ£
$game_player.straighten
# ãƒ?トルçâ€Â»Ã©?¢ã?«åˆ‡ã‚Šæ›¿ã?ˆ
$scene = Scene_Battle.new
end
#--------------------------------------------------------------------------
# � ショップ�呼�出�
#--------------------------------------------------------------------------
def call_shop
# ショップ呼ã?³å‡ºã?—フラグをãâ€
šÂ¯Ã£Æ’ªã‚¢
$game_temp.shop_calling = false
# プレイヤーã?®å§¿å‹¢ã‚’矯æ£
$game_player.straighten
# ショップçâ€Â»Ã©?¢ã?«åˆ‡ã‚Šæ›¿ã?ˆ
$scene = Scene_Shop.new
end
#--------------------------------------------------------------------------
# â—? å??å‰?入力ã?®å‘¼ã?³å‡ºã?—
#--------------------------------------------------------------------------
def call_name
# Ã¥??å‰?入力呼ã?³å‡ºã?—フラグをãâ€
šÂ¯Ã£Æ’ªã‚¢
$game_temp.name_calling = false
# プレイヤーã?®å§¿å‹¢ã‚’矯æ£
$game_player.straighten
# Ã¥??å‰?入力çâ€Â»Ã©?¢ã?«åˆ‡ã‚Šæ›¿ã?ˆ
$scene = Scene_Name.new
end
#--------------------------------------------------------------------------
# � メニュー�呼�出�
#--------------------------------------------------------------------------
def call_menu
# メニュー呼ã?³å‡ºã?—フラグをãâ€
šÂ¯Ã£Æ’ªã‚¢
$game_temp.menu_calling = false
# メニュー SE æ¼â€Ã¥Â¥?フラグã?Œã‚»ãƒƒãƒˆã?•ã‚Œã?¦ã?„ã‚‹å ´å?ˆ
if $game_temp.menu_beep
# 決定 SE ã‚’æ¼â€Ã¥Â¥?
$game_system.se_play($data_system.decision_se)
# メニュー SE æ¼â€Ã¥Â¥?フラグをクÃ
£Æ’ªã‚¢
$game_temp.menu_beep = false
end
# プレイヤーã?®å§¿å‹¢ã‚’矯æ£
$game_player.straighten
# メニューçâ€Â»Ã©?¢ã?«åˆ‡ã‚Šæ›¿ã?ˆ
$scene = Scene_Menu.new
end
#--------------------------------------------------------------------------
# � セーブ�呼�出�
#--------------------------------------------------------------------------
def call_save
# プレイヤーã?®å§¿å‹¢ã‚’矯æ£
$game_player.straighten
# セーブçâ€Â»Ã©?¢ã?«åˆ‡ã‚Šæ›¿ã?ˆ
$scene = Scene_Save.new
end
#--------------------------------------------------------------------------
# � デ�ッグ�呼�出�
#--------------------------------------------------------------------------
def call_debug
# デãƒ?ッグ呼ã?³å‡ºã?—フラグをãâ€
šÂ¯Ã£Æ’ªã‚¢
$game_temp.debug_calling = false
# 決定 SE ã‚’æ¼â€Ã¥Â¥?
$game_system.se_play($data_system.decision_se)
# プレイヤーã?®å§¿å‹¢ã‚’矯æ£
$game_player.straighten
# デãƒ?ッグçâ€Â»Ã©?¢ã?«åˆ‡ã‚Šæ›¿ã?ˆ
$scene = Scene_Debug.new
end
#--------------------------------------------------------------------------
# � プレイヤー�場所移動
#--------------------------------------------------------------------------
def transfer_player
# プレイヤー場所移動フãƒÂ
グをクリア
$game_temp.player_transferring = false
# 移動先��在�マップ�異�る場�
if $game_map.map_id != $game_temp.player_new_map_id
# æ–°ã?—ã?„マップをãâ€
»ãƒƒãƒˆã‚¢ãƒƒãƒ—
$game_map.setup($game_temp.player_new_map_id)
end
# プレイヤーã?®ä½?置をè¨Â定
$game_player.moveto($game_temp.player_new_x, $game_temp.player_new_y)
# プレイヤーã?®å?‘ã??ã‚’è¨Â定
case $game_temp.player_new_direction
when 2 # 下
$game_player.turn_down
when 4 # å·¦
$game_player.turn_left
when 6 # å?³
$game_player.turn_right
when 8 # ä¸Å
$game_player.turn_up
end
# プレイヤーã?®å§¿å‹¢ã‚’矯æ£
$game_player.straighten
# マップを更Ã
¦â€“° (並列イベンÃ
ƒˆå®Ÿè¡Œ)
$game_map.update
# スプライトãâ
€šÂ»Ã£Æ’ƒãƒˆã‚’å†?作æˆ?
@spriteset = Spriteset_Map.new
@mini_map = MiniMapScript.new
# トランジシãƒ
§Ã£Æ’³å‡¦ç?†ä¸Âã?®å ´å?ˆ
if $game_temp.transition_processing
# トランジシãƒ
§Ã£Æ’³å‡¦ç?†ä¸Âフラグをã
€šÂ¯Ã£Æ’ªã‚¢
$game_temp.transition_processing = false
# トランジシãƒ
§Ã£Æ’³å®Ÿè¡Œ
Graphics.transition(20)
end
# マップã?«è¨Â定ã?•ã‚Œã?¦ã?„ã‚‹ BGM ã?¨ BGS ã?®è‡ªå‹•åˆ‡ã‚Šæ›¿ã?ˆã‚’実行
$game_map.autoplay
# フレームリセット
Graphics.frame_reset
# 入力情報を更新
Input.update
end
end
So, can anyone help me????