summaryrefslogtreecommitdiff
path: root/src/code/z_map_exp.c
diff options
context:
space:
mode:
authorpetrie911 <petrie911@users.noreply.github.com>2022-10-09 12:28:47 -0500
committerpetrie911 <petrie911@users.noreply.github.com>2022-10-09 12:28:47 -0500
commit01bcdd939cdca378f030ea5ae792dbaa27588dec (patch)
tree11b3f9b46b50dbc98e46c96d1a2ef1675084a5c2 /src/code/z_map_exp.c
parentb7b4b09e4d329cdf71480d799f6dd3a237bb809a (diff)
parente75b0c51f5a0856e03d7c5fd2e16171a982c4e53 (diff)
Merge remote-tracking branch 'upstream/master' into Aliens
Diffstat (limited to 'src/code/z_map_exp.c')
-rw-r--r--src/code/z_map_exp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code/z_map_exp.c b/src/code/z_map_exp.c
index 2b5eb1aac..57f51a20a 100644
--- a/src/code/z_map_exp.c
+++ b/src/code/z_map_exp.c
@@ -245,14 +245,14 @@ void Map_Update(PlayState* play) {
if (floor != -1) {
gSaveContext.save.permanentSceneFlags[Play_GetOriginalSceneId(play->sceneId)].unk_14 |=
gBitFlags[FLOOR_INDEX_MAX - floor];
- XREG(94) = FLOOR_INDEX_MAX - floor;
+ R_REVERSE_FLOOR_INDEX = FLOOR_INDEX_MAX - floor;
if (interfaceCtx->mapRoomNum != sLastRoomNum) {
sLastRoomNum = interfaceCtx->mapRoomNum;
}
}
} else if (Map_IsInBossArea(play)) {
func_80105294();
- XREG(94) = FLOOR_INDEX_MAX - func_80105318();
+ R_REVERSE_FLOOR_INDEX = FLOOR_INDEX_MAX - func_80105318();
}
}
}