From 41f46cb156357c1ceaecec83d003bb0da6410236 Mon Sep 17 00:00:00 2001 From: ghoulslash <41651341+ghoulslash@users.noreply.github.com> Date: Mon, 7 Dec 2020 08:55:55 -0700 Subject: Updated Disable Bag Use In Battle (markdown) --- Disable-Bag-Use-In-Battle.md | 6 ++++++ 1 file changed, 6 insertions(+) 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); +``` + \ No newline at end of file -- cgit v1.2.3