Updated Eggmoves inheriting to Gen 6 (#28)
This commit is contained in:
parent
eeeeb18e94
commit
01bd460e3c
|
@ -82,15 +82,16 @@
|
|||
male = 1
|
||||
End If
|
||||
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 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
|
||||
GameJolt.Emblem.AchieveEmblem("eggsplosion")
|
||||
|
||||
|
|
Loading…
Reference in New Issue