• 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] Is it not possible to use getplayerpos variables for setmaptile?

  • 11
    Posts
    4
    Years
    • Seen Aug 21, 2024
    Can you not use variables for anything like this?
    (Got the error Define)

    #org @example
    getplayerpos 0x4000 0x4001
    setmaptile 0x4000 0x4001 0x27A 0x0
    sound 0x7C
    special 0x8E
    end
     
    Last edited:
    Can you not use variables for anything like this?
    (Got the error Define)

    #org @example
    getplaypos 0x4000 0x4001
    setmaptile 0x4000 0x4001 0x27A 0x0
    sound 0x7C
    special 0x8E
    end
    I've corrected the code, it SHOULD work but if not I'm afraid I cannot help.
     
    I did have it in the original code so I guess not
    I guess I'll have to manually add every tile set instead of streamlining it
    Thanks anyway though! <3
     
    I did have it in the original code so I guess not
    I guess I'll have to manually add every tile set instead of streamlining it
    Thanks anyway though! <3

    getplaypos should be getplayerpos, my apologies for not picking that up sooner!
    I have used this method myself and can confirm this method works.
     
    Back
    Top