diff options
author | ghoulslash <41651341+ghoulslash@users.noreply.github.com> | 2020-12-07 08:55:55 -0700 |
---|---|---|
committer | ghoulslash <41651341+ghoulslash@users.noreply.github.com> | 2020-12-07 08:55:55 -0700 |
commit | 41f46cb156357c1ceaecec83d003bb0da6410236 (patch) | |
tree | 084b53009ccfa61425735af00201c1c289acb909 | |
parent | 2dda00f3d21721334d085ce1bcec468b08cabd0c (diff) |
Updated Disable Bag Use In Battle (markdown)
-rw-r--r-- | Disable-Bag-Use-In-Battle.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Disable-Bag-Use-In-Battle.md b/Disable-Bag-Use-In-Battle.md index eae8e7d..8f1a6a8 100644 --- a/Disable-Bag-Use-In-Battle.md +++ b/Disable-Bag-Use-In-Battle.md @@ -23,4 +23,10 @@ if (FlagGet(FLAG_DISABLE_BAG) || gBattleTypeFlags & (BATTLE_TYPE_LINK If `FLAG_DISABLE_BAG` is set, selecting `BAG` in battle will display the message `Items can't be used now.` +### 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_BAG); +``` + <a href="https://imgur.com/IaSvW30"><img src="https://i.imgur.com/IaSvW30.png" title="source: imgur.com" /></a>
\ No newline at end of file |