Hopefully fixed a couple of crashes
This commit is contained in:
parent
5d4ae15b67
commit
a24f5ff637
|
@ -1756,9 +1756,11 @@
|
|||
If CanFireStepEvent() = True Then
|
||||
Dim addEggSteps As Integer = stepAmount
|
||||
For Each p As Pokemon In Pokemons
|
||||
If p.Ability.Name.ToLower() = "magma armor" Or p.Ability.Name.ToLower() = "flame body" Then
|
||||
addEggSteps *= Random.Next(1, 4)
|
||||
Exit For
|
||||
If p.Ability IsNot Nothing Then
|
||||
If p.Ability.Name.ToLower() = "magma armor" OrElse p.Ability.Name.ToLower() = "flame body" Then
|
||||
addEggSteps *= Random.Next(1, 4)
|
||||
Exit For
|
||||
End If
|
||||
End If
|
||||
Next
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
If Core.Player.IsGameJoltSave = True Then
|
||||
Me.canCreateAutosave = False
|
||||
Else
|
||||
If Not Me.PreScreen Is Nothing Then
|
||||
If Me.PreScreen IsNot Nothing AndAlso Camera.Name IsNot Nothing Then
|
||||
If Camera.Name <> "Overworld" Then
|
||||
Me.canCreateAutosave = False
|
||||
Else
|
||||
|
|
Loading…
Reference in New Issue