本帖最后由 刺夜之枪 于 2015-4-27 19:44 编辑
e1 = $game_map.events[1] e2 = $game_map.events[2] pl = $game_player if e1.x == pl.x and e1.y == pl.y $game_temp.common_event_id = 1 end if e2.x == pl.x and e2.y == pl.y $game_temp.common_event_id = 2 end
e1 = $game_map.events[1]
e2 = $game_map.events[2]
pl = $game_player
if e1.x == pl.x and e1.y == pl.y
$game_temp.common_event_id = 1
end
if e2.x == pl.x and e2.y == pl.y
$game_temp.common_event_id = 2
end
事件里第三页 脚本插入 |