- 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:
dynamic 0x800000
#org @start
lock
showpokekpic 0x98 0xA 0x3
pause 0x30
msgbox @GetStarter 0x5 'Dad asks player if he wants Chikorita.
compare 0x800D 0x1
if 0x1 goto @yes
msgbox @IfPlayerChoosesNo 0x6 'If player chooses no
hidepokepic
release
end
#org @yes 'If player chooses yes
hidesprite 0x3
setflag 0x200
applymovement 0x6 @m1 'Rival and moves, gets Cyndaquil, and returns.
waitmovement 0x0
mgsbox @RivalTalks 0x6
hidesprite 0x4
applymovement 0x6 @m2
waitmovement 0x0
msgbox @DadTalks 0x6 'Dad talks and then takes Totodile.
hidesprite 0x5
setvar 0x4011 0x1
release
end
#org @m1
#raw 0x10 'Rival steps down.
#raw 0x12 'Rival steps left.
#raw 0xFE
#org @GetStarter
= [blue_fr]Dad: [black_fr]Choose [green_fr]Chikorita[black_fr]?\nIt likes to inflict status\lconditions and recover its health.
#org @IfPlayerChoosesNo
= [blue_fr]Dad[black_fr]: Take your time.
#org @RivalTalks
= [blue_fr][rival][black_fr]: Well then,I'm\ngoing to choose Cyndaquil.
#org @m2
#raw 0x13 'Step Right
#raw 0x11 'Step Up
#raw 0xFE
#org @DadTalks
= [blue_fr]Dad[black_fr]: Hmmm, that\nstarter likes to fight far\laway.\lI hope you both will be\lhappy with your new partners!\lAnd this [blue_fr]Totodile[black_fr] will\lbe coming with me!
#org @start
lock
showpokekpic 0x98 0xA 0x3
pause 0x30
msgbox @GetStarter 0x5 'Dad asks player if he wants Chikorita.
compare 0x800D 0x1
if 0x1 goto @yes
msgbox @IfPlayerChoosesNo 0x6 'If player chooses no
hidepokepic
release
end
#org @yes 'If player chooses yes
hidesprite 0x3
setflag 0x200
applymovement 0x6 @m1 'Rival and moves, gets Cyndaquil, and returns.
waitmovement 0x0
mgsbox @RivalTalks 0x6
hidesprite 0x4
applymovement 0x6 @m2
waitmovement 0x0
msgbox @DadTalks 0x6 'Dad talks and then takes Totodile.
hidesprite 0x5
setvar 0x4011 0x1
release
end
#org @m1
#raw 0x10 'Rival steps down.
#raw 0x12 'Rival steps left.
#raw 0xFE
#org @GetStarter
= [blue_fr]Dad: [black_fr]Choose [green_fr]Chikorita[black_fr]?\nIt likes to inflict status\lconditions and recover its health.
#org @IfPlayerChoosesNo
= [blue_fr]Dad[black_fr]: Take your time.
#org @RivalTalks
= [blue_fr][rival][black_fr]: Well then,I'm\ngoing to choose Cyndaquil.
#org @m2
#raw 0x13 'Step Right
#raw 0x11 'Step Up
#raw 0xFE
#org @DadTalks
= [blue_fr]Dad[black_fr]: Hmmm, that\nstarter likes to fight far\laway.\lI hope you both will be\lhappy with your new partners!\lAnd this [blue_fr]Totodile[black_fr] will\lbe coming with me!