summaryrefslogtreecommitdiff
path: root/src/code
diff options
context:
space:
mode:
authoremilybrooks <emilybrooksemilybrooks@gmail.com>2024-09-21 13:03:08 -0700
committerGitHub <noreply@github.com>2024-09-21 13:03:08 -0700
commit946ee8e9c28a04c7b0a485c9b49543677112d5ec (patch)
tree7c661497815e426c6e6cb961a8add161985f4fcc /src/code
parent2c7d61be83bedf7252cb0dccc0c681bfb6bb29da (diff)
clchest03 matched and hal_chest02 cleanup (#213)
* initial commit * func_80A70C60_jp * func_80A70CF4_jp * fully matching * inported data * improved furniture actor profile struct * extracted spooky wardrobe object * extracted clchest03 object * forgot
Diffstat (limited to 'src/code')
-rw-r--r--src/code/m_room_type.c6
-rw-r--r--src/code/m_scene.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/code/m_room_type.c b/src/code/m_room_type.c
index a4c879c..a6e2f29 100644
--- a/src/code/m_room_type.c
+++ b/src/code/m_room_type.c
@@ -1152,14 +1152,14 @@ void mRmTp_MakeFamicom_Fdebug() {
if ((gamePT->input[1].press.button & Z_TRIG) == Z_TRIG && game != NULL) {
- if (common_data.clip.unk_080 != NULL) {
+ if (common_data.clip.myRoomClip != NULL) {
ftr = mRmTp_famicom_idx + 0x34A;
- res = common_data.clip.unk_080->unk_04(game, ftr, &utX, &utZ, &direct, &ofs, &layer);
+ res = common_data.clip.myRoomClip->unk_04(game, ftr, &utX, &utZ, &direct, &ofs, &layer);
if (res >= 0) {
- common_data.clip.unk_080->unk_28(game, ftr, res, utX, utZ, direct, ofs, layer);
+ common_data.clip.myRoomClip->unk_28(game, ftr, res, utX, utZ, direct, ofs, layer);
}
}
}
diff --git a/src/code/m_scene.c b/src/code/m_scene.c
index eb27d6e..3f67370 100644
--- a/src/code/m_scene.c
+++ b/src/code/m_scene.c
@@ -415,8 +415,8 @@ void mSc_dmacopy_all_exchange_bank(ObjectExchangeBank* exchange) {
if (common_data.clip.weatherClip != NULL) {
common_data.clip.weatherClip->changingWeather();
}
- if (common_data.clip.unk_080 != NULL) {
- common_data.clip.unk_080->unk_24();
+ if (common_data.clip.myRoomClip != NULL) {
+ common_data.clip.myRoomClip->unk_24();
}
if (common_data.clip.unk_09C != NULL) {
common_data.clip.unk_09C->unk_C();