From 9a4864c1cf8c0a6da847f3b8977aaca23b712a5a Mon Sep 17 00:00:00 2001 From: AnonymousRandomPerson Date: Fri, 4 Mar 2022 23:49:00 -0500 Subject: Decomped WeightWeakTypePicker() --- include/type_chart.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 include/type_chart.h (limited to 'include/type_chart.h') 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 -- cgit v1.2.3