diff options
Diffstat (limited to 'src/wild_encounter.c')
-rw-r--r-- | src/wild_encounter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wild_encounter.c b/src/wild_encounter.c index fc1776d07..8c7cfe80c 100644 --- a/src/wild_encounter.c +++ b/src/wild_encounter.c @@ -766,9 +766,9 @@ bool8 RepelCheck(bool8 level) void ApplyFluteEncounterRateMod(u32 *a1) { - if(FlagGet(0x84D) == 1) + if(FlagGet(SYS_ENC_UP_ITEM) == 1) *a1 = *a1 + *a1 / 2; - else if(FlagGet(0x84E) == 1) + else if(FlagGet(SYS_ENC_DOWN_ITEM) == 1) *a1 = *a1 / 2; } |