P3D-Legacy/P3D/Content/Data/Scripts/ecruteak/suicune_encounter.dat

125 lines
6.5 KiB
Plaintext

version=2
:if:<register.registered(shinysuicune)>=false
@register.register(shinysuicune,bool,false)
:if:<system.random(1,<math.floor(<pokemon.mastershinyrate>/2)>)>=1
@register.change(shinysuicune,true)
:endif
:endif
:if:<register.registered(suicune1)>=False
@Register.register(suicune1)
@Music.stop
@player.move(1)
@camera.ActivateThirdPerson
@level.update
@Camera.SetPosition(-3,0,0)
@level.update
@level.wait(50)
@Pokemon.Cry(243)
:if:<register.value(shinysuicune)>=true
@npc.WearSkin(1,[POKEMON|S]243)
:else
@npc.WearSkin(1,[POKEMON|N]243)
:endif
@level.wait(50)
@Camera.SetPosition(2,0,0)
@level.update
@level.wait(50)
@Pokemon.Cry(244)
:if:<register.value(shinysuicune)>=true
@npc.WearSkin(2,[POKEMON|S]244)
:else
@npc.WearSkin(2,[POKEMON|N]244)
:endif
@level.wait(50)
@Camera.SetYaw(0)
@Camera.SetPosition(0,0,0)
@Camera.DeactivateThirdPerson
@level.wait(50)
@Pokemon.Cry(245)
:if:<register.value(shinysuicune)>=true
@npc.WearSkin(3,[POKEMON|S]245)
:else
@npc.WearSkin(3,[POKEMON|N]245)
:endif
@level.wait(50)
@camera.ActivateThirdPerson
@overworldpokemon.hide
@Camera.SetPosition(2,1,7)
@Camera.SetYaw(0.6)
@level.wait(50)
@npc.Move(1,3)
@npc.Turn(1,3)
@npc.Move(1,10)
@level.wait(50)
@npc.Move(2,3)
@npc.Turn(2,1)
@npc.Move(2,10)
@npc.Remove(1)
@npc.Remove(2)
@Camera.SetYaw(0)
@Camera.SetPosition(0,0,0)
@Camera.DeactivateThirdPerson
@level.update
@Pokemon.Cry(245)
@level.wait(50)
@npc.Turn(3,3)
@camera.ActivateThirdPerson
@overworldpokemon.hide
@Camera.SetPosition(2,1,7)
@Camera.SetYaw(0.6)
@npc.Move(3,2)
@npc.Turn(3,2)
@npc.Move(3,2)
@npc.Turn(3,1)
@npc.Move(3,5)
@npc.Turn(3,0)
@npc.Move(3,2)
@npc.Turn(3,3)
@npc.Move(3,3)
@npc.Turn(3,2)
@level.wait(50)
@Camera.SetYaw(0)
@Camera.SetPosition(0,0,0)
@Camera.DeactivateThirdPerson
@Pokemon.Cry(245)
@level.wait(50)
@Camera.ActivateThirdPerson
@overworldpokemon.hide
@Camera.SetPosition(2,1,7)
@Camera.SetYaw(0.6)
@level.wait(50)
@npc.Turn(3,3)
@npc.Move(3,1)
@npc.Turn(3,2)
@npc.Move(3,10)
@npc.Remove(3)
@Camera.SetYaw(0)
@Camera.SetPosition(0,0,0)
@Camera.deactivethirdperson
@npc.Register(burnedtower\burnedtowerb1f.dat|1|remove|0)
@npc.Register(burnedtower\burnedtowerb1f.dat|2|remove|0)
@npc.Register(burnedtower\burnedtowerb1f.dat|3|remove|0)
@npc.Register(burnedtower\burnedtowerb1f.dat|5|position|10,0,13)
:if:<register.value(shinysuicune)>=true
@pokemon.newroaming(raikouburned,243,40,0,route38.dat,raikou_battle,1,eusine\raikoubattle)
@pokemon.newroaming(enteiburned,244,40,0,routes\route42.dat,entei_battle,1,eusine\enteibattle)
:else
@pokemon.newroaming(raikouburned,243,40,0,route38.dat,raikou_battle,0,eusine\raikoubattle)
@pokemon.newroaming(enteiburned,244,40,0,routes\route42.dat,entei_battle,0,eusine\enteibattle)
:endif
@register.register(burnttower_encounter_roaming)
@npc.Warp(5,10,0,13)
@Music.play(burnedtower)
:endif
:end