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

24 lines
1.4 KiB
Plaintext

version=2
@pokemon.cry(250)
@battle.setvar(custombattlemusic,ho-oh_battle)
:if:<register.registered(rainbow_wing_radio_tower)>=true
:if:<register.value(shinyhooh)>=true
@battle.wild(250,45,1,ho-oh_battle_intro,12)
:else
@battle.wild(250,45,0,ho-oh_battle_intro,12)
:endif
:else
:if:<register.value(shinyhooh)>=true
@battle.wild(250,70,1,ho-oh_battle_intro,12)
:else
@battle.wild(250,70,0,ho-oh_battle_intro,12)
:endif
:endif
:if:<battle.caught>=true
@register.register(caughthooh)
:endif
@npc.remove(0)
@player.achieveemblem(heart gold)
@npc.unregister(ecruteak\tintower10f.dat|0|position|4,0.75,4)
@npc.unregister(ecruteak\tintower10f.dat|0|position|4,0.45,4)
:end