96 lines
5.3 KiB
Plaintext
96 lines
5.3 KiB
Plaintext
version=2
|
|
:if:<register.registered(rival_dragonsden_encounter)>=false <and> <register.registered(rival_mtmoon_encounter)>=true
|
|
:if:<camera.thirdperson>=true
|
|
@register.register(cameraout)
|
|
:endif
|
|
@camera.reset
|
|
|
|
@screen.fadeout
|
|
@music.play(johto_champion)
|
|
@camera.activatethirdperson
|
|
@camera.setyaw(0)
|
|
@camera.setfocus(npc,8)
|
|
@screen.fadein
|
|
|
|
@text.show(<rival.name>: Weavile Attack!)
|
|
@pokemon.cry(461)
|
|
@npc.move(8,1)
|
|
@npc.setspeed(8,3)
|
|
@npc.move(8,2)
|
|
@sound.play(battle\damage\super_effective)
|
|
@npc.warp(8,17,0,20)
|
|
@level.update
|
|
@level.wait(30)
|
|
|
|
@screen.fadeout
|
|
@camera.activatethirdperson
|
|
@camera.setyaw(0)
|
|
@camera.setfocus(npc,7)
|
|
@screen.fadein
|
|
|
|
@text.show(Lance: Dragonite Attack!)
|
|
@pokemon.cry(149)
|
|
@npc.move(7,1)
|
|
@npc.setspeed(7,2)
|
|
@npc.move(7,2)
|
|
@sound.play(battle\damage\normaldamage)
|
|
@npc.warp(7,14,0,20)
|
|
@level.update
|
|
@level.wait(30)
|
|
|
|
@screen.fadeout
|
|
@camera.activatethirdperson
|
|
@camera.setyaw(0)
|
|
@camera.setfocus(npc,6)
|
|
@screen.fadein
|
|
|
|
@pokemon.cry(461)
|
|
@npc.SetMoveY(8,-1)
|
|
@npc.move(8,0)
|
|
@text.show(<rival.name>: Alright.~You win.)
|
|
|
|
@Screen.fadeout
|
|
@npc.remove(8)
|
|
@npc.remove(7)
|
|
@npc.move(6,2)
|
|
@npc.move(5,2)
|
|
@camera.setfocus(player,0)
|
|
@camera.deactivatethirdperson
|
|
@music.play(johto_rival_encounter)
|
|
@player.warp(16,0.1,18)
|
|
@level.update
|
|
@player.turnto(2)
|
|
@screen.fadein
|
|
|
|
@text.show(That was a good battle.*You are learning how~to treat your Pokémon~with kindness and respect.*I expect soon you will~be an even better~trainer than I am.*If you want a rematch~feel free to challenge~me at the Indigo Plateau!)
|
|
@npc.turn(5,0)
|
|
@npc.move(5,2)
|
|
@npc.turn(5,3)
|
|
@player.turnto(1)
|
|
@text.show(<player.name>,~I have gotten stronger~since we last battled.*I will be returning~to Indigo Plateau if you~want to battle again.)
|
|
|
|
@screen.fadeout
|
|
@npc.remove(5)
|
|
@sound.play(enter)
|
|
:if:<register.registered(cameraout)>=true
|
|
@register.unregister(cameraout)
|
|
@camera.activatethirdperson
|
|
:endif
|
|
@screen.fadein
|
|
|
|
@npc.turn(6,0)
|
|
@npc.move(6,1)
|
|
@player.turnto(2)
|
|
@text.show(<player.name>...*...No, I won't~battle you now...*My Pokémon aren't~ready to beat you.*I can't push them~too hard now.*I have to be disciplined~to become the greatest~Pokémon trainer...)
|
|
@music.play(dragonsden)
|
|
|
|
#registers
|
|
@register.register(leagueupgrade)
|
|
@register.register(rival_dragonsden_encounter)
|
|
@npc.unregister(dragonsden\main.dat|5|position|13,0,20)
|
|
@npc.unregister(dragonsden\main.dat|6|position|18,0,20)
|
|
@npc.unregister(dragonsden\main.dat|7|position|14,0,20)
|
|
@npc.unregister(dragonsden\main.dat|8|position|17,0,20)
|
|
|
|
:endif
|
|
:end |