37 lines
3.0 KiB
Plaintext
37 lines
3.0 KiB
Plaintext
version=2
|
|
:if:<register.registered(rival_league_wins)>=false
|
|
@register.register(rival_league_wins,int,0)
|
|
:endif
|
|
:if:<register.registered(rival_dragonsden_encounter)>=true <and> <register.registered(rival_league_encounter)>=false
|
|
:if:<environment.day>=Monday <or> <environment.day>=Wednesday
|
|
@npc.warp(9,<player.position(x)>,0,3)
|
|
@player.turnto(2)
|
|
@music.play(johto_rival_encounter)
|
|
@npc.setmovey(9,3)
|
|
@npc.setspeed(9,2)
|
|
@npc.move(9,6)
|
|
|
|
@text.show(Hold it.*You're going to~take the Pokémon League~challenge now?*You'll have to~give up on that.*My well-trained-beyond-~recognition Pokémon are~going to pound you.*Right now,~right here!*I challenge you!)
|
|
:if:<register.registered(starter1)>=True
|
|
@battle.trainer(rival\rival_6_fire)
|
|
:endif
|
|
:if:<register.registered(starter2)>=True
|
|
@battle.trainer(rival\rival_6_water)
|
|
:endif
|
|
:if:<register.registered(starter3)>=True
|
|
@battle.trainer(rival\rival_6_grass)
|
|
:endif
|
|
@text.show(...Oh, no...*I still can't win~after all that training...*I...~I have to believe~more in my Pokémon...*...No big deal.*Sorry to have got~in the way.*Don't forget to rest~your Pokémon before you~challenge the Champion!)
|
|
|
|
@screen.fadeout
|
|
@npc.warp(9,12,-1,3)
|
|
@register.registertime(rival_league_encounter,1,day)
|
|
:if:<register.value(rival_league_wins)><20
|
|
@register.change(rival_league_wins,<register.value(rival_league_wins)>+1)
|
|
:endif
|
|
@level.update
|
|
@music.play(indigo)
|
|
@screen.fadein
|
|
:endif
|
|
:endif
|
|
:end |