P3D-Legacy/P3D/Content/Data/Scripts/cerulean/gymgrunt.dat

32 lines
2.3 KiB
Plaintext

version=2
:if:<Environment.day>=Sunday <or> <Environment.day>=Saturday
:if:<Environment.hour><23 <and> <Environment.hour>>14
:if:<register.registered(MistyRematchTalk)>=true
@npc.remove(1)
:endif
:endif
:endif
:if:<register.registered(r24grunt)>=False
@entity.remove(10)
:endif
:if:<register.registered(ceruleangymgrunt)>=False <and> <register.registered(powerplantmanager1)>=True
@player.move(0)
@npc.setspeed(0,2)
@npc.move(0,4)
@sound.play(bump)
@npc.setspeed(0,4)
@npc.move(0,-1)
@text.show(Oops!~I'm so sorry!~You not hurt, okay?~I very busy.~No time for talking with you.~Not good for me if~seen by somebody.~Oh no!~You seen me already!~I make big mistake!~The Boss will be angry!~Hey, you!~Forget you see me, okay?~You see, hear,~know nothing, okay?~Bye, kid!~Nothing!~Bye-bye a go-go!)
@npc.turn(0,3)
@npc.setspeed(0,2)
@npc.move(0,1)
@npc.turn(0,2)
@npc.setspeed(0,2)
@npc.move(0,2)
@sound.play(enter)
@npc.remove(0)
@register.register(ceruleangymgrunt)
@npc.unregister(gyms\cerulean_gym.dat|0|position|4,0,10)
@npc.register(routes\route24.dat|0|position|6,1,11)
:endif
:end