aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/create_lure/create_lure_dat.cpp6
-rw-r--r--tools/create_lure/create_lure_dat.h1
2 files changed, 4 insertions, 3 deletions
diff --git a/tools/create_lure/create_lure_dat.cpp b/tools/create_lure/create_lure_dat.cpp
index 6833a8678d..c5238c2d11 100644
--- a/tools/create_lure/create_lure_dat.cpp
+++ b/tools/create_lure/create_lure_dat.cpp
@@ -777,8 +777,10 @@ void read_script2_data(byte *&data, uint16 &totalSize) {
}
void read_hotspot_script_offsets(byte *&data, uint16 &totalSize) {
- lureExe.seek(dataSegment + HOTSPOT_SCRIPT_LIST);
-
+ uint16 dataStart = 0x57e0;
+ if (language == IT_ITA) dataStart = 0x58a0;
+
+ lureExe.seek(dataSegment + dataStart);
totalSize = HOTSPOT_SCRIPT_SIZE;
data = (byte *) malloc(totalSize);
lureExe.read(data, totalSize);
diff --git a/tools/create_lure/create_lure_dat.h b/tools/create_lure/create_lure_dat.h
index 6e8adde742..a0625d8384 100644
--- a/tools/create_lure/create_lure_dat.h
+++ b/tools/create_lure/create_lure_dat.h
@@ -47,7 +47,6 @@
#define SCRIPT2_SEGMENT_SIZE 0x2800
#define FIGHT_SEGMENT_SIZE 0x1850
-#define HOTSPOT_SCRIPT_LIST 0x57e0
#define HOTSPOT_SCRIPT_SIZE 0x30
#define MAX_NUM_ANIM_RECORDS 0x200