if ref == true
#self.refresh_map
#$scene.spriteset.character_sprites.delete(sprite)
$game_map.need_refresh = true
for i in $scene.spriteset.character_sprites
if i.character == $game_map.events[event_id]
i.dispose
$scene.spriteset.character_sprites.delete(i)
end
end
end
$game_map.events.delete(event_id)
end
加参数是为了留点尸体 囧