From 7e0956f459779c1d756e56f8c0839e5a21d875be Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Mon, 21 Oct 2019 16:46:58 -0400 Subject: SEAGALLOP constants in event scripts --- include/constants/seagallop.h | 16 ++++++++++++++++ include/seagallop.h | 15 +-------------- 2 files changed, 17 insertions(+), 14 deletions(-) create mode 100644 include/constants/seagallop.h (limited to 'include') diff --git a/include/constants/seagallop.h b/include/constants/seagallop.h new file mode 100644 index 000000000..eff4eb7a5 --- /dev/null +++ b/include/constants/seagallop.h @@ -0,0 +1,16 @@ +#ifndef GUARD_CONSTANTS_SEAGALLOP_H +#define GUARD_CONSTANTS_SEAGALLOP_H + +#define SEAGALLOP_VERMILION_CITY 0 +#define SEAGALLOP_ONE_ISLAND 1 +#define SEAGALLOP_TWO_ISLAND 2 +#define SEAGALLOP_THREE_ISLAND 3 +#define SEAGALLOP_FOUR_ISLAND 4 +#define SEAGALLOP_FIVE_ISLAND 5 +#define SEAGALLOP_SIX_ISLAND 6 +#define SEAGALLOP_SEVEN_ISLAND 7 +#define SEAGALLOP_CINNABAR_ISLAND 8 +#define SEAGALLOP_NAVEL_ROCK 9 +#define SEAGALLOP_BIRTH_ISLAND 10 + +#endif //GUARD_CONSTANTS_SEAGALLOP_H diff --git a/include/seagallop.h b/include/seagallop.h index cce6da8ff..a8eaa6c88 100644 --- a/include/seagallop.h +++ b/include/seagallop.h @@ -1,20 +1,7 @@ #ifndef GUARD_SEAGALLOP_H #define GUARD_SEAGALLOP_H -enum SeaGallopDestinations -{ - SEAGALLOP_VERMILION_CITY, - SEAGALLOP_ONE_ISLAND, - SEAGALLOP_TWO_ISLAND, - SEAGALLOP_THREE_ISLAND, - SEAGALLOP_FOUR_ISLAND, - SEAGALLOP_FIVE_ISLAND, - SEAGALLOP_SIX_ISLAND, - SEAGALLOP_SEVEN_ISLAND, - SEAGALLOP_CINNABAR_ISLAND, - SEAGALLOP_NAVEL_ROCK, - SEAGALLOP_BIRTH_ISLAND -}; +#include "constants/seagallop.h" void ScrSpecial_SeaGallopFerry(void); -- cgit v1.2.3