summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/bugs_and_glitches.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/bugs_and_glitches.md b/docs/bugs_and_glitches.md
index 285718598..07955ecd5 100644
--- a/docs/bugs_and_glitches.md
+++ b/docs/bugs_and_glitches.md
@@ -89,10 +89,10 @@ Then edit `BagMenu_MoveCursorCallback` in [src/item_menu.c](https://github.com/p
```diff
...
{
-- RemoveBagItemIconSprite(1 ^ gBagMenu->unk81B_1);
-+ HideBagItemIconSprite(gBagMenu->unk81B_1 ^ 1);
-+ RemoveBagItemIconSprite(gBagMenu->unk81B_1);
- if (a != -2)
+- RemoveBagItemIconSprite(1 ^ gBagMenu->itemIconSlot);
++ HideBagItemIconSprite(gBagMenu->itemIconSlot ^ 1);
++ RemoveBagItemIconSprite(gBagMenu->itemIconSlot);
+ if (itemIndex != LIST_CANCEL)
...
```