diff options
author | ghoulslash <41651341+ghoulslash@users.noreply.github.com> | 2020-12-07 08:56:28 -0700 |
---|---|---|
committer | ghoulslash <41651341+ghoulslash@users.noreply.github.com> | 2020-12-07 08:56:28 -0700 |
commit | 4c3ca5f0a99007a69b3108b208046f798830d749 (patch) | |
tree | c6485781e029b33a250e9f4a2c52bacbec2c837a | |
parent | 41f46cb156357c1ceaecec83d003bb0da6410236 (diff) |
Updated Disable Catching Pokemon (markdown)
-rw-r--r-- | Disable-Catching-Pokemon.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Disable-Catching-Pokemon.md b/Disable-Catching-Pokemon.md index 081b868..1cd163f 100644 --- a/Disable-Catching-Pokemon.md +++ b/Disable-Catching-Pokemon.md @@ -26,3 +26,9 @@ Open [src/item_use.c](../blob/master/src/item_use.c). Navigate to the function, ``` When `FLAG_DISABLE_CATCHING` is set, the player will no longer be able to use a poke ball in battle. + +### Reset after Whiteout +Open [src/overworld.c](../blob/master/src/overworld.c) and find the function `Overworld_ResetStateAfterWhiteOut`. Add the following alongside the other `FlagClear` functions: +``` +FlagClear(FLAG_DISABLE_CATCHING); +```
\ No newline at end of file |