gp = $game_player x = $game_map.round_x_with_direction(gp.x, gp.direction) y = $game_map.round_y_with_direction(gp.y, gp.direction) map_id = $game_map.instance_variable_get(:@map_id) $game_switches[1] = (x == 8 && y == 6 && map_id == 1)
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |