68 lines
3.0 KiB
Plaintext
68 lines
3.0 KiB
Plaintext
version=2
|
|
|
|
:if:<register.registered(rival_encounter_cherrygrove)>=false
|
|
:endscript
|
|
:endif
|
|
|
|
@music.play(johto_rival_encounter)
|
|
@player.turnto(3)
|
|
:if:<player.position>=35,0,9
|
|
@npc.warp(3,45,0,9)
|
|
:else
|
|
@npc.warp(3,45,0,8)
|
|
:endif
|
|
|
|
|
|
@npc.turn(3,1)
|
|
@npc.move(3,9)
|
|
@text.show(...... ...... ......*You got a Pokémon~at the Lab.*What a waste!~A wimp like you.*...... ...... ......*Don't you get what~I'm saying?*Well, I too, have~a good Pokémon.*I'll show you~what I mean!)
|
|
|
|
@battle.setvar(canblackout,false)
|
|
|
|
:if:<register.registered(starter1)>=true
|
|
@npc.register(elmlab.dat|2|remove|1)
|
|
@battle.trainer(rival_0_fire)
|
|
:endif
|
|
|
|
:if:<register.registered(starter2)>=true
|
|
@npc.register(elmlab.dat|3|remove|1)
|
|
@battle.trainer(rival_0_water)
|
|
:endif
|
|
|
|
:if:<register.registered(starter3)>=true
|
|
@npc.register(elmlab.dat|1|remove|1)
|
|
@battle.trainer(rival_0_grass)
|
|
:endif
|
|
|
|
:if:<battle.won>=false
|
|
@pokemon.heal
|
|
:endif
|
|
|
|
@music.play(johto_rival_appear)
|
|
|
|
@text.show(...... ...... ......*My name's ???.*I'm going to be~the world's greatest~Pokémon trainer.)
|
|
|
|
@player.turnto(2)
|
|
@player.move(1)
|
|
@npc.moveasync(3,1)
|
|
@player.turnto(1)
|
|
@npc.move(3,3)
|
|
@npc.turn(3,0)
|
|
|
|
:if:<npc.position(3)>=32,0,9
|
|
@npc.moveasync(3,1)
|
|
:endif
|
|
|
|
@npc.move(3,1)
|
|
@npc.turn(3,1)
|
|
@npc.move(3,13)
|
|
@npc.turn(3,0)
|
|
@npc.move(3,3)
|
|
@npc.warp(3,42,-2,2)
|
|
@register.register(elm_police)
|
|
@register.unregister(rival_encounter_cherrygrove)
|
|
@npc.register(elmlab.dat|5|position|5,0,2)
|
|
|
|
@music.play(cherrygrove)
|
|
|
|
:end |