#org $start
lock
faceplayer
checkflag 0x202
if B_true goto $done
message $oak
$oak 1 = Hello \v\h01,\pI was expecting you,\pLet me tell you something,\pYou see, I'm not a man\nof many words, \lso I'll start you off with \psome basic stuff.
boxset 6
message $char
$char 1 = Would you Like Charmander,\nthe fire POKéMON?
boxset 5
compare LASTRESULT 1
if B_true goto $done1
message $squirt
$squirt 1 = Would you like Squirtle,\nthe Water POKéMON?
boxset 5
compare LASTRESULT 1
if b_true goto $done2
message $bulb
$bulb 1 = What about Bulbasaur,\nthe grass POKéMON?
boxset 5
compare LASTRESULT 1
if b_true goto $done3
goto $char
#org $done
message $have
$have 1 = Did you get the potion?
boxset 5
compare LASTRESULT 1
if b_true goto $check
message $no
$no 1 =You don't have it, go get it.\pNOW!!!
boxset 6
release
end
#org $check
#raw 0x47 0x0D 0x00 0x01 0x00
compare LASTRESULT 0x1
if 1 goto $get
release
end
#org $get
message $kl
$kl 1 = Good job, you got it!
boxset 6
fanfare 0x13E
message $en
$en 1 = Now it is the end of the preview.\pBut on the good side,\nyou get to keep the items!
boxset 6
release
end
#org $done1
message $hm
$hm 1 = Here you go then,\pA Charmander!
boxset 6
givepokemon 0x04 5
fanfare 0x13D
message $got
boxset 6
setflag 0x202
release
end
#org $done2
message $hn
$hn 1 = Well Here it is,\pA Squirtle!
boxset 6
givepokemon 0x07 5
fanfare 0x13D
message $got
boxset 6
setflag 0x202
release
end
#org $done3
message $hl
$hl 1 = Ok here you go,\ABulbasaur
boxset 6
givepokemon 0x01 5
fanfare 0x13D
message $got
boxset 6
setflag 0x202
release
end
#org $got
$got 1 =Now, that you have a POKéMON,\pI need you to go on a mission for\nme.\lGet me the potion from the police\pthen bring it back to me.\pNow GO!!!