diff options
author | AnonymousRandomPerson <chenghanngan.us@gmail.com> | 2022-03-04 23:49:00 -0500 |
---|---|---|
committer | AnonymousRandomPerson <chenghanngan.us@gmail.com> | 2022-03-10 22:32:17 -0500 |
commit | 9a4864c1cf8c0a6da847f3b8977aaca23b712a5a (patch) | |
tree | 76958584a3a92c8b713821de6e0c72f8437628eb /include/type_chart.h | |
parent | 8c0df48b9ebd0fa794a97c6280cc59b6dfcb9eef (diff) |
Decomped WeightWeakTypePicker()
Diffstat (limited to 'include/type_chart.h')
-rw-r--r-- | include/type_chart.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/type_chart.h b/include/type_chart.h new file mode 100644 index 0000000..4be0b33 --- /dev/null +++ b/include/type_chart.h @@ -0,0 +1,17 @@ +#ifndef GUARD_TYPE_CHART_H +#define GUARD_TYPE_CHART_H + +#include "global.h" +#include "constants/type.h" + +#define NUM_EFFECTIVENESS 4 + +#define EFFECTIVENESS_IMMUNE 0 +#define EFFECTIVENESS_RESIST 1 +#define EFFECTIVENESS_NEUTRAL 2 +#define EFFECTIVENESS_SUPER 3 + +// [Attacking type][Defending type] +extern const s16 gTypeEffectivenessChart[NUM_TYPES][NUM_TYPES]; + +#endif
\ No newline at end of file |