Moved pokedex special constants to header

This commit is contained in:
pkmnsnfrn 2024-08-14 19:09:56 -07:00
parent bdeedaa949
commit 458340e043
2 changed files with 6 additions and 4 deletions

View file

@ -2383,10 +2383,7 @@
special SetMonBall special SetMonBall
.endm .endm
OPEN_PARTY_SCREEN = FALSE @ Check if the Player has \speciesId in their party. OPEN_PARTY_SCREEN will have the player select a mon from their party. NO_PARTY_SCREEN will automatically check every mon in the player's party.
NO_PARTY_SCREEN = TRUE
@ Check if the Player has \speciesId in their party.
.macro checkspecies speciesId:req, mode:req .macro checkspecies speciesId:req, mode:req
setvar VAR_0x8005, \speciesId setvar VAR_0x8005, \speciesId
.if \mode == OPEN_PARTY_SCREEN .if \mode == OPEN_PARTY_SCREEN

View file

@ -86,4 +86,9 @@
#define DEOXYS_ROCK_SOLVED 2 #define DEOXYS_ROCK_SOLVED 2
#define DEOXYS_ROCK_COMPLETE 3 #define DEOXYS_ROCK_COMPLETE 3
enum {
OPEN_PARTY_SCREEN,
NO_PARTY_SCREEN
};
#endif // GUARD_CONSTANTS_FIELD_SPECIALS_H #endif // GUARD_CONSTANTS_FIELD_SPECIALS_H