Skip to content

Commit c8f0d0d

Browse files
Update object list pointer offsets for game version 2.57
1 parent 1c2eb8e commit c8f0d0d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

nd_level_extract/main.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ int main(int argc, char *argv[])
117117
{"y", 0x18},
118118
{"zone", 0x5C}
119119
};
120-
objType_tiles->offsets_firstObj = {0x42DBEC, 0x10, 0x10, 0x10};
120+
objType_tiles->offsets_firstObj = {0x431BEC, 0x10, 0x10, 0x10};
121121
// Don't add to objType_list yet, special case
122122

123123
ObjType *objType_traps = new ObjType();
@@ -129,7 +129,7 @@ int main(int argc, char *argv[])
129129
{"x", 0x14},
130130
{"y", 0x18}
131131
};
132-
objType_traps->offsets_firstObj = {0x42D97C, 0x10, 0x10};
132+
objType_traps->offsets_firstObj = {0x43197C, 0x10, 0x10};
133133
objType_list.push_back(objType_traps);
134134

135135
ObjType *objType_enemies = new ObjType();
@@ -142,7 +142,7 @@ int main(int argc, char *argv[])
142142
{"x", 0x14},
143143
{"y", 0x18}
144144
};
145-
objType_enemies->offsets_firstObj = {0x42D9E0, 0x10, 0x10};
145+
objType_enemies->offsets_firstObj = {0x4319E0, 0x10, 0x10};
146146
objType_list.push_back(objType_enemies);
147147

148148
ObjType *objType_items = new ObjType();
@@ -156,7 +156,7 @@ int main(int argc, char *argv[])
156156
{"x", 0x14},
157157
{"y", 0x18}
158158
};
159-
objType_items->offsets_firstObj = {0x42D978, 0x10, 0x10};
159+
objType_items->offsets_firstObj = {0x431978, 0x10, 0x10};
160160
objType_list.push_back(objType_items);
161161

162162
ObjType *objType_chests = new ObjType();
@@ -171,7 +171,7 @@ int main(int argc, char *argv[])
171171
{"x", 0x14},
172172
{"y", 0x18}
173173
};
174-
objType_chests->offsets_firstObj = {0x42D938, 0x10, 0x10};
174+
objType_chests->offsets_firstObj = {0x431938, 0x10, 0x10};
175175
objType_list.push_back(objType_chests);
176176

177177
ObjType *objType_crates = new ObjType();
@@ -183,7 +183,7 @@ int main(int argc, char *argv[])
183183
{"x", 0x14},
184184
{"y", 0x18}
185185
};
186-
objType_crates->offsets_firstObj = {0x42D6AC, 0x10, 0x10};
186+
objType_crates->offsets_firstObj = {0x4316AC, 0x10, 0x10};
187187
objType_list.push_back(objType_crates);
188188

189189
ObjType *objType_shrines = new ObjType();
@@ -194,7 +194,7 @@ int main(int argc, char *argv[])
194194
{"x", 0x14},
195195
{"y", 0x18}
196196
};
197-
objType_shrines->offsets_firstObj = {0x42D6F8, 0x10, 0x10};
197+
objType_shrines->offsets_firstObj = {0x4316F8, 0x10, 0x10};
198198
objType_list.push_back(objType_shrines);
199199

200200
// Get all objects of each type (except tiles)

0 commit comments

Comments
 (0)