Other Check map ID from event

This thread does not pertain to a related version of Pokémon Essentials.

BiggusWeeabus

"What's so funny about Biggus Dickus?"
Member
Joined
Sep 1, 2020
Posts
100
Age
22
I need a parallel process to check the ID of the map the player is currently located. Is there a script call or something i can use for it, or do i need to set up a variable myself?
 
Solution
$game_map.map_id should return the map ID of the map the player is on. It will return a number which can be used in conditional branches or script command
Code:
if $game_map.map_id == 69
  p "You're on Map 69"
end

Golisopod User

Elite Trainer
Member
Joined
May 11, 2020
Posts
319
$game_map.map_id should return the map ID of the map the player is on. It will return a number which can be used in conditional branches or script command
Code:
if $game_map.map_id == 69
  p "You're on Map 69"
end
 
Solution
Top