#dynamic 0x740000
#org @start
lock
faceplayer
'check if done already
checkflag 0x570
if 0x1 jump $already
goto $ask
#org $ask
'ask if want now
message @1
callstd MSG_YESNO
if 0x1 jump $choose
goto $cancel
#org $choose
'intro
message @3
callstd MSG_NORMAL
'check if want firestone
message @7
callstd MSG_YESNO
if 0x1 jump @s1
message @6
callstd MSG_NORMAL
'check if want waterstone
message @8
callstd MSG_YESNO
if 0x1 jump @s2
message @6
callstd MSG_NORMAL
'check if want thunderstone
message @9
callstd MSG_YESNO
if 0x1 jump @s3
message @6
callstd MSG_NORMAL
'no choice, comment, exit
message @10
callstd MSG_NORMAL
release
end
#org $already
'tell to gtfo, end
message @4
callstd MSG_NORMAL
release
end
#org $s1
'add firestone, set flag, message, end
additem FIRESTONE 1
callstd MSG_OBTAIN
setflag 0x570
message @5
callstd MSG_NORMAL
release
end
#org $s2
'add waterstone, set flag, message, end
additem WATERSTONE 1
callstd MSG_OBTAIN
setflag 0x570
message @5
callstd MSG_NORMAL
release
end
#org $s3
'add thunderstone, set flag, message, end
additem THUNDERSTONE 1
callstd MSG_OBTAIN
setflag 0x570
message @5
callstd MSG_NORMAL
release
end
#org $cancel
'say bye, end
message @2
callstd MSG_NORMAL
release
end
#org @1
= Hello \v\h01!\pI am Mrs. Stone, stonemaster\nof the school.\pYou may have either a\nFirestone, a\n Waterstone, or a\nThunderstone.\pBut be careful\nwhat you choose,\nyou may only have\none, and depending on\nwhich one you choose\n and give to your eevee\nit will evolve into different\pokemon.\pWould you like to\nchoose one now?
#org @2
= Ok, come back\nwhen you want one!
#org @3
= Ok then.\pRemember, you can either\nhave the Firestone,\nWaterstone, or\nThunderstone.
#org @4
= Go away \v\h01!\nIve already given you\none of my precious Stones!
#org @5
= Good choice!\pWell, until next time,\n\v\h01!
#org @6
= Alright then..
#org @7
= Lets see.. here is\na Firestone!\pDo you want\n this one?
#org @8
= Lets see.. here is\na Waterstone!\pDo you want\n this one?
#org @9
= Lets see.. here is\na Thunderstone!\pDo you want\n this one?
#org @10
= Well, thats all Ive\ngot \v\h01!\pCome back when you\nwant one!