- 11
- Posts
- 12
- Years
- Fl
- Seen Apr 14, 2017
I want to put a trainer that you battle and then he gives you a Pokemon. I also keep getting an error saying "Unknown keyword uble on line 12"
My code v
#dynamic 0x800000
#org @start
checkflag 0x250
if 0x1 goto @before
trainerbattle 0x0 0x001 0x0 @before @after
msgbox @beaten 0x6
msgbox @GivePoke 0x6
release
end
#org @before
= Hey kid. So you want a free\nPokemon eh?\l[...]\lYeah it's pretty rare,\lbut I'm afraid you can't have it.\pYa see, I went through a lot of\ntro
uble gettin' this.\p\nYou've gotta battle me for the\lPokemon.
#org @after
= Ok, fine. You can have it
#org @beaten
= Hm? What do you want punk?\pYeah that's right, back up!
#org @GivePoke
= Here take this TYROUGE\n
fanfare 0x13E
givepokemon 0x236 0x5 0x0 0x0 0x0 0x0
waitfanfare
closeonkeypress
end
My code v
Spoiler:
#dynamic 0x800000
#org @start
checkflag 0x250
if 0x1 goto @before
trainerbattle 0x0 0x001 0x0 @before @after
msgbox @beaten 0x6
msgbox @GivePoke 0x6
release
end
#org @before
= Hey kid. So you want a free\nPokemon eh?\l[...]\lYeah it's pretty rare,\lbut I'm afraid you can't have it.\pYa see, I went through a lot of\ntro
uble gettin' this.\p\nYou've gotta battle me for the\lPokemon.
#org @after
= Ok, fine. You can have it
#org @beaten
= Hm? What do you want punk?\pYeah that's right, back up!
#org @GivePoke
= Here take this TYROUGE\n
fanfare 0x13E
givepokemon 0x236 0x5 0x0 0x0 0x0 0x0
waitfanfare
closeonkeypress
end
Last edited: