P3D-Legacy/P3D/Content/Data/Scripts/tintower/ho_oh_appear.dat

54 lines
2.1 KiB
Plaintext

version=2
:if:<register.registered(battle_hooh_tintower)>=false
@level.update
@player.move(0)
@storage.set(string,playerskin,<player.skin>)
@storage.set(boolean,thirdperson,<player.thirdperson>)
@pokemon.cry(250)
@player.wearskin([Pokémon|N]250)
@player.warp(4,10,-20)
@camera.activatethirdperson
@player.turnto(2)
@camera.settoplayerfacing
@player.move(24)
@player.setmovement(0,-1,0)
@player.move(10)
@player.setmovement(0,0,0)
@pokemon.cry(250)
@level.wait(50)
:if:<storage.get(boolean,thirdperson)>=false
:then
@camera.deactivethirdperson
:endif
@camera.reset
@player.wearskin(<storage.get(string,playerskin)>)
@player.warp(4,0.1,9)
@npc.warp(0,4,0.45,4)
@player.turnto(0)
@camera.settoplayerfacing
@pokemon.cry(250)
@npc.register(ecruteak\tintower10f.dat|0|position|4,0.45,4)
@register.register(battle_hooh_tintower)
:else
:if:<npc.exists(0)>=true
:if:<npc.position(0)>=4,1,4
@npc.warp(0,4,0.45,4)
:endif
:endif
:endif
:end