summaryrefslogtreecommitdiff
path: root/src/pokemon_summary_screen.c
diff options
context:
space:
mode:
authorcamthesaxman <camthesaxman@users.noreply.github.com>2019-07-30 22:11:27 -0500
committercamthesaxman <camthesaxman@users.noreply.github.com>2019-07-30 22:11:27 -0500
commit0ba4eb4780805e3d6f9fd1739cbdcd2f280b8c5d (patch)
tree6caef3afbe03e6734587be5fad5fdfffed2eadf0 /src/pokemon_summary_screen.c
parentbc159dbb03735db55e6a09bb7947dccc70d0532b (diff)
misc
Diffstat (limited to 'src/pokemon_summary_screen.c')
-rw-r--r--src/pokemon_summary_screen.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/pokemon_summary_screen.c b/src/pokemon_summary_screen.c
index e970cc3bc..ef8360681 100644
--- a/src/pokemon_summary_screen.c
+++ b/src/pokemon_summary_screen.c
@@ -4772,15 +4772,15 @@ void sub_80A1C30(u8 a)
u8 GetPrimaryStatus(u32 status)
{
- if (status & (STATUS_POISON | STATUS_TOXIC_POISON))
+ if (status & (STATUS1_POISON | STATUS1_TOXIC_POISON))
return STATUS_PRIMARY_POISON;
- if (status & STATUS_PARALYSIS)
+ if (status & STATUS1_PARALYSIS)
return STATUS_PRIMARY_PARALYSIS;
- if (status & STATUS_SLEEP)
+ if (status & STATUS1_SLEEP)
return STATUS_PRIMARY_SLEEP;
- if (status & STATUS_FREEZE)
+ if (status & STATUS1_FREEZE)
return STATUS_PRIMARY_FREEZE;
- if (status & STATUS_BURN)
+ if (status & STATUS1_BURN)
return STATUS_PRIMARY_BURN;
return STATUS_PRIMARY_NONE;