- 6,353
- Posts
- 19
- Years
- Seen Apr 16, 2020
hello friends i m making a script such that when i step on a tile my mother[in game] comes with a seal following her and then gives me that seal and after giving me seal the seal's ow should disappear and the player's mom goes outside.The problem is that the script isn't compiling i hope a help from you all
Spoiler:
#dynamic 0x800000
#org @start
lock
faceplayer
checkflag 0x1301
if 0x1 goto @already
applymovement 0x1 @move
applymovement 0x2 @moving
waitmovement 0x0
msgbox @hi 0x6
givepokemon 0x56 0x5 0xC8 0x0 0x0 0x0
fanfare 0x13E
msgbox @receive 0x4
waitfanfare
closeonkeypress
setflag 0x828
hidesprite 0x2
setflag 0x1302
applymovement 0x1 @moves
waitmovement 0x0
setflag 0x1301
release
end
#org @already
release
end
#org @hi
= MOM: Hi dear [player] so,you are\ngoing to start your own\ljouney!Its a very special day in\levery trainer's life.Since\lProf.Oak is out of town so take\lour family friend our Seal with\lyou for your safety.Now I have to\lg
o see ya!!
#org @receive
= [black_fr]\v\h01 received a Seal\nfrom MOM.
#org @move
#raw 0x11
#raw 0x11
#raw 0x12
#raw 0xFE
#org @moving
#raw 0x11
#raw 0x11
#raw 0x12
#raw 0xFE
#org @moves
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x10
#raw 0x60
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0xFE
From what I can see, it looks like you pressed enter while writing the dialogue for the @hi message at the "I have to go see ya" part, which is why your Script Editor won't let you compile. It should compile fine if you fix that, but I really think you should change the flags you're using.