I was wondering if its possible that when a player random encounter in a map they would transfer to another. I want it that when the player encounters enemy Slime in map 001 they get transfered to map 002 without fighting the slime. I saw something like this
but I'm not sure how to make it work.
class Scene_Map
def call_battle
# Configure here:
mapID = 2; mapX = 0; mapY = 0;
# Configure above ^^
@spriteset.update
Graphics.update
Sound.play_battle_start
$game_temp.next_scene = nil
$game_player.reserve_transfer(mapID, mapX, mapY, 2)
end
end
def call_battle
# Configure here:
mapID = 2; mapX = 0; mapY = 0;
# Configure above ^^
@spriteset.update
Graphics.update
Sound.play_battle_start
$game_temp.next_scene = nil
$game_player.reserve_transfer(mapID, mapX, mapY, 2)
end
end