if $game_map.map_id != $game_temp.player_new_map_id
a = $game_player.x
b = $game_player.y
$game_map.events[3].moveto(a+1, b)
end作者: joe5491 时间: 2013-7-18 16:27
你要寫在最後面....
你這樣的話是在主角移動前,先把地圖的三號事件移過來,但是換場景後就無意義了....
def transfer_player
#OOXX~~~
#OOXX~~~
#OOXX~~~RM內建的程式碼
#OOXX~~~
#OOXX~~~
if $game_map.map_id != $game_temp.player_new_map_id
a = $game_player.x
b = $game_player.y
$game_map.events[3].moveto(a+1, b)
end
end作者: 乱摸阿弥陀佛 时间: 2013-7-19 10:25 本帖最后由 乱摸阿弥陀佛 于 2013-7-19 10:29 编辑