diff --git a/include/global/pm_version.h b/include/global/pm_version.h index 89652f5f58..87eb3641a8 100644 --- a/include/global/pm_version.h +++ b/include/global/pm_version.h @@ -1,18 +1,17 @@ #ifndef POKEPLATINUM_PM_VERSION_H #define POKEPLATINUM_PM_VERSION_H -#define VERSION_NONE 0 -#define SAPPHIRE 1 -#define RUBY 2 -#define EMERALD 3 -#define FIRERED 4 -#define LEAFGREEN 5 -#define HEARTGOLD 7 -#define SOULSILVER 8 -#define DIAMOND 10 -#define PEARL 11 -#define PLATINUM 12 -#define COLOSSEUM 15 +#define SAPPHIRE 1 +#define RUBY 2 +#define EMERALD 3 +#define FIRERED 4 +#define LEAFGREEN 5 +#define HEARTGOLD 7 +#define SOULSILVER 8 +#define DIAMOND 10 +#define PEARL 11 +#define PLATINUM 12 +#define COLOSSEUM 15 #define JAPANESE 1 #define ENGLISH 2 diff --git a/src/main.c b/src/main.c index d5af9148fb..c59effecf2 100644 --- a/src/main.c +++ b/src/main.c @@ -71,7 +71,7 @@ void NitroMain(void) InitGraphics(); InitKeypadAndTouchpad(); - SetGBACartridgeVersion(VERSION_NONE); + SetGBACartridgeVersion(NULL); PM_GetBackLight(&sSavedBacklightState, NULL); sub_0202419C(); InitRTC(); diff --git a/src/overlay097/ov97_0222D30C.c b/src/overlay097/ov97_0222D30C.c index 694d772151..fc69e22955 100644 --- a/src/overlay097/ov97_0222D30C.c +++ b/src/overlay097/ov97_0222D30C.c @@ -2445,7 +2445,7 @@ static int ov97_022301BC(OverlayManager *param0, int *param1) Heap_Destroy(86); if (v0->unk_1638 == 2) { - SetGBACartridgeVersion(VERSION_NONE); + SetGBACartridgeVersion(NULL); } ov97_02238400(0);