several rematch bugs because QA

This commit is contained in:
darkfire006 2019-02-15 22:42:16 -06:00
parent 779ceb1b84
commit 8f844e4e19
43 changed files with 21 additions and 13 deletions

View File

@ -1,4 +1,4 @@
version=2 version=2
@storage.set(string,leader,bugsy<register.exists(earthbadge_obtain)>) @storage.set(string,leader,bugsy<register.registered(earthbadge_obtain)>)
@script.start(trainer\gymrematch\main) @script.start(trainer\gymrematch\main)
:end :end

View File

@ -1,4 +1,4 @@
version=2 version=2
@storage.set(string,leader,chuck<register.exists(earthbadge_obtain)>) @storage.set(string,leader,chuck<register.registered(earthbadge_obtain)>)
@script.start(trainer\gymrematch\main) @script.start(trainer\gymrematch\main)
:end :end

View File

@ -1,4 +1,4 @@
version=2 version=2
@storage.set(string,leader,clair<register.exists(earthbadge_obtain)>) @storage.set(string,leader,clair<register.registered(earthbadge_obtain)>)
@script.start(trainer\gymrematch\main) @script.start(trainer\gymrematch\main)
:end :end

View File

@ -1,4 +1,4 @@
version=2 version=2
@storage.set(string,leader,falkner<register.exists(earthbadge_obtain)>) @storage.set(string,leader,falkner<register.registered(earthbadge_obtain)>)
@script.start(trainer\gymrematch\main) @script.start(trainer\gymrematch\main)
:end :end

View File

@ -1,4 +1,4 @@
version=2 version=2
@storage.set(string,leader,jasmine<register.exists(earthbadge_obtain)>) @storage.set(string,leader,jasmine<register.registered(earthbadge_obtain)>)
@script.start(trainer\gymrematch\main) @script.start(trainer\gymrematch\main)
:end :end

View File

@ -1,6 +1,5 @@
version=2 version=2
#0: gym leader :if:<register.registered(<storage.get(string,leader)>rematch)>=false
:if:<register.exists(<storage.get(string,leader)>rematch)>=false
@text.show(<battle.intromessage(gymrematch\\<storage.get(string,leader)>)>) @text.show(<battle.intromessage(gymrematch\\<storage.get(string,leader)>)>)
@battle.trainer(gymrematch\\<storage.get(string,leader)>) @battle.trainer(gymrematch\\<storage.get(string,leader)>)
@register.registertime(<storage.get(string,leader)>rematch,12,hours) @register.registertime(<storage.get(string,leader)>rematch,12,hours)

View File

@ -5,6 +5,6 @@ version=2
:end :end
:endif :endif
@storage.set(string,leader,morty<register.exists(earthbadge_obtain)>) @storage.set(string,leader,morty<register.registered(earthbadge_obtain)>)
@script.start(trainer\gymrematch\main) @script.start(trainer\gymrematch\main)
:end :end

View File

@ -1,4 +1,4 @@
version=2 version=2
@storage.set(string,leader,pryce<register.exists(earthbadge_obtain)>) @storage.set(string,leader,pryce<register.registered(earthbadge_obtain)>)
@script.start(trainer\gymrematch\main) @script.start(trainer\gymrematch\main)
:end :end

View File

@ -1,4 +1,4 @@
version=2 version=2
@storage.set(string,leader,whitney<register.exists(earthbadge_obtain)>) @storage.set(string,leader,whitney<register.registered(earthbadge_obtain)>)
@script.start(trainer\gymrematch\main) @script.start(trainer\gymrematch\main)
:end :end

Binary file not shown.

View File

@ -25739,6 +25739,9 @@
<Content Include="Content\Data\maps\dungeon\2\mega.dat"> <Content Include="Content\Data\maps\dungeon\2\mega.dat">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </Content>
<None Include="Content\Data\maps\battle\goldenrod\club.dat">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="Content\Data\maps\battle\kolben\basement.dat"> <None Include="Content\Data\maps\battle\kolben\basement.dat">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None> </None>
@ -26114,11 +26117,15 @@
<None Include="Content\Data\Scripts\trainer\gymrematch\green.trainer"> <None Include="Content\Data\Scripts\trainer\gymrematch\green.trainer">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None> </None>
<None Include="Content\Data\Scripts\trainer\gymrematch\james.dat" /> <None Include="Content\Data\Scripts\trainer\gymrematch\james.dat">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="Content\Data\Scripts\trainer\gymrematch\james.trainer"> <None Include="Content\Data\Scripts\trainer\gymrematch\james.trainer">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None> </None>
<None Include="Content\Data\Scripts\trainer\gymrematch\jessie.dat" /> <None Include="Content\Data\Scripts\trainer\gymrematch\jessie.dat">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="Content\Data\Scripts\trainer\gymrematch\jessie.trainer"> <None Include="Content\Data\Scripts\trainer\gymrematch\jessie.trainer">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None> </None>
@ -26128,7 +26135,9 @@
<None Include="Content\Data\Scripts\trainer\gymrematch\kiyo.trainer"> <None Include="Content\Data\Scripts\trainer\gymrematch\kiyo.trainer">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None> </None>
<None Include="Content\Data\Scripts\trainer\gymrematch\meowth.dat" /> <None Include="Content\Data\Scripts\trainer\gymrematch\meowth.dat">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="Content\Data\Scripts\trainer\gymrematch\oak.dat"> <None Include="Content\Data\Scripts\trainer\gymrematch\oak.dat">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None> </None>