summaryrefslogtreecommitdiff
path: root/src/event_data.c
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2018-12-15 18:06:42 -0600
committerGitHub <noreply@github.com>2018-12-15 18:06:42 -0600
commitfb9a365dc6ddfebde03ac1ea3e770b30dbb5dbf2 (patch)
tree0960d1d78a4c4b758008cf7fbcab8048d1c371de /src/event_data.c
parent1ca3656d74faf8565e0f61b31a1cd3ab22a44706 (diff)
parent1d09216e4b776ed03daa83c66fd6600bc43f8d25 (diff)
Merge pull request #448 from Meowsy/pokedex-documentation
Pokedex Documentation
Diffstat (limited to 'src/event_data.c')
-rw-r--r--src/event_data.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/event_data.c b/src/event_data.c
index 8a998fe26..f6a1cde78 100644
--- a/src/event_data.c
+++ b/src/event_data.c
@@ -1,5 +1,6 @@
#include "global.h"
#include "event_data.h"
+#include "pokedex.h"
#define TEMP_FLAGS_SIZE 0x4
#define TEMP_UPPER_FLAGS_SIZE 0x8
@@ -67,7 +68,7 @@ void EnableNationalPokedex(void)
gSaveBlock2Ptr->pokedex.nationalMagic = 0xDA;
*nationalDexVar = 0x302;
FlagSet(FLAG_SYS_NATIONAL_DEX);
- gSaveBlock2Ptr->pokedex.unknown1 = 1;
+ gSaveBlock2Ptr->pokedex.mode = DEX_MODE_NATIONAL;
gSaveBlock2Ptr->pokedex.order = 0;
sub_80BB358();
}