summaryrefslogtreecommitdiff
path: root/src/menu/pauseMenu.c
diff options
context:
space:
mode:
authorCatobat <69204835+Catobat@users.noreply.github.com>2023-04-24 16:31:06 +0200
committerCatobat <69204835+Catobat@users.noreply.github.com>2023-04-24 16:31:06 +0200
commite59630f2022059add2723949fbe38d7ae000bd43 (patch)
tree4f67fcae7543626bfada8ea34958e07cb990e658 /src/menu/pauseMenu.c
parent7e4466f92831c1ad1ced59d14f0347d02f561a5e (diff)
Fix dungeon item mixup
Diffstat (limited to 'src/menu/pauseMenu.c')
-rw-r--r--src/menu/pauseMenu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/menu/pauseMenu.c b/src/menu/pauseMenu.c
index 0b76815b..c36dbb9a 100644
--- a/src/menu/pauseMenu.c
+++ b/src/menu/pauseMenu.c
@@ -1153,17 +1153,17 @@ void sub_080A5D1C(void) {
DrawDirect(DRAW_DIRECT_SPRITE_INDEX, (gMain.ticks & 0x20) != 0 ? 0x78 : 0x79);
gOamCmd.y = 0x7e;
gOamCmd._8 = 0x4380;
- if (HasDungeonSmallKey()) {
+ if (HasDungeonMap()) {
gOamCmd.x = 0x18;
frameIndex = gSpriteAnimations_322[0x50]->index;
DrawDirect(SUB_080A5D1C_SPRITE_INDEX, frameIndex);
}
- if (HasDungeonCompass()) {
+ if (HasDungeonBigKey()) {
gOamCmd.x = 0x2e;
frameIndex = gSpriteAnimations_322[0x52]->index;
DrawDirect(SUB_080A5D1C_SPRITE_INDEX, frameIndex);
}
- if (HasDungeonBigKey()) {
+ if (HasDungeonCompass()) {
gOamCmd.x = 0x45;
gOamCmd._8 = 0x380;
frameIndex = gSpriteAnimations_322[0x51]->index;