• 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!
  • 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.

[Other✓] Script warp problem?

  • 109
    Posts
    11
    Years
    So I was scripting, and everything was going well...until the warp nations attacked. It warps me to a black map I can't do anything. And yes 3.66 is a map.

    Spoiler:
     
    That is not the issue. warpmuted is a command. The issue, assuming you are warping to map 3.66 (as it says in Advanced Map) is that you are not using hexadecimal in the script.

    The real command should look like this:
    Code:
    warpmuted 0x3 0x42 0x1 0x0 0x0

    You're telling it to warp to map 0x66, which would actually be map 102 in decimal (3.102 in Advanced Map).
     
    That is not the issue. warpmuted is a command. The issue, assuming you are warping to map 3.66 (as it says in Advanced Map) is that you are not using hexadecimal in the script.

    The real command should look like this:
    Code:
    warpmuted 0x3 0x42 0x1 0x0 0x0

    You're telling it to warp to map 0x66, which would actually be map 102 in decimal (3.102 in Advanced Map).

    Well the dialogue and everything goes through and it teleports me....to somewhere. It ends up teleporting me to an ocean and I cant move in any direction. I thought at first it teleported me to the water on the side of the map but when I changed movement permissions I still couldnt move anywhere.
    [PokeCommunity.com] Script warp problem?
     
    That's probably because the game couldn't find a warp event at the specified location.

    There are two ways you can go about doing this warp:

    1. You warp to a warp event:
    Code:
    warp 0x3 0x42 0x<warp#> 0x<warpX> 0x<warpY>
    2. You warp to a specific (X, Y) location:
    Code:
    warpmuted 0x3 0x42 0xFF 0x<X> 0x<Y>

    If you use the first method, make sure the command matches the warp's info exactly, or it won't work. You can get the (X, Y) from Advanced Map.
     
    That's probably because the game couldn't find a warp event at the specified location.

    There are two ways you can go about doing this warp:

    1. You warp to a warp event:
    Code:
    warp 0x3 0x42 0x<warp#> 0x<warpX> 0x<warpY>
    2. You warp to a specific (X, Y) location:
    Code:
    warpmuted 0x3 0x42 0xFF 0x<X> 0x<Y>

    If you use the first method, make sure the command matches the warp's info exactly, or it won't work. You can get the (X, Y) from Advanced Map.

    Are you sure? I always use 0x0 for both the X and Y coordinate of the command "warp" and it works just fine
     
    Back
    Top