diff options
author | YamaArashi <shadow962@live.com> | 2016-11-05 12:24:14 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-11-05 13:16:27 -0700 |
commit | 45e50b871d9a9e3d389b0eb1536a597d511e4f77 (patch) | |
tree | dafbe29aef1a467cc7014959e5781e1724d5c724 /src/wild_encounter.c | |
parent | 9ad2946284849cab5d84b446415ea67fccec0157 (diff) |
introduce flag constants
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; } |