45 lines
4.3 KiB
Plaintext
45 lines
4.3 KiB
Plaintext
version=2
|
|
:if:<register.registered(goldenrod_mail_delivery)>=true
|
|
:if:<register.registered(goldenrod_mail_delivered)>=true
|
|
@text.show(TM50 is Nightmare.*It's a wicked move~that steadily cuts*the HP of a sleeping enemy.*Ooooh...~That's scary...*I don't want to~have bad dreams.)
|
|
:else
|
|
@text.show(...Zzzz... Huh?*What's that? You~have Mail for me?)
|
|
:if:<pokemon.count>>0
|
|
@pokemon.select(1,1,0)
|
|
:if:<not><pokemon.selected>=-1
|
|
:if:<not><pokemon.itemid(<pokemon.selected>)>=0 <and> <pokemon.itemid(<pokemon.selected>)>>299 <and> <pokemon.itemid(<pokemon.selected>)><351
|
|
:if:<pokemon.itemid(<pokemon.selected>)>=300 <and> <pokemon.mailsendername(<pokemon.selected>)>=Randy <and> <pokemon.mailsenderot(<pokemon.selected>)>=09182
|
|
@register.register(goldenrod_mail_delivered)
|
|
:else
|
|
@text.show(This Mail isn't for me.)
|
|
:end
|
|
:endif
|
|
:else
|
|
@text.show(Why is this Pokémon so~special?*It doesn't have any Mail.)
|
|
:end
|
|
:endif
|
|
:endif
|
|
:endif
|
|
|
|
:if:<register.registered(goldenrod_mail_delivered)>=true
|
|
@text.show(<player.name> handed~over the Pokémon~holding the Mail.)
|
|
@text.show(Let's see...*...Dark Cave leads~to another road...*That's good to~know.*Thanks for bringing~this to me.*My friend's a good~guy, and you're a~swell kid too!*I'd like to do~something good in~return too!*I know! I want you~to have this!)
|
|
@item.give(240)
|
|
@item.messagegive(240,1)
|
|
@text.show(TM50 is Nightmare.*It's a wicked move~that steadily cuts*the HP of a sleeping enemy.*Ooooh...~That's scary...*I don't want to~have bad dreams.)
|
|
:if:<not><pokemon.ot(<pokemon.selected>)>=09182 <or> <not><pokemon.nickname(<pokemon.selected>)>=Kenya <or> <not><pokemon.trainer(<pokemon.selected>)>=Randy
|
|
@text.show(The man gave the Pokémon~back to <player.name>.)
|
|
:else
|
|
@pokemon.remove(<pokemon.selected>)
|
|
:endif
|
|
:end
|
|
:else
|
|
@text.show(What? You don't~want anything?)
|
|
:end
|
|
:endif
|
|
:endif
|
|
|
|
:else
|
|
@text.show(... Hnuurg... Huh?*I walked too far~today looking for~Pokémon.*My feet hurt and~I'm sleepy...*If I were a wild~Pokémon, I'd be~easy to catch...*...Zzzz...)
|
|
:endif
|
|
:end |