From 4d86834d12f788d78ec0ae9fc4ba999f7a0e1fc7 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Tue, 16 Mar 2021 21:16:31 -0400 Subject: Document item use functions in pokemon.c --- include/constants/pokemon.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/constants') diff --git a/include/constants/pokemon.h b/include/constants/pokemon.h index 0371f874f..d2d4c9d86 100644 --- a/include/constants/pokemon.h +++ b/include/constants/pokemon.h @@ -213,4 +213,9 @@ #define UNOWN_FORM_COUNT 28 #define BOX_NAME_LENGTH 8 +#define EVOTRIGGER_LEVEL_UP 0 +#define EVOTRIGGER_TRADE 1 +#define EVOTRIGGER_STONE 2 +#define EVOTRIGGER_STONE_2 3 + #endif // GUARD_CONSTANTS_POKEMON_H -- cgit v1.2.3 From c779411957262dc5971813a3f75d157190d9db51 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Thu, 18 Mar 2021 13:14:08 -0400 Subject: Sync EVO_MODE consts from emerald --- include/constants/pokemon.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/constants') diff --git a/include/constants/pokemon.h b/include/constants/pokemon.h index d2d4c9d86..8a32ef7d1 100644 --- a/include/constants/pokemon.h +++ b/include/constants/pokemon.h @@ -213,9 +213,9 @@ #define UNOWN_FORM_COUNT 28 #define BOX_NAME_LENGTH 8 -#define EVOTRIGGER_LEVEL_UP 0 -#define EVOTRIGGER_TRADE 1 -#define EVOTRIGGER_STONE 2 -#define EVOTRIGGER_STONE_2 3 +#define EVO_MODE_NORMAL 0 +#define EVO_MODE_TRADE 1 +#define EVO_MODE_ITEM_USE 2 +#define EVO_MODE_ITEM_CHECK 3 // If an Everstone is being held, still want to show that the stone *could* be used on that Pokémon to evolve #endif // GUARD_CONSTANTS_POKEMON_H -- cgit v1.2.3