• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Akari, Red, Kris, May - which Pokémon protagonist is your favorite? Let us know by voting in our semifinal favorite protagonist poll!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Question] Pokemon Essentials: My roaming Pokemon is getting stuck on a map it shouldn't even be on.

  • 12
    Posts
    2
    Years
    • Seen Oct 9, 2022
    I've switched the areas Entei can roam to 4 of my own maps but every time I flip his switch he goes strait to the same premade map from Essentials and doesn't update his location even in the debug menu when I hit "All roam to new locations." For some reason tho, when I hit "clear all current roamer locations" and then leave the area he starts to roam properly. I've watched Thundaga's tutorial on roamers and I am doing the exact same thing as he is but for some reason when ever I turn Entei's switch the debug menu shows this map instead of "map not set". I have been trying different stuff for about an hour and an super frustrated. Any help would be appreciated.
    Here is my code:

    I even took out the code of the other roaming area's but he continues to go to map 44.

    ROAMING_AREAS = {
    # 5 => [ 21, 28, 31, 39, 41, 44, 47, 66, 69],
    # 21 => [5, 28, 31, 39, 41, 44, 47, 66, 69],
    # 28 => [5, 21, 31, 39, 41, 44, 47, 66, 69],
    # 31 => [5, 21, 28, 39, 41, 44, 47, 66, 69],
    # 39 => [5, 21, 28, 31, 41, 44, 47, 66, 69],
    # 41 => [5, 21, 28, 31, 39, 44, 47, 66, 69],
    # 44 => [5, 21, 28, 31, 39, 41, 47, 66, 69],
    # 47 => [5, 21, 28, 31, 39, 41, 44, 66, 69],
    # 66 => [5, 21, 28, 31, 39, 41, 44, 47, 69],
    # 69 => [5, 21, 28, 31, 39, 41, 44, 47, 66 ],
    79 => [85, 88, 86],
    85 => [79, 88, 86],
    88 => [85, 79, 86],
    86 => [85, 79, 88]
    }
    # A set of arrays, each containing the details of a roaming Pokémon. The
    # information within each array is as follows:
    # * Species.
    # * Level.
    # * Game Switch; the Pokémon roams while this is ON.
    # * Encounter type (0=any, 1=grass/walking in cave, 2=surfing, 3=fishing,
    # * Name of BGM to play for that encounter (optional).
    # * Roaming areas specifically for this Pokémon (optional).
    ROAMING_SPECIES = [
    [:ENTEI, 40, 55, 0, nil, {
    79 => [85, 88, 86],
    85 => [79, 88, 86],
    88 => [85, 79, 86],
    86 => [85, 79, 88],
    }]
    ]
     
    Ah hey burningplain. That could have been the problem but for whatever reason when I changed the formatting to more closely resemble the original code, with spaces and having the numbers in order, it just worked. Kinda weird but I'm not gunna question it.
     
    Back
    Top