Merge branch 'master' of https://github.com/P3D-Legacy/P3D-Legacy
This commit is contained in:
commit
d9f4173b0f
Binary file not shown.
|
@ -0,0 +1,19 @@
|
|||
version=2
|
||||
@text.show(If you've come to Dragon's~Den, you must be looking~to master the Dragon-type.)
|
||||
:if:<pokemon.type1(0)>=dragon <or> <pokemon.type2(0)>=dragon <or> <pokemon.number(0)>=493 <or> <pokemon.number(0)>=773
|
||||
:if:<pokemon.hasattack(0,434)>=false
|
||||
@text.show(Your <pokemon.name(0)>~seems capable.*Do you want it to learn~Draco Meteor, the most~powerful Dragon move?)
|
||||
@options.show(Yes,No)
|
||||
:when:Yes
|
||||
@text.show(I shall teach it, then.)
|
||||
@pokemon.learnattack(0,434)
|
||||
:when:No
|
||||
@text.show(Such a waste of potential.)
|
||||
:endwhen
|
||||
:else
|
||||
@text.show(Now that <pokemon.name(0)>~masters the draconic power,~nothing stands a chance!)
|
||||
:endif
|
||||
:else
|
||||
@text.show(But your <pokemon.name(0)>~is no Dragon-type.*If you catch any,~show it to me.)
|
||||
:endif
|
||||
:end
|
|
@ -42,7 +42,6 @@ version=2
|
|||
@npc.register(liberty\garden.dat|39|position|33,2,17)
|
||||
@npc.register(liberty\garden.dat|40|position|41,1,8)
|
||||
@npc.register(liberty\garden.dat|41|position|33,2,26)
|
||||
@npc.register(liberty\garden.dat|42|position|29,2,22)
|
||||
|
||||
@npc.register(liberty\garden.dat|1|remove|0)
|
||||
@npc.register(liberty\garden.dat|2|remove|0)
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
version=2
|
||||
:if:<register.registered(petrelliberty)>=false
|
||||
@text.show(I'm looking for the~strongest Pokémon to~pass down my teachings,~but those grunts want~to use the same power~for their greedy interests.)
|
||||
:end
|
||||
:endif
|
||||
:if:<register.registered(v-tutor)>=false
|
||||
@text.show(I seek a strong Pokémon~to pass down my teachings.*I don't, however, seek~just raw power, but~instead a Pokémon whose~body overflows with energy~and a burning passion~for victory!*Only such a creature~could use V-Create.)
|
||||
@register.register(v-tutor)
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -181,8 +181,8 @@ Trash:
|
|||
|
||||
Fences:
|
||||
{"EntityField"{ENT[{"Scale"{sngArr[1,0.8,1]}}{"Size"{intArr[12,1]}}{"EntityID"{str[WallBlock]}}{"Position"{sngArr[17,2.9,13]}}{"TexturePath"{str[Routes]}}{"Textures"{recArr[[112,32,16,16][128,32,16,16]]}}{"TextureIndex"{intArr[0,0,1,1,1,1,0,0,1,1]}}{"Collision"{bool[1]}}{"ModelID"{int[4]}}{"Action"{int[0]}}{"AdditionalValue"{str[]}}{"Rotation"{int[2]}}]}}
|
||||
{"EntityField"{ENT[{"Scale"{sngArr[1,0.8,1]}}{"Size"{intArr[3,1]}}{"EntityID"{str[WallBlock]}}{"Position"{sngArr[17,2.9,20]}}{"TexturePath"{str[Routes]}}{"Textures"{recArr[[112,32,16,16][128,32,16,16]]}}{"TextureIndex"{intArr[0,0,1,1,1,1,0,0,1,1]}}{"Collision"{bool[1]}}{"ModelID"{int[4]}}{"Action"{int[0]}}{"AdditionalValue"{str[]}}{"Rotation"{int[2]}}]}}
|
||||
{"EntityField"{ENT[{"Scale"{sngArr[1,0.8,1]}}{"Size"{intArr[3,1]}}{"EntityID"{str[WallBlock]}}{"Position"{sngArr[26,2.9,20]}}{"TexturePath"{str[Routes]}}{"Textures"{recArr[[112,32,16,16][128,32,16,16]]}}{"TextureIndex"{intArr[0,0,1,1,1,1,0,0,1,1]}}{"Collision"{bool[1]}}{"ModelID"{int[4]}}{"Action"{int[0]}}{"AdditionalValue"{str[]}}{"Rotation"{int[2]}}]}}
|
||||
{"EntityField"{ENT[{"Scale"{sngArr[1,0.8,1]}}{"Size"{intArr[3,1]}}{"EntityID"{str[WallBlock]}}{"Position"{sngArr[17,2.9,20.25]}}{"TexturePath"{str[Routes]}}{"Textures"{recArr[[112,32,16,16][128,32,16,16]]}}{"TextureIndex"{intArr[0,0,1,1,1,1,0,0,1,1]}}{"Collision"{bool[1]}}{"ModelID"{int[4]}}{"Action"{int[0]}}{"AdditionalValue"{str[]}}{"Rotation"{int[2]}}]}}
|
||||
{"EntityField"{ENT[{"Scale"{sngArr[1,0.8,1]}}{"Size"{intArr[3,1]}}{"EntityID"{str[WallBlock]}}{"Position"{sngArr[26,2.9,20.25]}}{"TexturePath"{str[Routes]}}{"Textures"{recArr[[112,32,16,16][128,32,16,16]]}}{"TextureIndex"{intArr[0,0,1,1,1,1,0,0,1,1]}}{"Collision"{bool[1]}}{"ModelID"{int[4]}}{"Action"{int[0]}}{"AdditionalValue"{str[]}}{"Rotation"{int[2]}}]}}
|
||||
{"EntityField"{ENT[{"Scale"{sngArr[1,0.8,1]}}{"Size"{intArr[1,7]}}{"EntityID"{str[WallBlock]}}{"Position"{sngArr[16.6,2.9,13.6]}}{"TexturePath"{str[Routes]}}{"Textures"{recArr[[112,32,16,16][128,32,16,16]]}}{"TextureIndex"{intArr[0,0,1,1,1,1,0,0,1,1]}}{"Collision"{bool[1]}}{"ModelID"{int[4]}}{"Action"{int[0]}}{"AdditionalValue"{str[]}}{"Rotation"{int[1]}}]}}
|
||||
{"EntityField"{ENT[{"Scale"{sngArr[1,0.8,1]}}{"Size"{intArr[1,7]}}{"EntityID"{str[WallBlock]}}{"Position"{sngArr[28.4,2.9,13.6]}}{"TexturePath"{str[Routes]}}{"Textures"{recArr[[112,32,16,16][128,32,16,16]]}}{"TextureIndex"{intArr[0,0,1,1,1,1,0,0,1,1]}}{"Collision"{bool[1]}}{"ModelID"{int[4]}}{"Action"{int[0]}}{"AdditionalValue"{str[]}}{"Rotation"{int[3]}}]}}
|
||||
{"EntityField"{ENT[{"Scale"{sngArr[1,0.8,1]}}{"Size"{intArr[1,1]}}{"EntityID"{str[WallBlock]}}{"Position"{sngArr[19.35,2.9,19.6]}}{"TexturePath"{str[Routes]}}{"Textures"{recArr[[112,32,16,16][128,32,16,16]]}}{"TextureIndex"{intArr[0,0,1,1,1,1,0,0,1,1]}}{"Collision"{bool[1]}}{"ModelID"{int[4]}}{"Action"{int[0]}}{"AdditionalValue"{str[]}}{"Rotation"{int[3]}}]}}
|
||||
|
@ -491,4 +491,4 @@ NPC:
|
|||
{"NPC"{NPC[{"Position"{sngArr[41,-1,8]}}{"TextureID"{str[50]}}{"ID"{int[40]}}{"Name"{str[Civilian]}}{"Action"{int[0]}}{"AdditionalValue"{str[Unova has many cool Pokémon.*Do you also have cool Pokémon~in your home region?]}}{"Rotation"{int[0]}}{"Movement"{str[Looking]}}{"MoveRectangles"{recArr[]}}]}}
|
||||
{"NPC"{NPC[{"Position"{sngArr[33,-2,26]}}{"TextureID"{str[95]}}{"ID"{int[41]}}{"Name"{str[Officer]}}{"Action"{int[0]}}{"AdditionalValue"{str[We're keeping our own~watercraft to secure the~island now.]}}{"Rotation"{int[1]}}{"Movement"{str[Still]}}{"MoveRectangles"{recArr[]}}]}}
|
||||
|
||||
{"NPC"{NPC[{"Position"{sngArr[29,-2,22]}}{"TextureID"{str[Elder]}}{"ID"{int[42]}}{"Name"{str[Civilian]}}{"Action"{int[1]}}{"AdditionalValue"{str[liberty\tutor]}}{"Rotation"{int[2]}}{"Movement"{str[Still]}}{"MoveRectangles"{recArr[]}}]}}
|
||||
{"NPC"{NPC[{"Position"{sngArr[19,2,8]}}{"TextureID"{str[Elder]}}{"ID"{int[42]}}{"Name"{str[Tutor]}}{"Action"{int[1]}}{"AdditionalValue"{str[liberty\tutor]}}{"Rotation"{int[3]}}{"Movement"{str[looking]}}{"MoveRectangles"{recArr[]}}]}}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -25702,6 +25702,7 @@
|
|||
<Compile Include="Pokemon\Items\KeyItems\LibertySeaMap.vb" />
|
||||
<Compile Include="Pokemon\Items\Standard\DouseDrive.vb" />
|
||||
<Compile Include="Pokemon\Items\Standard\ChillDrive.vb" />
|
||||
<Compile Include="Pokemon\Items\Standard\FlameOrb.vb" />
|
||||
<Compile Include="Pokemon\Items\Standard\ShockDrive.vb" />
|
||||
<Compile Include="Pokemon\Items\Standard\BurnDrive.vb" />
|
||||
<Compile Include="Pokemon\Items\Standard\ExpertBelt.vb" />
|
||||
|
@ -25796,6 +25797,12 @@
|
|||
<None Include="Content\Data\maps\poke\routes\route28.poke">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="Content\Data\Scripts\cerulean\novenu.dat">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="Content\Data\Scripts\dragonsden\dracotutor.dat">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="Content\Data\Scripts\faraway\ancestoremblemcheck.dat">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
|
@ -25877,6 +25884,9 @@
|
|||
<None Include="Content\Data\Scripts\mtember\eruptionemblemcheck.dat">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="Content\Data\Scripts\route25\nochar.dat">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="Content\Data\Scripts\trainer\kolben\Segis.trainer">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
|
@ -25952,6 +25962,15 @@
|
|||
<None Include="Content\Data\Scripts\trainer\liberty\inside\Petrel.trainer">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="Content\Data\Scripts\trainer\mtsilver\red1.trainer">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="Content\Data\Scripts\trainer\mtsilver\red2.trainer">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="Content\Data\Scripts\trainer\mtsilver\red3.trainer">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="Content\Data\Scripts\underwatercave\deepseaemblemcheck.dat">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
|
|
|
@ -6,7 +6,7 @@ Namespace Items.Medicine
|
|||
Inherits MedicineItem
|
||||
|
||||
Public Overrides ReadOnly Property PokeDollarPrice As Integer = 500
|
||||
Public Overrides ReadOnly Property Description As String = "A bitter medicine powder. When consumed, it restores 50 HP to an injured Pokémon."
|
||||
Public Overrides ReadOnly Property Description As String = "A bitter medicine powder. When consumed, it restores 60 HP to an injured Pokémon."
|
||||
Public Overrides ReadOnly Property IsHealingItem As Boolean = True
|
||||
|
||||
Public Sub New()
|
||||
|
@ -25,7 +25,7 @@ Namespace Items.Medicine
|
|||
End Sub
|
||||
|
||||
Public Overrides Function UseOnPokemon(ByVal PokeIndex As Integer) As Boolean
|
||||
Dim success As Boolean = HealPokemon(PokeIndex, 50)
|
||||
Dim success As Boolean = HealPokemon(PokeIndex, 60)
|
||||
If success Then
|
||||
Core.Player.Pokemons(PokeIndex).ChangeFriendShip(Pokemon.FriendShipCauses.EnergyPowder)
|
||||
End If
|
||||
|
|
|
@ -6,7 +6,7 @@ Namespace Items.Medicine
|
|||
Inherits MedicineItem
|
||||
|
||||
Public Overrides ReadOnly Property PokeDollarPrice As Integer = 800
|
||||
Public Overrides ReadOnly Property Description As String = "An extremely bitter medicinal root. When consumed, it restores 200 HP to an injured Pokémon."
|
||||
Public Overrides ReadOnly Property Description As String = "An extremely bitter medicinal root. When consumed, it restores 120 HP to an injured Pokémon."
|
||||
Public Overrides ReadOnly Property IsHealingItem As Boolean = True
|
||||
|
||||
Public Sub New()
|
||||
|
@ -25,7 +25,7 @@ Namespace Items.Medicine
|
|||
End Sub
|
||||
|
||||
Public Overrides Function UseOnPokemon(ByVal PokeIndex As Integer) As Boolean
|
||||
Dim r As Boolean = HealPokemon(PokeIndex, 200)
|
||||
Dim r As Boolean = HealPokemon(PokeIndex, 120)
|
||||
If r = True Then
|
||||
Core.Player.Pokemons(PokeIndex).ChangeFriendShip(Pokemon.FriendShipCauses.EnergyRoot)
|
||||
End If
|
||||
|
|
|
@ -6,7 +6,7 @@ Namespace Items.Medicine
|
|||
Inherits MedicineItem
|
||||
|
||||
Public Overrides ReadOnly Property PokeDollarPrice As Integer = 200
|
||||
Public Overrides ReadOnly Property Description As String = "Water with a high mineral content. When consumed, it restores 50 HP to an injured Pokémon."
|
||||
Public Overrides ReadOnly Property Description As String = "Water with a high mineral content. When consumed, it restores 30 HP to an injured Pokémon."
|
||||
Public Overrides ReadOnly Property IsHealingItem As Boolean = True
|
||||
|
||||
Public Sub New()
|
||||
|
|
|
@ -6,7 +6,7 @@ Namespace Items.Medicine
|
|||
Inherits MedicineItem
|
||||
|
||||
Public Overrides ReadOnly Property IsHealingItem As Boolean = True
|
||||
Public Overrides ReadOnly Property Description As String = "A spray-type medicine for treating wounds. It can be used to restore 200 HP to an injured Pokémon."
|
||||
Public Overrides ReadOnly Property Description As String = "A spray-type medicine for treating wounds. It can be used to restore 120 HP to an injured Pokémon."
|
||||
Public Overrides ReadOnly Property PokeDollarPrice As Integer = 1500
|
||||
|
||||
Public Sub New()
|
||||
|
|
|
@ -6,7 +6,7 @@ Namespace Items.Medicine
|
|||
Inherits MedicineItem
|
||||
|
||||
Public Overrides ReadOnly Property IsHealingItem As Boolean = True
|
||||
Public Overrides ReadOnly Property Description As String = "A very sweet and refreshing drink. When consumed, it restores 80 HP to an injured Pokémon."
|
||||
Public Overrides ReadOnly Property Description As String = "A very sweet and refreshing drink. When consumed, it restores 70 HP to an injured Pokémon."
|
||||
Public Overrides ReadOnly Property PokeDollarPrice As Integer = 350
|
||||
|
||||
Public Sub New()
|
||||
|
|
|
@ -6,7 +6,7 @@ Namespace Items.Medicine
|
|||
Inherits MedicineItem
|
||||
|
||||
Public Overrides ReadOnly Property IsHealingItem As Boolean = True
|
||||
Public Overrides ReadOnly Property Description As String = "A famous Mahogany Town candy tourists like to buy and take home. It restores the HP of one Pokémon by 20 points."
|
||||
Public Overrides ReadOnly Property Description As String = "A famous Mahogany Town candy tourists like to buy and take home. It can be used once to heal all the status conditions of a Pokémon."
|
||||
Public Overrides ReadOnly Property PokeDollarPrice As Integer = 300
|
||||
|
||||
Public Sub New()
|
||||
|
@ -25,7 +25,38 @@ Namespace Items.Medicine
|
|||
End Sub
|
||||
|
||||
Public Overrides Function UseOnPokemon(ByVal PokeIndex As Integer) As Boolean
|
||||
Return HealPokemon(PokeIndex, 20)
|
||||
Dim Pokemon As Pokemon = Core.Player.Pokemons(PokeIndex)
|
||||
|
||||
If Pokemon.Status = P3D.Pokemon.StatusProblems.Fainted Then
|
||||
Screen.TextBox.reDelay = 0.0F
|
||||
Screen.TextBox.Show(Pokemon.GetDisplayName() & "~is fainted!", {})
|
||||
|
||||
Return False
|
||||
Else
|
||||
If Pokemon.Status <> P3D.Pokemon.StatusProblems.None Or Pokemon.HasVolatileStatus(P3D.Pokemon.VolatileStatus.Confusion) = True Then
|
||||
Pokemon.Status = P3D.Pokemon.StatusProblems.None
|
||||
|
||||
If Pokemon.HasVolatileStatus(P3D.Pokemon.VolatileStatus.Confusion) = True Then
|
||||
Pokemon.RemoveVolatileStatus(P3D.Pokemon.VolatileStatus.Confusion)
|
||||
End If
|
||||
|
||||
Screen.TextBox.reDelay = 0.0F
|
||||
|
||||
Dim t As String = Pokemon.GetDisplayName() & "~gets healed up!"
|
||||
t &= RemoveItem()
|
||||
|
||||
SoundManager.PlaySound("single_heal", False)
|
||||
Screen.TextBox.Show(t, {})
|
||||
PlayerStatistics.Track("[17]Medicine Items used", 1)
|
||||
|
||||
Return True
|
||||
Else
|
||||
Screen.TextBox.reDelay = 0.0F
|
||||
Screen.TextBox.Show(Pokemon.GetDisplayName() & "~is fully healed!", {}, True, True)
|
||||
|
||||
Return False
|
||||
End If
|
||||
End If
|
||||
End Function
|
||||
|
||||
End Class
|
||||
|
|
|
@ -6,7 +6,7 @@ Namespace Items.Medicine
|
|||
Inherits MedicineItem
|
||||
|
||||
Public Overrides ReadOnly Property IsHealingItem As Boolean = True
|
||||
Public Overrides ReadOnly Property Description As String = "A highly carbonated soda drink. When consumed, it restores 60 HP to an injured Pokémon."
|
||||
Public Overrides ReadOnly Property Description As String = "A highly carbonated soda drink. When consumed, it restores 50 HP to an injured Pokémon."
|
||||
Public Overrides ReadOnly Property PokeDollarPrice As Integer = 300
|
||||
|
||||
Public Sub New()
|
||||
|
|
|
@ -6,7 +6,7 @@ Namespace Items.Medicine
|
|||
Inherits MedicineItem
|
||||
|
||||
Public Overrides ReadOnly Property IsHealingItem As Boolean = True
|
||||
Public Overrides ReadOnly Property Description As String = "A spray-type medicine for treating wounds. It can be used to restore 50 HP to an injured Pokémon."
|
||||
Public Overrides ReadOnly Property Description As String = "A spray-type medicine for treating wounds. It can be used to restore 60 HP to an injured Pokémon."
|
||||
Public Overrides ReadOnly Property PokeDollarPrice As Integer = 700
|
||||
|
||||
Public Sub New()
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
Namespace Items.Standard
|
||||
|
||||
<Item(577, "Flame Orb")>
|
||||
Public Class FlameOrb
|
||||
|
||||
Inherits Item
|
||||
|
||||
Public Overrides ReadOnly Property Description As String = "An item to be held by a Pokémon. It is a bizarre orb that inflicts a burn on the holder in battle."
|
||||
Public Overrides ReadOnly Property PokeDollarPrice As Integer = 200
|
||||
Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False
|
||||
Public Overrides ReadOnly Property CanBeUsed As Boolean = False
|
||||
|
||||
Public Sub New()
|
||||
_textureRectangle = New Rectangle(480, 264, 24, 24)
|
||||
End Sub
|
||||
|
||||
End Class
|
||||
|
||||
End Namespace
|
Binary file not shown.
Loading…
Reference in New Issue