mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-29 16:54:56 +02:00
Updated Eggmoves inheriting to Gen 6 (#28)
This commit is contained in:
parent
eeeeb18e94
commit
01bd460e3c
@ -82,15 +82,16 @@
|
|||||||
male = 1
|
male = 1
|
||||||
End If
|
End If
|
||||||
If male > -1 Then
|
If male > -1 Then
|
||||||
Dim cParent As Pokemon = Nothing
|
|
||||||
Select Case male
|
|
||||||
Case 0
|
|
||||||
cParent = parent1
|
|
||||||
Case 1
|
|
||||||
cParent = parent2
|
|
||||||
End Select
|
|
||||||
For Each BreedMove As Integer In p.EggMoves
|
For Each BreedMove As Integer In p.EggMoves
|
||||||
For Each m1 As BattleSystem.Attack In cParent.Attacks
|
For Each m1 As BattleSystem.Attack In parent1.Attacks
|
||||||
|
If m1.ID = BreedMove Then
|
||||||
|
GameJolt.Emblem.AchieveEmblem("eggsplosion")
|
||||||
|
|
||||||
|
Dim newAttack As BattleSystem.Attack = BattleSystem.Attack.GetAttackByID(m1.ID)
|
||||||
|
EggMoves.Add(newAttack)
|
||||||
|
End If
|
||||||
|
Next
|
||||||
|
For Each m1 As BattleSystem.Attack In parent2.Attacks
|
||||||
If m1.ID = BreedMove Then
|
If m1.ID = BreedMove Then
|
||||||
GameJolt.Emblem.AchieveEmblem("eggsplosion")
|
GameJolt.Emblem.AchieveEmblem("eggsplosion")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user