• 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!
  • Which Pokémon Masters protagonist do you like most? Let us know by casting a vote in our Masters favorite protagonist poll here!
  • Red, Hilda, Paxton, or Kellyn - which Pokémon protagonist is your favorite? Let us know by voting in our 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.

[Script] Issue with Tiles scripting

  • 84
    Posts
    4
    Years
    • Seen Apr 21, 2025
    I am trying to make a script that stops the player from moving and forces him to go in a certain direction using XSE for Fire Red.
    I made the second part for an NPC and it worked: if you talk to this npc the player is forced to move upward (as intended) so the script in itself works, now i'm trying to make it in a tile so i looke on how to modify the script for a tile and i found a Thread where they were asking this same question and they put dow a script (the guy who posted the question ssaid it worked and helped his issue) and i litterally copy-pasted , i only changed the checkflag to the one i found inside the game (it's the checkflag for when the guy on top of the nugget bridge leaves)
    this is the script i LITTERALLY copy-pasted (the guy did not use the setvar so i just did this)

    Spoiler:



    but nothing happens, i can freel walk on the tile and it doesn't trigger, actually, the npc that worked pushing you upward now stops working

    so i tried a different thing, looked inside the game itself for similar things so i tried to take parts from the guys that needs tea since they still push you in a direction after walking on a tile, so modified the code like this (adding the lockall and setvar)


    Spoiler:



    still the tile does not activate

    i tried both scripts removing the checkflag at start, making it permanent and just trying if that was the issue but NOPE, still nothing
    idk what's wrong with those scripts T.T

    yes, i set the var number of the tiles to 4050 and the unknown to 0300 (as the other thread said to do to make it work)

    but nothing works...what am i doing wrong? T.T it's litterally the same script another guy uses and it works for them T.T
     
    Back
    Top