• 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] My script is saying "No #org/#seek directives were found."

  • 3
    Posts
    4
    Years
    • Seen Jun 17, 2021
    Hello! I'm new and inexperienced in scripting, and I've been watching the Tutorial Series of Anthroyd. When I tried compiling the script for giving the starters, XSE puts out "No #org/#seek directives were found." I need help on how to fix this and, perhaps, make the script shorter because I think it is quite long. Thank you in advance!

    Spoiler:
     
    Hello! I'm new and inexperienced in scripting, and I've been watching the Tutorial Series of Anthroyd. When I tried compiling the script for giving the starters, XSE puts out "No #org/#seek directives were found." I need help on how to fix this and, perhaps, make the script shorter because I think it is quite long. Thank you in advance!

    Spoiler:
    You have to put a # before the dynamic in the first line.
    It has to be '#dynamic 0x800000"
    It will fix the No #org error. Apart from that there are a few other typos in the code that may result in error:
    1. "showpokekpic" in the 2nd line in @start has to be"showpokepic"
    2. "mgsbox" in the 5th line in @yes has to be "msgbox"
     
    You're welcome!
    Also, here's a tip you can use: you can click the debug button instead of compile in XSE after writing a script. Debug shows all the places where errors might be there, but it wont compile the script in the game (even if it looks like it is compiling the script in the game). After fixing all the errors in the script (you might have to debug multiple times), you can then hit compile and proceed normally.

    Typos in scripts can be annoying and this is what I do.
    Feel free to ask if you wanna know about anything else in scripting!
     
    Back
    Top