P3D-Legacy/P3D/Content/Data/Scripts/rival/rival_fortune.dat

64 lines
4.7 KiB
Plaintext

version=2
:if:<register.registered(rival_fortune_encounter)>=false
@screen.setfade(255)
:if:<player.thirdperson>=false
@Music.play(johto_rival_encounter)
@level.wait(50)
@screen.fadein
@player.move(1)
@entity.showmessagebulb(1|7|1|3)
@npc.turn(5,2)
@npc.move(5,4)
@text.show(<rival.name>: Oh,~hey, <player.name>.*You finally made~it this far?*I have gotten all I~can out of these islands.*I have been thinking~a lot about what I have~learned from you and~that dragon guy.*I decided to spend more~time getting to know~my Pokémon.*Of course I am still~going to become stronger~than you one day,~but I still need to~train more.*Someone told me I might~be interested in Mt. Moon~so I am gonna go~visit there...)
@player.turnto(1)
@player.move(1)
@player.turnto(3)
@npc.move(5,2)
@sound.play(enter)
@npc.move(5,1)
@npc.remove(5)
@register.register(rival_fortune_encounter)
@npc.register(fortune\center.dat|5|remove|0)
@npc.register(mtmoon\main.dat|0|position|3,0,8)
@Music.play(center)
:else
@camera.setfocus(player,0)
@camera.reset
@camera.setposition(1,1.1,2.3)
@camera.setpitch(-0.5)
@camera.setyaw(1.54)
@camera.update
@Music.play(johto_rival_encounter)
@level.wait(50)
@screen.fadein
@player.move(1)
@level.wait(15)
@camera.setfocus(npc,5)
@camera.setposition(0,1.1,2.3)
@camera.update
@entity.showmessagebulb(1|7|1|3)
@npc.turn(5,2)
@npc.move(5,4)
@text.show(<rival.name>: Oh,~hey, <player.name>.*You finally made~it this far?*I have gotten all I~can out of these islands.*I have been thinking~a lot about what I have~learned from you and~that dragon guy.*I decided to spend more~time getting to know~my Pokémon.*Of course I am still~going to become stronger~than you one day,~but I still need to~train more.*Someone told me I might~be interested in Mt. Moon~so I am gonna go~visit there...)
@player.turnto(1)
@player.move(1)
@player.turnto(3)
@camera.setfocus(Player,0)
@camera.setposition(1,1.1,3.25)
@camera.update
@npc.move(5,2)
@sound.play(enter)
@npc.move(5,1)
@npc.remove(5)
@screen.fadeout
@camera.reset
@camera.setyaw(4.71)
@camera.update
@register.register(rival_fortune_encounter)
@npc.register(fortune\center.dat|5|remove|0)
@npc.register(mtmoon\main.dat|0|position|3,0,8)
@Music.play(center)
@screen.fadein
:endif
:endif
:end