ok umm can you help me with this script for some reason whenever i compile it it says subscript out of range (here) the script looks fine but it wont compile and i am very confused.
#org @start
checkflag 0x828
if 0x0 got @play
if 0x1 goto @done
org @play
applymovement 0x02 @move1
waitmovement 0x2
applymovement 0x03 @move2
waitmovement 0x3
msgbox @1 0x6
applymovement 0x04 @move3
waitmovement 0x04
msgbox @2 0x6
applymovement 0x06 @move4
waitmovement 0x06
msgbox @3 0x6
msgbox @4 0x6
msgbox @5 0x6
msgbox @6 0x6
msgbox @7 0x6
fadescreen 0x1
warp 0x3 0x1 0x0 0x6 0x9
release
end
#org @done
release
end
#org @move4
#raw 0x60
#org @move
#raw 0x60
#raw 0x61
#raw 0x60
#raw 0x61
#raw 0x60
#raw 0x61
#raw 0x60
#raw 0x61
#raw 0x60
#raw 0x61
#raw 0x60
#raw 0x61
#raw 0xFE
#org @1
(here)= ???: Pardon me. You wouldn't\nhappen to know where I could find\lLANCE the DRAGON master, would\lyou?\p\v\h01: …Dad? Can you come\noutside\lreally quick?\p???: Erm, that won't be\nnecessary. All I need is too…
#org @2
= LANCE: DOCTOR…!
#org @move2
#raw 0x65
#org @3
= \v\h01: DOCTOR? Doctor who?\pLANCE: I'll explain later.\pDR.: Actually, I think I ought to\nexplain myself. Now, what is your\lname?\p\v\h01: \v\h01, Mr.-- Erm, DR.\nDR.: Excellent. And your father\lis LANCE?\p\v\h01: Well, yeah.\nDR.: Is that so? Well, you see,\lyour father and I met quite a\lwhile ago, back before he even\ljoined the Elite Four, and,\llogically, before you were born.\lI found him while he was training\lto take on the PKMN League, and\ltook him under my wing as we\ljoined to defeat Team Glacier,\lwho aimed to freeze the planet of\lBarcelona. All of that practice\lagainst Ice, his sole weakness,\lhelped him to dominate the\lLeague, which is why he's who he\lis now. That was a pretty crazy\ladventure, was it not?\pLANCE: It certainly was, but\nthat's not why you're here, is it?
#org @4
= DR.: …No, it's not. There is a\nsinister team that I am tracking\ldown that goes by the name of\lRagnarok. They've been working on\la highly secretive plan for\lyears, and I've been tracking\lthem.\pLANCE: How secretive?\pDR.: Did you know they existed\nuntil now?\pLANCE: No Idea.\pDR.: Then you probably don't know\nthat they caused the premature\leruption of Cinnibar Island's\lvolcano, and used high-pitch\lfrequency airwaves to drive the\lGyarados, who protect the region,\lto flood the Power Plant, cutting\loff the power to the entire\lregion, allowing them to bring it\lunder its control.\pLANCE: …WHAT!?
#org @5
= \v\h01: We can't let that happen!\pDR.: No, we cannot. But while it\nseems that they are just aiming\lfor world domination, there\lexists an ulterior motive. Are\lyou aware of MEWTWO?\l\v\h01: I've heard legends of it,\lbut I'm not too familiar\lotherwise…\pDR.: It's not a legend. It\nexists. And everything they've\ldone is leading up to it. But for\lnow, that's more or less\lirrelevant. What's important now\lis that we stop them from\lcompleting the preliminary stage\lof their plot.\pLANCE: Right. What's your plan,\nDOCTOR?\pDR.: As it happens, I was hoping\nyou'd have a child. This time, I\lneed \v\h01's help.\pLANCE: Hold on a minute, -[HERO]-\njust got a PKMN. I'm not certain\lI want to let you pull -[HERO]- into\lthis if it's truly as bad as it\lsound, which it likely does.\pDR.: Nonsense! Really, the\nconditions could not be more\lperfect for \v\h01. You know, you\lweren't that much older than him\lwhen I met you.
@org @6
= LANCE: I was 19. \v\h01's just not\n16. It was a foolish idea for me\lto go along with you that\lhappened to turn out perfectly,\lbut I can't trust things to be so\lperfect twice in a row, and I\ldon't think you can guarantee\lthat nothing will happen to\l\v\h01.\pDR.: Now, really, LANCE. You're\nhurting my feelings! Do you\lreally think I would ever let\lanything happen to \v\h01? Things\lturned out well for you because I\lwas with you every step of the\lway. How can you expect me to do\lany less for \v\h01?\pLANCE: …I don't know, DOCTOR.\n\v\h01: I do.\pLANCE: \v\h01?\p\v\h01: If this guy's the reason\nyou became a Master and a\lChampion, then I want to go with\lhim, too. Besides, it can't be\lthat hard, can it?\pLANCE: (sigh)… Neither of you are\ngoing to let up about this, are\lyou?\p\v\h01: Nope.\nDR.: Not as long as the world is\lin danger.
@org @7
= LANCE: …Alright. But, \v\h01, I\nneed you go talk to your mother\labout this. DOCTOR, would you\lmind coming in as well?\pDR.: Not at all, old friend. Not\nat all.
#org @move3
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x11
#raw 0xFE