First, the script your using looks like it was designed for PokeSav and not XSE. XSE doesn't use the command "jump" as far as I know. Also, you're not using dynamics. Fixes in bold:
Code:
[B]#dynamic 0x800000[/B]
[B]#org @start[/B]
lock
faceplayer
checkflag 0x10A
[B]if 0x1 goto @800050[/B]
special 0x16F
setflag 0x10A
fanfare 0x13E
[B]msgbox @800100 msg_keepopen
closeonkeypress[/B]
waitfanfare
release
end
[B]#org @800050
msgbox @800070 msg_keepopen
closeonkeypress[/B]
release
end
[B]#org @800070[/B]
= Like your new POKéDEX?
[B]#org @800100[/B]
= Your POKéDEX was upgraded!
To compile, go to TOOLS in XSE, and click BATCH COMPILER. Locate your script on your computer that you saved, select it and click COMPILE. Make sure SHOW LOG is checked near the bottom. If nothing is wrong with the script, a box will pop up telling you the offsets of your script have been compiled to, but most important is the @start offset.
It will say something like @start ... 0x800000
That means @start was compiled to 0x800000 offset in your game, and you use that as your beginning offset for the script. Hope this helps. :)