• 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] xse script error when there is nothing on that line

qaz015393

pokemon revenge developer
  • 789
    Posts
    15
    Years
    • Seen Feb 10, 2025
    I need help. when I try and debug my script I get this error but that line has nothing in it.
    Spoiler:


    Now here is the script. And I am going to fix the text and movemets

    Spoiler:
     
    This error usually means something was in the script that isn't an actual keyword, usually comes from simple human error, maybe you mispelled something. Everything else is just fine. Look at Line 61 and see if there is something wrong, because that's where the error is.
     
    Yeah, sometimes I get that error too. What I've found helpful is copying the text and pasting it into a text document (I use the body of an email) and usually what I find is that an extra "line was added" (like someone pressed enter in the middle of that line of script). Then just fix it in the text document (for me I just remove the extra line that was added) and then copy and paste the new thing back into XSE and try again. It usually works for me after that.

    EDIT: I looked back at your script, and I saw the same thing that happens to me. You see the break between "this\ndevice" and "that" on the next line? Just make that one line instead of a broken up two and it should work. :P
     
    This error usually means something was in the script that isn't an actual keyword, usually comes from simple human error, maybe you mispelled something. Everything else is just fine. Look at Line 61 and see if there is something wrong, because that's where the error is.

    Thanks for the help and the info.

    Yeah, sometimes I get that error too. What I've found helpful is copying the text and pasting it into a text document (I use the body of an email) and usually what I find is that an extra "line was added" (like someone pressed enter in the middle of that line of script). Then just fix it in the text document (for me I just remove the extra line that was added) and then copy and paste the new thing back into XSE and try again. It usually works for me after that.

    EDIT: I looked back at your script, and I saw the same thing that happens to me. You see the break between "this\ndevice" and "that" on the next line? Just make that one line instead of a broken up two and it should work. :P

    Thanks for the help. That helps me out for the future. Now i can continue scripting with no more problems.


    I don't need this thread anymore but i hope it can help those who have the same issue i did.
     
    Back
    Top