P3D-Legacy/P3D/Content/Data/Scripts/route34/daycare/odd_egg.dat

44 lines
2.9 KiB
Plaintext
Raw Normal View History

2016-09-07 18:50:38 +02:00
<EFBFBD><EFBFBD>version=2
@text.show(Hey trainer!~Do you want to leave your~Pok<00>mon here for~us to raise them?*Wait, are you the trainer~who helped with the~Mystery Egg?*<player.name> right?~I found another Egg here,~I want you to have it~since you seem to~be very dependable.*But there's something odd~with this Egg.~In fact, I called~it the Odd Egg.*Here, I want you~to take it!)
@Options.Show(Yes,No)
:when:No
@text.show(Oh, that's sad...*But you can always come~back if you want to~get the Odd Egg.)
:end
:endwhen
:if:<pokemon.count><6
:then
:select:<system.random(1,7)>
:when:1
@pokemon.add(172,1,hatched,5,Daycare,1,<player.name>)
:when:2
@pokemon.add(173,1,hatched,5,Daycare,1,<player.name>)
:when:3
@pokemon.add(174,1,hatched,5,Daycare,1,<player.name>)
:when:4
@pokemon.add(236,1,hatched,5,Daycare,1,<player.name>)
:when:5
@pokemon.add(238,1,hatched,5,Daycare,1,<player.name>)
:when:6
@pokemon.add(239,1,hatched,5,Daycare,1,<player.name>)
:when:7
@pokemon.add(240,1,hatched,5,Daycare,1,<player.name>)
:endwhen
:if:<system.random(0,100)><14
:then
@pokemon.setshiny(<pokemon.count>-1,1)
:endif
@sound.play(success_small)
@text.show(<player.name> received~the Odd Egg.)
@register.register(oddegg_got)
@text.show(Old Man: Please take good~care of the Egg.)
:else
@text.show(Oh, your team is full?~Please deposit one of~your Pok<00>mon in the PC~and come back.)
:endif
:end