diff options
-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 |