summaryrefslogtreecommitdiff
path: root/src/overlays/gamestates/ovl_play/m_play.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/overlays/gamestates/ovl_play/m_play.c')
-rw-r--r--src/overlays/gamestates/ovl_play/m_play.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/overlays/gamestates/ovl_play/m_play.c b/src/overlays/gamestates/ovl_play/m_play.c
index 1cbd4a2..44dea63 100644
--- a/src/overlays/gamestates/ovl_play/m_play.c
+++ b/src/overlays/gamestates/ovl_play/m_play.c
@@ -482,8 +482,8 @@ void Game_play_move(Game_Play* game_play) {
game_play->state.unk_9D = 0x8D;
game_play->state.unk_9C = 1;
Game_play_Reset_destiny();
- gSegments[4] = (uintptr_t)OS_K0_TO_PHYSICAL(p->status[0].segment);
- gSegments[2] = (uintptr_t)OS_K0_TO_PHYSICAL(game_play->unk_010C);
+ SegmentBaseAddress[4] = (uintptr_t)OS_K0_TO_PHYSICAL(p->status[0].segment);
+ SegmentBaseAddress[2] = (uintptr_t)OS_K0_TO_PHYSICAL(game_play->unk_010C);
game_play->state.unk_9C = 2;
if (zurumode_flag >= 2) {
@@ -536,8 +536,8 @@ void Game_play_move(Game_Play* game_play) {
void func_80803810_jp(Game_Play* game_play, GraphicsContext* gfxCtx) {
void* temp_v0 = game_play->objectExchangeBank.status[0].segment;
- gSegments[4] = (uintptr_t)OS_K0_TO_PHYSICAL(temp_v0);
- gSegments[2] = (uintptr_t)OS_K0_TO_PHYSICAL(game_play->unk_010C);
+ SegmentBaseAddress[4] = (uintptr_t)OS_K0_TO_PHYSICAL(temp_v0);
+ SegmentBaseAddress[2] = (uintptr_t)OS_K0_TO_PHYSICAL(game_play->unk_010C);
OPEN_DISPS(gfxCtx);
@@ -861,7 +861,7 @@ void Gameplay_Scene_Read(Game_Play* game_play, s16 arg1) {
game_play->unk_00E0 = arg1;
game_play->unk_010C = func_80804138_jp(game_play, sp1C);
sp1C->unk_13 = 0;
- gSegments[2] = (uintptr_t)OS_K0_TO_PHYSICAL(game_play->unk_010C);
+ SegmentBaseAddress[2] = (uintptr_t)OS_K0_TO_PHYSICAL(game_play->unk_010C);
Gameplay_Scene_Init(game_play);
sAdo_RoomType(mPl_SceneNo2SoundRoomType(common_data.save.sceneNo));
}