-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
098e58a
commit 6e05dfc
Showing
6 changed files
with
30 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#ifndef PMDSKY_JOINED_AT_CHECKS_H | ||
#define PMDSKY_JOINED_AT_CHECKS_H | ||
|
||
#include "dungeon_mode.h" | ||
|
||
bool8 IsSpecialStoryAlly(struct monster *pokemon_info); | ||
bool8 IsExperienceLocked(struct monster *pokemon_info); | ||
|
||
#endif //PMDSKY_JOINED_AT_CHECKS_H |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#include "joined_at_checks.h" | ||
|
||
bool8 IsSpecialStoryAlly(struct monster *pokemon_info) | ||
{ | ||
if (pokemon_info->joined_at >= DUNGEON_JOINED_AT_BIDOOF && pokemon_info->joined_at < DUNGEON_DUMMY_0xE4) | ||
return TRUE; | ||
|
||
return FALSE; | ||
} | ||
|
||
bool8 IsExperienceLocked(struct monster *pokemon_info) | ||
{ | ||
if (pokemon_info->joined_at == DUNGEON_CLIENT) | ||
return TRUE; | ||
|
||
if (IsSpecialStoryAlly(pokemon_info)) | ||
return TRUE; | ||
|
||
return FALSE; | ||
} |
This file was deleted.
Oops, something went wrong.