mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-08-19 16:58:42 +02:00
Fixed music playing errors [Added Songs] Mom (as there wasn't any music for when the mom gives you the pokégear) PVP_Intro (PVP music didn't have an intro before and I also replaced PVP with a better sounding version) [Added Sounds] Emote_Exclamation (can be used when using the ! emote for NPCs) Receive_HM (the game checks if the name of the item that was received contains "HM", if so, this sound is played instead of the regular item receive sound)
43 lines
3.0 KiB
Plaintext
43 lines
3.0 KiB
Plaintext
version=2
|
|
|
|
:if:<register.registered(mom_start)>=false
|
|
:then
|
|
@register.register(mom_start)
|
|
@sound.play(Emote_Exclamation,0)
|
|
@music.play(Mom)
|
|
@entity.showmessagebulb(1|7|0.815|2)
|
|
@npc.turn(0,3)
|
|
@npc.setmovey(0,-0.115,0)
|
|
@npc.move(0,1)
|
|
@npc.turn(0,0)
|
|
@npc.move(0,1)
|
|
@text.show(Oh, <player.name>...! Our~neighbor, Prof. Elm,~was looking for you.*He said he wanted~you to do something~for him.*Oh! I almost forgot!~Your Pokémon Gear~is back from the~repair shop.*Here you go!)
|
|
@sound.play(success_small,1)
|
|
@player.receivepokegear
|
|
@text.show(<player.name> received~Pokégear.)
|
|
@text.show(Pokémon Gear, or just~Pokégear.*It's essential if you~want to be a good trainer.*By the way, do you~know how to use~the Phone?)
|
|
@options.show(Yes,No)
|
|
:when:Yes
|
|
@text.show(I'm sure you know~that you can open it~by pressing Q.*Phone numbers are~stored in memory.*Just choose a name~you want to call.*Gee, isn't that~convenient?)
|
|
:when:No
|
|
@text.show(Don't you just~turn the Pokégear~on by pressing Q~and switch over to Phone?*Phone numbers are~stored in memory.*Just choose a name~you want to call.*Gee, isn't that~convenient?)
|
|
:endwhen
|
|
|
|
@text.show(Also, here is my number!)
|
|
@register.register(phone_contact_000)
|
|
@sound.play(Receive_PhoneNumber,1)
|
|
@text.show(<player.name>~received Mom's number.)
|
|
@register.register(mom_getpokegear)
|
|
|
|
@npc.turn(0,2)
|
|
@npc.move(0,1)
|
|
@npc.turn(0,1)
|
|
@npc.setmovey(0,0.115,0)
|
|
@npc.move(0,1)
|
|
@music.play(BarkTown)
|
|
|
|
@register.register(mom_wait)
|
|
|
|
:endif
|
|
|
|
:end |