summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_mg_fish.cpp
diff options
context:
space:
mode:
authorhatal175 <hatal175@users.noreply.github.com>2025-09-21 22:26:34 +0300
committerGitHub <noreply@github.com>2025-09-21 13:26:34 -0600
commite82806047b81a74abda21f2dd917eb4fd64199d2 (patch)
treef9c8d9e552e37dd4bdc134b50935413e59fb39ad /src/d/actor/d_a_mg_fish.cpp
parente17e537ea0a5aa1822bb939e999a6614e86303a5 (diff)
d_a_obj_kznkarm OK (#2678)
* d_a_obj_kznkarm OK * d_a_title GZ2P01 Matching * More GZ2P01 Matches * d_s_name matching for PAL * d_msg_scrn_light Matching for PAL * d_menu_fishing Matches on PAL * d_file_sel_info Matches on PAL * d_a_npc_cd Matching on PAL * d_error_msg Matches on PAL * d_cam_param matches as is on PAL * Fix PAL JSystem and Z2AudioLib splits/symbols * Aligning the rest of TUs to compile on all GC versions
Diffstat (limited to 'src/d/actor/d_a_mg_fish.cpp')
-rw-r--r--src/d/actor/d_a_mg_fish.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/d/actor/d_a_mg_fish.cpp b/src/d/actor/d_a_mg_fish.cpp
index 064ce29be6..ec8df22075 100644
--- a/src/d/actor/d_a_mg_fish.cpp
+++ b/src/d/actor/d_a_mg_fish.cpp
@@ -3294,6 +3294,12 @@ static int daMg_Fish_Execute(mg_fish_class* i_this) {
#if VERSION == VERSION_GCN_JPN
lit_1008 = 0;
+#elif VERSION == VERSION_GCN_PAL
+ if (dComIfGs_getPalLanguage() == dSv_player_config_c::LANGAUGE_ENGLISH) {
+ lit_1008 = 2;
+ } else {
+ lit_1008 = 0;
+ }
#endif
if (i_this->mSurfaceY != 0.0f) {
@@ -3906,6 +3912,12 @@ static int daMg_Fish_Create(fopAc_ac_c* i_this) {
#if VERSION == VERSION_GCN_JPN
lit_1008 = 0;
+#elif VERSION == VERSION_GCN_PAL
+ if (dComIfGs_getPalLanguage() == dSv_player_config_c::LANGAUGE_ENGLISH) {
+ lit_1008 = 2;
+ } else {
+ lit_1008 = 0;
+ }
#else
lit_1008 = 1;
#endif