#include stdmove.rbh
#include stditems.rbh
#include stdpoke.rbh
#dynamic 0x800000
#org @begin
lock
faceplayer
checkflag 0x200
compare 0x800D 0x1
if 0x1 goto @done
msgbox @sleep 0x6
applymovement 0x0 @exe
waitmovement 0
playsong 0x11B 0x1
msgbox @bedintrude 0x6
applymovement 0xFF @x
waitmovement 0
msgbox @nointrude 0x6
fadedefault
applymovement 0x0 @walk2
applymovement 0xFF @walk3
waitmovement 0
pause 0x14
applymovement 0x0 @look
waitmovement 0
applymovement 0xFF @?
waitmovement 0
pause 0xA
applymovement 0x0 @look2
waitmovement 0
pause 0xA
msgbox @stolen 0x6
pause 0xA
applymovement 0x0 @look3
waitmovement 0
applymovement 0x0 @look4
waitmovement 0
pause 0x14
applymovement 0x0 @look5
waitmovement 0
msgbox @talk2 0x6
applymovement 0xFF @x2
waitmovement 0
setflag 0x828
goto @part2
#org @part2
#raw 0x75 0x48 0xA 0x3
msgbox @ossincise 0x5
compare 0x800D 0x1
#raw 0x76
if 0x1 goto @ossincisechose
#raw 0x75 0xAB 0xA 0x3
msgbox @snorunt 0x5
compare 0x800D 0x1
#raw 0x76
if 0x1 goto @snoruntchose
#raw 0x75 0x7D 0xA 0x3
msgbox @birdawl 0x5
compare 0x800D 0x1
#raw 0x76
if 0x1 goto @birdawlchose
msgbox @whichone 0x6
goto @part2
#org @ossincisechose
givepokemon PKMN_TENTACOOL 0x5 ITEM_ORANBERRY 0x0 0x0 0x0
signmsg
msgbox @ossincisegot 0x6
normalmsg
goto @part3
#org @snoruntchose
givepokemon PKMN_SNORUNT 0x5 ITEM_ORANBERRY 0x0 0x0 0x0
signmsg
msgbox @snoruntgot 0x6
normalmsg
goto @part3
#org @birdawlchose
givepokemon PKMN_LUNATONE 0x5 ITEM_ORANBERRY 0x0 0x0 0x0
signmsg
msgbox @birdawlgot 0x6
normalmsg
goto @part3
#org @part3
msgbox @takecare 0x6
applymovement 0xFF @^^
waitmovement 0
msgbox @talk5 0x6
applymovement 0xFF @walk5
applymovement 0x0 @walk6
waitmovement 0
setflag 0x200
release
end
#org @done
msgbox @talk 0x6
release
end
#org @talk
= [blue_fr]Wah? Huh?\nOh it's you.\pHow is that Pokémon of yours?
#org @sleep
= [blue_fr][small]Zzz\c\h08\h02.\c\h08\h02.\c\h08\h02.\c\h08\h02Zzz\c\h08\h02.\c\h08\h02.\c\h08\h02.\c\h08\h02Zz[small]z
#org @exe
#raw !_box 0x30 end_move
#org @bedintrude
=[blue_fr]Wah\c\h08\h02.\c\h08\h02.\c\h08\h02.\c\h08\h02huh?\nOh no, it's the bed intruder!\pHide ya kids, hide ya wife\c\h08\h02.\c\h08\h02.\c\h08\h02.
#org @x
#raw x_box end_move
#org @nointrude
=[blue_fr]Oh, you're [green_fr][player][blue_fr], aren't you?\p\c\h08\h02.\c\h08\h02.\c\h08\h02.\c\h08\h02\nAh, you wanted a Pokémon didn't\lyou?\p\c\h08\h02.\c\h08\h02.\c\h08\h02.\c\h08\h02\nRight, I keep the [lightgreen_fr]Pokéballs [blue_fr]in the\lcabinet behind me, let me go and\lget them.
#org @walk2
#raw step_right step_up step_up step_up step_left 0x2E end_move
#org @walk3
#raw step_right step_left step_up step_up step_up 0x2F end_move
#org @look
#raw 0x30 end_move
#org @?
#raw ?_box end_move
#org @look2
#raw 0x2E end_move
#org @stolen
= [blue_fr]Blasphemy!\nIt seems somebody made off with\lthe [lightgreen_fr]Pokéballs[blue_fr]!\p\c\h08\h02.\c\h08\h02.\c\h08\h02.
#org @look3
#raw 0x30 end_move
#org @look4
#raw 0x2E end_move
#org @look5
#raw 0x30 end_move
#org @talk2
= [blue_fr]Ah, here they are.\nI put them [black_fr]inside [blue_fr]the cabinet, who\lwould have guessed?
#org @x2
#raw x_box end_move
#org @ossincise
= [blue_fr]So you want the [black_fr]Fighting [blue_fr]Type\nPokémon, [darknavyblue_fr]Ossincise[blue_fr]?
#org @snorunt
= [blue_fr]So you want the [black_fr]Ice [blue_fr]type Pokémon,\n[darknavyblue_fr]Snorunt[blue_fr]?
#org @birdawl
= [blue_fr]So you want the [black_fr]Flying [blue_fr]type Pokémon,\n[darknavyblue_fr]Birdawl[blue_fr]?
#org @whichone
= [blue_fr]Which Pokémon do you want?
#org @ossincisegot
= [green_fr][PLAYER] [black_fr]recieved [darknavyblue_fr]Ossincise[black_fr]!
#org @snoruntgot
= [green_fr][PLAYER] [black_fr]recieved [darknavyblue_fr]Snorunt[black_fr]!
#org @birdawlgot
= [green_fr][PLAYER] [black_fr]recieved [darknavyblue_fr]Birdawl[black_fr]!
#org @takecare
= [green_fr][PLAYER] [blue_fr]take good care of that\nPokémon, now.
#org @^^
#raw ^^_box end_move
#org @talk5
= [blue_fr]I've held you up long enough, you\nbetter head down to [green_fr]Crater Town[blue_fr].\pTake care, [green_fr][PLAYER][blue_fr]!
#org @walk5
#raw step_down step_down step_down step_down 0x2E end_move
#org @walk6
#raw step_right step_down step_down step_down step_left 0x2D end_move