wix pathing issue for eastern entrance contest start

This commit is contained in:
darkfire006 2023-01-08 01:48:18 -06:00
parent 728739760d
commit d8bd964b3f
2 changed files with 102 additions and 119 deletions

View File

@ -1,10 +1,6 @@
version=2 version=2
:if:<environment.day>=Tuesday <or> <environment.day>=Thursday <or> <environment.day>=Saturday :if:<environment.day>=Tuesday <or> <environment.day>=Thursday <or> <environment.day>=Saturday
:then
:if:<register.registered(bugcontest_done)>=true :if:<register.registered(bugcontest_done)>=true
:then
#Contest done this week #Contest done this week
@text.show(Today's Contest is~over. We hope you*will participate~in the future.) @text.show(Today's Contest is~over. We hope you*will participate~in the future.)
:end :end
@ -14,10 +10,8 @@ version=2
@text.show(Today's <environment.day>.~That means the*Bug-Catching Contest~is on today.*The rules are simple.*Using one of your~Pokémon, catch a*bug Pokémon to be~judged.*Would you like to~give it a try?) @text.show(Today's <environment.day>.~That means the*Bug-Catching Contest~is on today.*The rules are simple.*Using one of your~Pokémon, catch a*bug Pokémon to be~judged.*Would you like to~give it a try?)
@options.show(Yes,No) @options.show(Yes,No)
:when:Yes :when:Yes
#Check for Pokemon in party: #Check for Pokemon in party:
:if:<pokemon.count>>1 :if:<pokemon.count>>1
:then
#Has more than 1 Pokemon in party, thus the script stops. #Has more than 1 Pokemon in party, thus the script stops.
@text.show(Uh-oh...*You have more than~one Pokémon.*You'll have to deposit~all but one Pokémon to~boxes on the PC.) @text.show(Uh-oh...*You have more than~one Pokémon.*You'll have to deposit~all but one Pokémon to~boxes on the PC.)
:end :end
@ -57,15 +51,12 @@ version=2
@npc.turn(1,0) @npc.turn(1,0)
@script.start(nationalpark\unregister_NPCs) @script.start(nationalpark\unregister_NPCs)
:when:No :when:No
@text.show(OK. We hope you'll~take part in the~future.) @text.show(OK. We hope you'll~take part in the~future.)
:end :end
:endwhen :endwhen
:else :else
#Not the correct day. #Not the correct day.
@text.show(Some Pokémon can~only be seen in the Park.) @text.show(Some Pokémon can~only be seen in the Park.)
:endif :endif
:end :end

View File

@ -1,28 +1,21 @@
version=2 version=2
:if:<environment.day>=Tuesday <or> <environment.day>=Thursday <or> <environment.day>=Saturday :if:<environment.day>=Tuesday <or> <environment.day>=Thursday <or> <environment.day>=Saturday
:then
:if:<register.registered(bugcontest_done)>=true :if:<register.registered(bugcontest_done)>=true
:then
#Contest done this week #Contest done this week
@text.show(Today's Contest is~over. We hope you*will participate~in the future.) @text.show(Today's Contest is~over. We hope you*will participate~in the future.)
:end :end
:endif :endif
#Bug catching contest is today: #Bug catching contest is today:
@text.show(Today's <environment.day>.~That means the*Bug-Catching Contest~is on today.*The rules are simple.*Using one of your~Pokémon, catch a*bug Pokémon to be~judged.*Would you like to~give it a try?) @text.show(Today's <environment.day>.~That means the*Bug-Catching Contest~is on today.*The rules are simple.*Using one of your~Pokémon, catch a*bug Pokémon to be~judged.*Would you like to~give it a try?)
@options.show(Yes,No) @options.show(Yes,No)
:when:Yes :when:Yes
#Check for Pokemon in party: #Check for Pokemon in party:
:if:<pokemon.count>>1 :if:<pokemon.count>>1
:then
#Has more than 1 Pokemon in party, thus the script stops. #Has more than 1 Pokemon in party, thus the script stops.
@text.show(Uh-oh...*You have more than~one Pokémon.*You'll have to deposit~all but one Pokémon to~boxes on the PC.) @text.show(Uh-oh...*You have more than~one Pokémon.*You'll have to deposit~all but one Pokémon to~boxes on the PC.)
:end :end
:endif :endif
#Enter the contest (Remove all Sport Balls from bag, then add 20): #Enter the contest (Remove all Sport Balls from bag, then add 20):
@register.registertime(bugcontest_done,1,day) @register.registertime(bugcontest_done,1,day)
@ -36,11 +29,11 @@ version=2
@music.play(bugcontest) @music.play(bugcontest)
#make the player walk into the park + the wardens have to close the gate afterwards. #make the player walk into the park + the wardens have to close the gate afterwards.
@player.turnto(1) @player.turnto(1)
@player.move(3) @player.move(2)
@player.turnto(2) @player.turnto(2)
@player.move(1) @player.move(1)
@player.turnto(1) @player.turnto(1)
@player.move(1) @player.move(2)
@screen.fadeout @screen.fadeout
@player.warp(nationalpark\contest.dat,35,0.1,16,0) @player.warp(nationalpark\contest.dat,35,0.1,16,0)
@level.update @level.update
@ -57,7 +50,6 @@ version=2
@npc.turn(3,1) @npc.turn(3,1)
@script.start(nationalpark\unregister_NPCs) @script.start(nationalpark\unregister_NPCs)
:when:No :when:No
@text.show(OK. We hope you'll~take part in the~future.) @text.show(OK. We hope you'll~take part in the~future.)
:end :end