Skip to content

Commit

Permalink
Add new things
Browse files Browse the repository at this point in the history
  • Loading branch information
jianmingyong committed Feb 4, 2015
1 parent ffa122d commit e5e1e2d
Show file tree
Hide file tree
Showing 23 changed files with 301 additions and 9 deletions.
8 changes: 7 additions & 1 deletion GameModes/Pokémon Universal 3D/Content/Data/pokedex.dat
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
Hoenn Pokédex|0|252-386,483
Kanto Pokédex|0|1-151
Johto Pokédex|0|152-251
Hoenn Pokédex|0|252-386
Sinnoh Pokédex|0|387-493
Unova Pokédex|0|494-649
Kalos Pokédex|0|661-663,674-675,679-681,696-700,703,707-709,714-715
National Pokédex|0|1-649,661-663,674-675,679-681,696-700,703,707-709,714-715
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name=Route 102
type=Grassland
{0|265|30|-1|2,4}
{0|263|27|-1|2,4}
{0|261|20|-1|2,4}
{0|270|11|-1|2,4}
{0|273|7|-1|2,4}
{0|280|4|-1|3,4}
{0|283|1|-1|3,3}
{2|183|79|-1|5,35}
{2|184|12|-1|20,25}
{2|283|6|-1|15,30}
{2|284|2|-1|25,25}
{2|118|1|-1|20,30}
{3|129|68|-1|5,10}
{3|118|32|-1|5,10}
{31|129|60|-1|10,30}
{31|118|26|-1|10,30}
{31|341|14|-1|10,30}
{32|341|100|-1|20,45}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name=Route 103
type=Grassland
{0|263|46|-1|2,4}
{0|261|40|-1|2,4}
{0|278|14|-1|2,4}
{2|72|62|-1|5,35}
{2|278|33|-1|10,30}
{2|279|5|-1|25,30}
{3|129|68|-1|5,15}
{3|72|32|-1|5,10}
{31|129|60|-1|10,30}
{31|72|26|-1|10,30}
{31|320|14|-1|10,30}
{32|320|76|-1|25,45}
{32|319|24|-1|30,35}
2 changes: 2 additions & 0 deletions GameModes/Pokémon Universal 3D/Maps/12/Route104/Route104.dat
Original file line number Diff line number Diff line change
Expand Up @@ -1295,6 +1295,8 @@ FlowerShopHouse.Layer.18.Floor.2
{"EntityField"{ENT[{"ID"{int[0110000161]}}{"EntityID"{str[WallBlock]}}{"Size"{intArr[1,1]}}{"Position"{sngArr[15,1,18]}}{"TexturePath"{str[12\Tileset_Outside]}}{"Textures"{recArr[[352,480,16,16][288,464,16,16]]}}{"TextureIndex"{intArr[0,0,-1,-1,-1,-1,-1,-1,1,1]}}{"Collision"{bool[1]}}{"ModelID"{int[1]}}{"Action"{int[0]}}{"AdditionalValue"{str[]}}{"Rotation"{int[0]}}]}}
{"EntityField"{ENT[{"ID"{int[0110000161]}}{"EntityID"{str[WallBlock]}}{"Size"{intArr[1,1]}}{"Position"{sngArr[16,1,18]}}{"TexturePath"{str[12\Tileset_Outside]}}{"Textures"{recArr[[368,480,16,16][384,480,16,16][288,464,16,16]]}}{"TextureIndex"{intArr[0,0,1,1,-1,-1,-1,-1,2,2]}}{"Collision"{bool[1]}}{"ModelID"{int[1]}}{"Action"{int[0]}}{"AdditionalValue"{str[]}}{"Rotation"{int[0]}}]}}

NPC.Layer.19
{"NPC"{NPC[{"Name"{str[016000019]}}{"ID"{int[016000019]}}{"Position"{sngArr[16,0,19]}}{"TextureID"{str[NPC 34]}}{"Action"{int[1]}}{"AdditionalValue"{str[12\Route104\016000019]}}{"Rotation"{int[1]}}{"Movement"{str[Walk]}}{"MoveRectangles"{recArr[[14,19,5,1]]}}{"AnimateIdle"{bool[0]}}]}}
NPC.Layer.50
{"NPC"{NPC[{"Name"{str[038000050]}}{"ID"{int[038000050]}}{"Position"{sngArr[38,0,50]}}{"TextureID"{str[Lady]}}{"Action"{int[1]}}{"AdditionalValue"{str[12\Route104\038000050]}}{"Rotation"{int[2]}}{"Movement"{str[Walk]}}{"MoveRectangles"{recArr[[38,50,3,3]]}}{"AnimateIdle"{bool[0]}}]}}
NPC.Layer.63
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ version=2
:end
:endif
:if:<Register.value(12\PetalburgWoods)>=2
@Entity.remove(030000027)
@Entity.remove(031000027)
:end
:endif
@Storage.set(str,System.ActionScript,12\PetalburgWoods\PetalburgWoods.dat)
Expand Down
15 changes: 15 additions & 0 deletions GameModes/Pokémon Universal 3D/Scripts/12/Route104/011000023.dat
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version=2
@Text.show(There are 2 Oran Berries!*Do you want to pick them?)
@Options.setcancelindex(1)
@Options.show(Yes,No)
:when:Yes
@Item.give(2006,2)
@Sound.play(item_found)
@Text.show(<Player.name> picked the 2 Oran Berries.*<Player.name> stored them in the Plants~pocket.)
@Entity.remove(011000023)
@Register.change(12\Route104\011000023,2)
@Level.reload
:when:No
:end
:endwhen
:end
18 changes: 18 additions & 0 deletions GameModes/Pokémon Universal 3D/Scripts/12/Route104/016000019.dat
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version=2
:if:<Register.value(12\Route104\016000019)>=1
@Text.show(This FLOWER SHOP started selling~saplings recently.*It made me so happy, I went overboard~shopping.*I don't need this WHITE HERB anymore.~Would you take it, please?)
@Text.show(There is no White Herb at the moment.~Sorry for any inconvenience caused.)
#@Item.give(White Herb,1)
#@Item.messagegive(White Herb,1)
#@Register.change(12\Route104\016000019,2)
:end
:endif
:if:<Register.value(12\Route104\016000019)>=2
@Text.show(This FLOWER SHOP started selling~saplings recently.*It made me so happy, I went overboard~shopping. Where should I put them?)
:end
:endif
@Storage.set(str,System.ActionScript,12\Route104\016000019.dat)
@Storage.set(int,System.ErrorLog.ErrorID0,1)
@Storage.set(int,System.ScreenState,3)
@Script.start(System\ScreenState\ScreenState.3)
:end
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version=2
@Sound.play(Select)
@Text.show(MR. BRINEY'S COTTAGE)
:end
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,22 @@
@Storage.set(str,System.GlobalRegisterValidation.<Storage.get(int,System.GlobalRegisterValidation.TotalError)>,[Register validation result: "12\PetalburgCity\PokeMart\002000002" has an invalid value.])
@Storage.set(int,System.GlobalRegisterValidation.TotalError,<Storage.get(int,System.GlobalRegisterValidation.TotalError)>+1)
:endif
:if:<Register.registered(12\Route104\016000019)>=false
@Storage.set(str,System.GlobalRegisterValidation.<Storage.get(int,System.GlobalRegisterValidation.TotalError)>,[Register validation result: "12\Route104\016000019" does not exist.])
@Storage.set(int,System.GlobalRegisterValidation.TotalError,<Storage.get(int,System.GlobalRegisterValidation.TotalError)>+1)
:endif
:if:<not><Register.value(12\Route104\016000019)>=1 <and> <not><Register.value(12\Route104\016000019)>=2
@Storage.set(str,System.GlobalRegisterValidation.<Storage.get(int,System.GlobalRegisterValidation.TotalError)>,[Register validation result: "12\Route104\016000019" has an invalid value.])
@Storage.set(int,System.GlobalRegisterValidation.TotalError,<Storage.get(int,System.GlobalRegisterValidation.TotalError)>+1)
:endif
:if:<Register.registered(12\Route104\011000023)>=false
@Storage.set(str,System.GlobalRegisterValidation.<Storage.get(int,System.GlobalRegisterValidation.TotalError)>,[Register validation result: "12\Route104\011000023" does not exist.])
@Storage.set(int,System.GlobalRegisterValidation.TotalError,<Storage.get(int,System.GlobalRegisterValidation.TotalError)>+1)
:endif
:if:<not><Register.value(12\Route104\011000023)>=1 <and> <not><Register.value(12\Route104\011000023)>=2
@Storage.set(str,System.GlobalRegisterValidation.<Storage.get(int,System.GlobalRegisterValidation.TotalError)>,[Register validation result: "12\Route104\011000023" has an invalid value.])
@Storage.set(int,System.GlobalRegisterValidation.TotalError,<Storage.get(int,System.GlobalRegisterValidation.TotalError)>+1)
:endif
:if:<Register.registered(12\Route104\013000026)>=false
@Storage.set(str,System.GlobalRegisterValidation.<Storage.get(int,System.GlobalRegisterValidation.TotalError)>,[Register validation result: "12\Route104\013000026" does not exist.])
@Storage.set(int,System.GlobalRegisterValidation.TotalError,<Storage.get(int,System.GlobalRegisterValidation.TotalError)>+1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ version=2
@Text.log(12\PetalburgCity\WallyHouse\007000004: <Register.value(12\PetalburgCity\WallyHouse\007000004)>)
@Text.log(12\PetalburgCity\PokeCenter\011000001: <Register.value(12\PetalburgCity\PokeCenter\011000001)>)
@Text.log(12\PetalburgCity\PokeMart\002000002: <Register.value(12\PetalburgCity\PokeMart\002000002)>)
@Text.log(12\Route104\016000019: <Register.value(12\Route104\016000019)>)
@Text.log(12\Route104\011000023: <Register.value(12\Route104\011000023)>)
@Text.log(12\Route104\013000026: <Register.value(12\Route104\013000026)>)
@Text.log(12\Route104\030000041: <Register.value(12\Route104\030000041)>)
@Text.log(12\Route104\032000041: <Register.value(12\Route104\032000041)>)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
version=2
@Sound.play(Select)
@Text.show(Welcome to Dialga Mystery Gift Transporter.~Game will be saved after a proper redeem.)
@Sound.play(Select)
@Text.show(Do you want to continue?)
@Options.setcancelindex(1)
@Options.show(YES,NO)
Expand All @@ -10,7 +8,6 @@
@Script.start(Function\Return.False)
:while:<System.return>=false
@Screen.input(,0,,999)
@Sound.play(Select)
@Text.show(The code you inserted is correct?)
@Options.setcancelindex(1)
@Options.show(YES,NO)
Expand All @@ -25,7 +22,6 @@
@Pokemon.add(483,100,Apparently had a fateful encounter,1,at Mystery Gift,0,Mystery Gift)
@Sound.play(success)
@Text.show(<Player.name> received~Dialga from mystery gift.)
@Sound.play(Select)
@Text.show(Thank you for using Dialga Mystery Gift~Transporter.)
@Register.change(QFBva2Vtb24uYWRkKDQ4MywxMDAsQXBwYXJlbnRseSBoYWQgYSBmYXRlZnVsIGVuY291bnRlciwxLGF0IE15c3RlcnkgR2lmdCwwLE15c3RlcnkgR2lmdCkequal,1)
@Player.save
Expand Down
4 changes: 2 additions & 2 deletions GameModes/Pokémon Universal 3D/Scripts/System/GlobalSave.dat
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version=2
:if:<Register.value(System.Game ID)>=12 <and> <not><Level.filename>=GlobalMain
@Register.change(System.PlayerPosition.X.12,<Player.position(x)>)
@Register.change(System.PlayerPosition.Y.12,<Math.int(<Player.position(y)>+0.1)>)
@Register.change(System.PlayerPosition.Y.12,<Player.position(y)>)
@Register.change(System.PlayerPosition.Z.12,<Player.position(z)>)
@Register.change(System.PlayerFacing.12,<Player.facing>)
@Register.change(System.PlayerThirdPerson.12,<Player.thirdperson>)
Expand All @@ -12,7 +12,7 @@ version=2
:endif
:if:<Register.value(System.Game ID)>=16 <and> <not><Level.filename>=GlobalMain
@Register.change(System.PlayerPosition.X.16,<Player.position(x)>)
@Register.change(System.PlayerPosition.Y.16,<Math.int(<Player.position(y)>+0.1)>)
@Register.change(System.PlayerPosition.Y.16,<Player.position(y)>)
@Register.change(System.PlayerPosition.Z.16,<Player.position(z)>)
@Register.change(System.LastMap.16,<Level.mapfile>)
:if:<Register.registered(System.Load.16)>=false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ version=2
:if:<Register.registered(12\PetalburgCity\PokeMart\002000002)>=false
@Register.register(12\PetalburgCity\PokeMart\002000002,int,1)
:endif
:if:<Register.registered(12\Route104\016000019)>=false
@Register.register(12\Route104\016000019,int,1)
:endif
:if:<Register.registered(12\Route104\011000023)>=false
@Register.register(12\Route104\011000023,int,1)
:endif
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[TRAINER FORMAT]
Name|Calvin
TrainerClass|Youngster
Money|88
IntroMessage|Ever since I lost to you, I desperately~trained my POKéMON.~You can't say no to my challenge!
OutroMessage|Arrgh, I lost...~Is my training method not right?
DefeatMessage|If you're going to get stronger,~I'll get stronger, too.
TextureID|Youngster
Region|12.Hoenn
IniMusic|P_OR_AS Trainer Battle_intro
DefeatMusic|P_OR_AS Victory! Trainer
BattleMusic|P_OR_AS Trainer Battle
Pokemon1|262,27
Pokemon2|
Pokemon3|
Pokemon4|
Pokemon5|
Pokemon6|
Items|
Gender|0
AI|2
IntroSequence|Green,Green
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[TRAINER FORMAT]
Name|Calvin
TrainerClass|Youngster
Money|96
IntroMessage|Ever since I lost to you, I desperately~trained my POKéMON.~You can't say no to my challenge!
OutroMessage|Arrgh, I lost...~Is my training method not right?
DefeatMessage|If you're going to get stronger,~I'll get stronger, too.
TextureID|Youngster
Region|12.Hoenn
IniMusic|P_OR_AS Trainer Battle_intro
DefeatMusic|P_OR_AS Victory! Trainer
BattleMusic|P_OR_AS Trainer Battle
Pokemon1|277,28
Pokemon2|262,30
Pokemon3|
Pokemon4|
Pokemon5|
Pokemon6|
Items|
Gender|0
AI|2
IntroSequence|Green,Green
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[TRAINER FORMAT]
Name|Calvin
TrainerClass|Youngster
Money|104
IntroMessage|Ever since I lost to you, I desperately~trained my POKéMON.~You can't say no to my challenge!
OutroMessage|Arrgh, I lost...~Is my training method not right?
DefeatMessage|If you're going to get stronger,~I'll get stronger, too.
TextureID|Youngster
Region|12.Hoenn
IniMusic|P_OR_AS Trainer Battle_intro
DefeatMusic|P_OR_AS Victory! Trainer
BattleMusic|P_OR_AS Trainer Battle
Pokemon1|277,31
Pokemon2|264,29
Pokemon3|262,33
Pokemon4|
Pokemon5|
Pokemon6|
Items|
Gender|0
AI|2
IntroSequence|Green,Green
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[TRAINER FORMAT]
Name|Calvin
TrainerClass|Youngster
Money|112
IntroMessage|Ever since I lost to you, I desperately~trained my POKéMON.~You can't say no to my challenge!
OutroMessage|Arrgh, I lost...~Is my training method not right?
DefeatMessage|If you're going to get stronger,~I'll get stronger, too.
TextureID|Youngster
Region|12.Hoenn
IniMusic|P_OR_AS Trainer Battle_intro
DefeatMusic|P_OR_AS Victory! Trainer
BattleMusic|P_OR_AS Trainer Battle
Pokemon1|277,34
Pokemon2|264,32
Pokemon3|262,36
Pokemon4|
Pokemon5|
Pokemon6|
Items|
Gender|0
AI|2
IntroSequence|Green,Green
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[TRAINER FORMAT]
Name|Cindy
TrainerClass|Lady
Money|1400
IntroMessage|Hello, we meet again.~May I ask you for a battle?
OutroMessage|Oh, my...~I did the best that I could...
DefeatMessage|"Hello" is the beginning of "good-bye."~I hope we meet again.
TextureID|Lady
Region|12.Hoenn
IniMusic|P_OR_AS Trainer Battle_intro
DefeatMusic|P_OR_AS Victory! Trainer
BattleMusic|P_OR_AS Trainer Battle
Pokemon1|263,11
Pokemon2|
Pokemon3|
Pokemon4|
Pokemon5|
Pokemon6|
Items|14
Gender|0
AI|2
IntroSequence|Green,Green
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[TRAINER FORMAT]
Name|Cindy
TrainerClass|Lady
Money|1540
IntroMessage|Hello, we meet again.~May I ask you for a battle?
OutroMessage|Oh, my...~I did the best that I could...
DefeatMessage|"Hello" is the beginning of "good-bye."~I hope we meet again.
TextureID|Lady
Region|12.Hoenn
IniMusic|P_OR_AS Trainer Battle_intro
DefeatMusic|P_OR_AS Victory! Trainer
BattleMusic|P_OR_AS Trainer Battle
Pokemon1|264,27
Pokemon2|
Pokemon3|
Pokemon4|
Pokemon5|
Pokemon6|
Items|14
Gender|0
AI|2
IntroSequence|Green,Green
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[TRAINER FORMAT]
Name|Cindy
TrainerClass|Lady
Money|1680
IntroMessage|Hello, we meet again.~May I ask you for a battle?
OutroMessage|Oh, my...~I did the best that I could...
DefeatMessage|"Hello" is the beginning of "good-bye."~I hope we meet again.
TextureID|Lady
Region|12.Hoenn
IniMusic|P_OR_AS Trainer Battle_intro
DefeatMusic|P_OR_AS Victory! Trainer
BattleMusic|P_OR_AS Trainer Battle
Pokemon1|264,30
Pokemon2|
Pokemon3|
Pokemon4|
Pokemon5|
Pokemon6|
Items|14
Gender|0
AI|2
IntroSequence|Green,Green
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[TRAINER FORMAT]
Name|Cindy
TrainerClass|Lady
Money|1820
IntroMessage|Hello, we meet again.~May I ask you for a battle?
OutroMessage|Oh, my...~I did the best that I could...
DefeatMessage|"Hello" is the beginning of "good-bye."~I hope we meet again.
TextureID|Lady
Region|12.Hoenn
IniMusic|P_OR_AS Trainer Battle_intro
DefeatMusic|P_OR_AS Victory! Trainer
BattleMusic|P_OR_AS Trainer Battle
Pokemon1|264,33
Pokemon2|
Pokemon3|
Pokemon4|
Pokemon5|
Pokemon6|
Items|14
Gender|0
AI|2
IntroSequence|Green,Green
Loading

0 comments on commit e5e1e2d

Please sign in to comment.