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

59 lines
2.5 KiB
Plaintext

version=2
:if:<register.registered(rival_rocket_underground)>=false
:then
@player.turnto(3)
@Music.play(johto_rival_encounter)
@sound.play(enter)
@npc.warp(0,25,0,3)
@npc.move(0,3)
@npc.turn(0,2)
:select:<player.position>
:when:21,0,4
@npc.move(0,1)
:when:21,0,5
@npc.move(0,2)
:endwhen
@npc.turn(0,1)
:if:<register.registered(starter1)>=true
:then
@Battle.starttrainer(rival\rival_3_fire)
:endif
:if:<register.registered(starter2)>=true
:then
@Battle.starttrainer(rival\rival_3_water)
:endif
:if:<register.registered(starter3)>=true
:then
@Battle.starttrainer(rival\rival_3_grass)
:endif
@text.show(...I don't understand...*Is what that Lance~guy said true?*That I don't treat~Pokémon properly?*Love...*Trust...*Are they really~what I lack?*Are they keeping~me from winning?*I... I just don't~understand.*But it's not going~to end here.*Not now. Not~because of this.*I won't give up my~dream of becoming*the world's best~Pokémon trainer!)
@npc.turn(0,0)
:select:<player.position>
:when:21,0,4
@npc.move(0,1)
:when:21,0,5
@npc.move(0,2)
:endwhen
@npc.turn(0,3)
@npc.move(0,3)
@sound.play(enter)
@npc.remove(0)
@music.play(ilex_forest)
@music.setmusicloop(ilex_forest)
@register.register(rival_rocket_underground)
:endif
:end