37 lines
1.8 KiB
Plaintext
37 lines
1.8 KiB
Plaintext
version=2
|
|
|
|
:if:<not><environment.day>=monday
|
|
:then
|
|
@Text.Show(We're not open today.)
|
|
:end
|
|
:endif
|
|
|
|
:if:<register.registered(barbershop_monday)>=true
|
|
:then
|
|
@Text.Show(I do only one~haircut a day. I'm~done for today.)
|
|
:end
|
|
:endif
|
|
|
|
@Text.Show(Welcome!*I run the Pokémon~Salon!*I'm the older and~better of the two~Haircut Brothers.*I can make your~Pokémon beautiful~for just $500.*Would you like me~to do that?)
|
|
@Options.show(Yes,No)
|
|
:when:Yes
|
|
:if:<player.money><500
|
|
:then
|
|
@Text.Show(You'll need more~money than that.)
|
|
:else
|
|
@Text.Show(Which Pokémon~should I work on?)
|
|
@Pokemon.Select
|
|
@Text.Show(OK! Watch it~become beautiful!)
|
|
@Sound.Play(pokemon_heal)
|
|
@Level.Wait(70)
|
|
@Pokemon.addfriendship(<pokemon.selected>,4)
|
|
@Text.Show(<pokemon.name(<pokemon.selected>)> looks~happy.)
|
|
@player.money(-500)
|
|
@Register.register(barbershop_monday)
|
|
:endif
|
|
|
|
:when:No
|
|
@Text.Show(Is that right?~That's a shame!)
|
|
:endwhen
|
|
|
|
:end |