|
@@ -1,22 +0,0 @@
|
1
|
|
-#include <battle_abilities.h>
|
2
|
|
-#include <custom_structs.h>
|
3
|
|
-
|
4
|
|
-#include "battle_structs.h"
|
5
|
|
-
|
6
|
|
-u8 has_ability_effect(u8 bank, u8 mold_breaker, u8 gastro)
|
7
|
|
-{
|
8
|
|
- if(gastro && custom_battle_elements.ptr->bank_affecting[bank].gastro_acided)
|
9
|
|
- return false;
|
10
|
|
- return true;
|
11
|
|
- //TODO: MOLD BREAKER
|
12
|
|
-}
|
13
|
|
-
|
14
|
|
-u8 weather_abilities_effect()
|
15
|
|
-{
|
16
|
|
- //TODO: AIR LOCK AND CLOUD NINE
|
17
|
|
- return true;
|
18
|
|
-}
|
19
|
|
-u8 has_ability(u8 bank, u8 ability)
|
20
|
|
-{
|
21
|
|
- return (has_ability_effect(bank,0,1) && battle_participants[bank].ability_id == ability);
|
22
|
|
-}
|