mirror of
				https://github.com/P3D-Legacy/P3D-Legacy.git
				synced 2025-10-30 19:14:36 +01:00 
			
		
		
		
	Added GM Move property to copy anims of other move
This commit is contained in:
		
							parent
							
								
									3c01312fd6
								
							
						
					
					
						commit
						58eba766ac
					
				| @ -199,6 +199,7 @@ | |||||||
|         Public Priority As Integer = 0 |         Public Priority As Integer = 0 | ||||||
|         Public TimesToAttack As Integer = 1 |         Public TimesToAttack As Integer = 1 | ||||||
|         Public gmTimesToAttack As String = "1" |         Public gmTimesToAttack As String = "1" | ||||||
|  |         Public gmUseMoveAnims As Attack = Nothing | ||||||
|         Public EffectChances As New List(Of Integer) |         Public EffectChances As New List(Of Integer) | ||||||
|         '#End |         '#End | ||||||
| 
 | 
 | ||||||
| @ -2227,7 +2228,13 @@ | |||||||
|         End Sub |         End Sub | ||||||
| 
 | 
 | ||||||
|         Public Overridable Sub InternalUserPokemonMoveAnimation(ByVal BattleScreen As BattleScreen, ByVal BattleFlip As Boolean, ByVal CurrentPokemon As Pokemon, ByVal CurrentEntity As NPC) |         Public Overridable Sub InternalUserPokemonMoveAnimation(ByVal BattleScreen As BattleScreen, ByVal BattleFlip As Boolean, ByVal CurrentPokemon As Pokemon, ByVal CurrentEntity As NPC) | ||||||
|             'Override this method in the attack class to insert the move animation query objects into the queue. |             If Me.IsGameModeMove = True Then | ||||||
|  |                 If gmUseMoveAnims IsNot Nothing Then | ||||||
|  |                     gmUseMoveAnims.InternalUserPokemonMoveAnimation(BattleScreen, BattleFlip, CurrentPokemon, CurrentEntity) | ||||||
|  |                 End If | ||||||
|  |             Else | ||||||
|  |                 'Override this method in the attack class to insert the move animation query objects into the queue. | ||||||
|  |             End If | ||||||
|         End Sub |         End Sub | ||||||
| 
 | 
 | ||||||
|         Public Sub OpponentPokemonMoveAnimation(ByVal BattleScreen As BattleScreen, ByVal own As Boolean) |         Public Sub OpponentPokemonMoveAnimation(ByVal BattleScreen As BattleScreen, ByVal own As Boolean) | ||||||
| @ -2245,7 +2252,13 @@ | |||||||
|         End Sub |         End Sub | ||||||
| 
 | 
 | ||||||
|         Public Overridable Sub InternalOpponentPokemonMoveAnimation(ByVal BattleScreen As BattleScreen, ByVal BattleFlip As Boolean, ByVal CurrentPokemon As Pokemon, ByVal CurrentEntity As NPC) |         Public Overridable Sub InternalOpponentPokemonMoveAnimation(ByVal BattleScreen As BattleScreen, ByVal BattleFlip As Boolean, ByVal CurrentPokemon As Pokemon, ByVal CurrentEntity As NPC) | ||||||
|             'Override this method in the attack class to insert the move animation query objects into the queue. |             If Me.IsGameModeMove = True Then | ||||||
|  |                 If gmUseMoveAnims IsNot Nothing Then | ||||||
|  |                     gmUseMoveAnims.InternalOpponentPokemonMoveAnimation(BattleScreen, BattleFlip, CurrentPokemon, CurrentEntity) | ||||||
|  |                 End If | ||||||
|  |             Else | ||||||
|  |                 'Override this method in the attack class to insert the move animation query objects into the queue. | ||||||
|  |             End If | ||||||
|         End Sub |         End Sub | ||||||
| 
 | 
 | ||||||
| #End Region | #End Region | ||||||
|  | |||||||
| @ -324,7 +324,8 @@ | |||||||
|                                         move.AIField3 = AIFieldType |                                         move.AIField3 = AIFieldType | ||||||
|                                     End If |                                     End If | ||||||
|                                 End If |                                 End If | ||||||
| 
 |                             Case "usemoveanims" | ||||||
|  |                                 move.gmUseMoveAnims = Attack.GetAttackByID(CInt(value)) | ||||||
|                         End Select |                         End Select | ||||||
|                     End If |                     End If | ||||||
|                 Next |                 Next | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user