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
This commit is contained in:
hatal175
2025-09-21 22:26:34 +03:00
committed by GitHub
parent 8d5fe1396e
commit 292cfe8fa3
26 changed files with 784 additions and 645 deletions
+15
View File
@@ -137,10 +137,25 @@ bool dMenu_Fishing_c::isSync() {
/* 801C522C-801C52E4 1BFB6C 00B8+00 1/1 0/0 0/0 .text init__15dMenu_Fishing_cFv */
void dMenu_Fishing_c::init() {
#if VERSION == VERSION_GCN_PAL
BOOL isEnglish = FALSE;
if (dComIfGs_getPalLanguage() == dSv_player_config_c::LANGAUGE_ENGLISH) {
isEnglish = TRUE;
}
#endif
for (int i = 0; i < MAX_FINDABLE_FISHES; i++) {
if (dComIfGs_getFishNum(i) != 0) {
// Fish has been caught once, display it along with it's params
#if VERSION == VERSION_GCN_PAL
if (isEnglish) {
setFishParam(i, dComIfGs_getFishNum(i), dComIfGs_getFishSize(i) / 2.54f);
} else {
setFishParam(i, dComIfGs_getFishNum(i), dComIfGs_getFishSize(i));
}
#else
setFishParam(i, dComIfGs_getFishNum(i), dComIfGs_getFishSize(i));
#endif
mpFishParent[i]->show();
} else {
// Fish hasn't been caught yet, don't display it and also hide params