• 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.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • 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.

[Script] Warp script is giving me a blackscreen

__fred__40

fred
  • 277
    Posts
    5
    Years
    I wrote the following script,compiled it and inserted it in a NPC

    Spoiler:


    but after doing all the movements and displaying all the messages correctly the screen just goes black
    the map to which I'm warping the player has no 03 scripts of any sort,it just has some NPC,I'm sure that the maps work because if I use a normal warp from A-Map it gets me there.
    So what could I be missing?
    Should I be using only level scripts with the warp commands?
    thx
     
    Are you sure that map actually exists since that map bank is pretty huge. The base game's banks only go up to 42 (0x2A) so your bank 71 (0x47) is almost twice as big.
     
    Just to add more information to your question. You can actually use decimals with XSE by following this format:

    Code:
    warp 47 1 255 24 40

    After compiling it XSE will convert these values to hex so you don't have to worry about converting to decimal.
     
    Back
    Top