summaryrefslogtreecommitdiff
path: root/src/d/d_menu_insect.cpp
diff options
context:
space:
mode:
authorMax Roncace <me@caseif.net>2025-09-19 14:32:05 -0400
committerGitHub <noreply@github.com>2025-09-19 21:32:05 +0300
commit11ebeb3fe04496ec46ab30a5aebb424f2b1175e3 (patch)
tree80683b3816d0944ed8275a8b39433fb6753cf3ff /src/d/d_menu_insect.cpp
parent818dec837f3370b4650476203f265b3b51cb82e6 (diff)
Link all oustanding US-matched TUs for JP (#2671)
Diffstat (limited to 'src/d/d_menu_insect.cpp')
-rw-r--r--src/d/d_menu_insect.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/d/d_menu_insect.cpp b/src/d/d_menu_insect.cpp
index d2a20a745a..4179721123 100644
--- a/src/d/d_menu_insect.cpp
+++ b/src/d/d_menu_insect.cpp
@@ -495,8 +495,13 @@ void dMenu_Insect_c::screenSetBase() {
}
}
}
+#if VERSION == VERSION_GCN_JPN
+ J2DTextBox* textBox = (J2DTextBox*)mpScreen->search('t_t00');
+ mpScreen->search('f_t00')->hide();
+#else
J2DTextBox* textBox = (J2DTextBox*)mpScreen->search('f_t00');
mpScreen->search('t_t00')->hide();
+#endif
textBox->setFont(mDoExt_getSubFont());
textBox->setString(0x200, "");
mpString->getString(0x5ba, textBox, NULL, NULL, NULL, 0);
@@ -514,10 +519,17 @@ void dMenu_Insect_c::screenSetExplain() {
if (field_0xf6 == 0) {
mpExpSubWin[1]->hide();
}
+#if VERSION == VERSION_GCN_JPN
+ mpInfoText = new CPaneMgr(mpExpScreen, 'mg_3line', 0, NULL);
+ mpExpScreen->search('n_e4line')->hide();
+ field_0x5c = (J2DTextBox*)mpExpScreen->search('w_msg_jp');
+ mpExpScreen->search('ms_for_2')->hide();
+#else
mpInfoText = new CPaneMgr(mpExpScreen, 'mg_e4lin', 0, NULL);
mpExpScreen->search('n_3line')->hide();
field_0x5c = (J2DTextBox*)mpExpScreen->search('ms_for_2');
mpExpScreen->search('w_msg_jp')->hide();
+#endif
mpExpScreen->search('ms_for_3')->hide();
field_0x54[0] = (J2DPicture*)mpExpScreen->search('insects');
field_0x54[1] = (J2DPicture*)mpExpScreen->search('insectss');