Chest Information

From Terranigma Wiki
Jump to: navigation, search

Chest data is stored at 0x19E14C with a entry table at 0x19D8A0 and has 1110 entries.

Entry table

This isn't a simple table where each chest has a global ID and has its own entry, but instead this works via the map ID.

You simply do this to get to the chest data for a certain map.

[ RoomID * 2 + 0x19D8A0 ] OR 0x190000

Chest entry format

Data is parsed until it hits 0xFF, each entry is 7 bytes.

Note: Changing the position of the chests will not update the map and will make them unuseable, you can switch chests with each other though.

Offset Length (byte) Name
0 1 Position X in 16px tiles
1 1 Position Y in 16px tiles
2 1
0x80 Event flag check 0x00
Offset Length Name
3 2 Event Flag
5 2 Value/Item ID, if bit 15 is set it is money (BCD)

0x8050 50gems

0x0010 Item ID 16 (S.Bulb)

7 2 Chest ID
Offset Length Name
3 2 Value/Item ID, if bit 15 is set it is money (BCD)

0x8050 50gems

0x0010 Item ID 16 (S.Bulb)

5 2 Chest ID

Chest entries

Map ID Lootable objects
0x000B Crysta - Elder's - Elder
Position X Position Y Gems/Item ID Chest ID
11 6 50 1
11 8 S.Bulb (16) 2
0x0048 Lumina
Position X Position Y Gems/Item ID Chest ID
57 45 Stardew (20) 19
0x004D Safarium
Position X Position Y Gems/Item ID Chest ID
13 26 S.Bulb (16) 10
0x0066 Louran
Position X Position Y Gems/Item ID Chest ID
7 26 FireRing (1) 6
0x0067 Louran
Position X Position Y Gems/Item ID Chest ID
7 26 FireRing (1) 6
0x00B9 Loire Castle - Tower - 3rd Floor
Position X Position Y Gems/Item ID Chest ID
55 11 Protect Bell (54) 11
0x0103 Tower 1 - 3rd Floor
Position X Position Y Gems/Item ID Chest ID
12 37 S.Bulb (16) 128
0x0108 Tower 2 - 1st Floor
Position X Position Y Gems/Item ID Chest ID
35 32 30 129
0x0109 Tower 2 - 2nd Floor
Position X Position Y Gems/Item ID Chest ID
12 32 S.Bulb (16) 130
0x010F Tower 3 - 1st Floor
Position X Position Y Gems/Item ID Chest ID
29 23 S.Bulb (16) 131
0x0112 Tower 3 - 4th Floor
Position X Position Y Gems/Item ID Chest ID
5 31 Sleepless Seal (89) 132
0x0117 Tower 4 - -1st Floor
Position X Position Y Gems/Item ID Chest ID
5 53 44 134
0x0119 Tower 4 - 2nd Floor
Position X Position Y Gems/Item ID Chest ID
5 24 M.Bulb (17) 135
10 24 Life Potion (26) 136
0x011A Tower 4 - 3rd Floor
Position X Position Y Gems/Item ID Chest ID
13 8 Crystal Thread (50) 137
0x0125 Astarika
Position X Position Y Gems/Item ID Chest ID
5 6 Starstone (76) 254
0x012D Tree cave
Position X Position Y Gems/Item ID Chest ID
4 4 S.Bulb (16) 236
20 5 42 237
45 7 P. Cure (19) 178
0x012E Tree cave
Position X Position Y Gems/Item ID Chest ID
27 30 M.Bulb (17) 164
2 28 M.Bulb (17) 172
0x0132 Tree cave
Position X Position Y Gems/Item ID Chest ID
18 3 Ra Spear (130) 138
16 5 S.Bulb (16) 154
31 7 P. Cure (19) 213
40 22 P. Cure (19) 155
38 6 M.Bulb (17) 156
19 20 S.Bulb (16) 214
0x0134 Tree cave
Position X Position Y Gems/Item ID Chest ID
8 12 M.Bulb (17) 139
13 6 P. Cure (19) 211
3 9 Life Potion (26) 212
0x013B Tree cave
Position X Position Y Gems/Item ID Chest ID
18 17 Giant Leaves (124) 140
0x013F Tree cave
Position X Position Y Gems/Item ID Chest ID
37 4 LeafSuit (162) 141
0x0145 Grecliff
Position X Position Y Gems/Item ID Chest ID
27 5 M.Bulb (17) 160
0x0148 Grecliff
Position X Position Y Gems/Item ID Chest ID
19 65 S.Bulb (16) 161
0x014A Grecliff
Position X Position Y Gems/Item ID Chest ID
29 17 87 162
0x014B Grecliff
Position X Position Y Gems/Item ID Chest ID
11 7 M.Bulb (17) 163
0x014F Grecliff - Cave
Position X Position Y Gems/Item ID Chest ID
27 7 STR Potion (23) 157
0x0151 Grecliff - Cave
Position X Position Y Gems/Item ID Chest ID
28 27 Life Potion (26) 158
0x0157 Grecliff - Cave
Position X Position Y Gems/Item ID Chest ID
8 5 RocSpear (131) 142
0x015E Zue
Position X Position Y Gems/Item ID Chest ID
59 44 Luck Potion (25) 159
0x0160 Zue
Position X Position Y Gems/Item ID Chest ID
60 11 P. Cure (19) 216
61 11 M.Bulb (17) 217
0x0162 Zue
Position X Position Y Gems/Item ID Chest ID
15 32 DEF Potion (24) 215
0x0164 Zue
Position X Position Y Gems/Item ID Chest ID
59 4 Sticker (132) 218
60 4 M.Bulb (17) 250
0x0166 Zue
Position X Position Y Gems/Item ID Chest ID
4 26 P. Cure (19) 165
0x0167 Zue
Position X Position Y Gems/Item ID Chest ID
56 27 65 166
57 27 Life Potion (26) 167
18 37 S.Bulb (16) 168
0x0175 Eklemata
Position X Position Y Gems/Item ID Chest ID
59 39 Stardew (20) 169
0x0176 Eklemata
Position X Position Y Gems/Item ID Chest ID
17 29 Life Potion (26) 170
0x017D Eklemata
Position X Position Y Gems/Item ID Chest ID
6 8 99 171
21 20 Stardew (20) 173
0x017F Eklemata
Position X Position Y Gems/Item ID Chest ID
8 7 Ice Suit (166) 174
0x0181 Eklemata
Position X Position Y Gems/Item ID Chest ID
10 19 Luck Potion (25) 175
0x0182 Eklemata
Position X Position Y Gems/Item ID Chest ID
7 41 FirePike (140) 176
0x0183 Eklemata
Position X Position Y Gems/Item ID Chest ID
16 6 100 177
41 8 Stardew (20) 179
0x0194 Norfest
Position X Position Y Gems/Item ID Chest ID
27 54 RingMail (170) 180
0x0197 Norfest
Position X Position Y Gems/Item ID Chest ID
7 53 Life Potion (26) 201
0x0198 Norfest
Position X Position Y Gems/Item ID Chest ID
20 12 389 202
0x019A Norfest
Position X Position Y Gems/Item ID Chest ID
16 25 Dog Whistle (67) 203
0x019E Norfest
Position X Position Y Gems/Item ID Chest ID
22 6 M.Bulb (17) 204
0x01A8 Louran north side (Zombies)
Position X Position Y Gems/Item ID Chest ID
20 41 STR Potion (23) 251
0x01AA Louran - House
Position X Position Y Gems/Item ID Chest ID
6 39 M.Bulb (17) 144
0x01B5 Louran - House
Position X Position Y Gems/Item ID Chest ID
11 10 Red Scarf (52) 143
0x01BE Louran - Storage
Position X Position Y Gems/Item ID Chest ID
29 7 Rags (182) 187
29 9 P. Cure (19) 188
0x01C4 Louran - House
Position X Position Y Gems/Item ID Chest ID
40 21 Holy Seal (53) 145
0x01C7 Louran - House
Position X Position Y Gems/Item ID Chest ID
27 5 LightRod (137) 146
0x01CC Louran - House
Position X Position Y Gems/Item ID Chest ID
21 4 L.Bulb (18) 190
0x01CD Louran - north side - room
Position X Position Y Gems/Item ID Chest ID
4 21 178 191
0x01D7 Sylvian Castle - Outside
Position X Position Y Gems/Item ID Chest ID
46 51 VestArmr (172) 186
0x01DD Sylvain Castle
Position X Position Y Gems/Item ID Chest ID
7 6 Tower Key (62) 147
4 9 Icepick (134) 148
0x01E2 Sylvian Castle
Position X Position Y Gems/Item ID Chest ID
53 12 Ruby (57) 149
56 12 L.Bulb (18) 183
0x01E3 Sylvian Castle
Position X Position Y Gems/Item ID Chest ID
11 31 651 185
0x01E7 Sylvian Castle
Position X Position Y Gems/Item ID Chest ID
15 26 STR Potion (23) 182
0x01EB Sylvian Castle
Position X Position Y Gems/Item ID Chest ID
28 17 Stardew (20) 181
0x01ED Sylvian Castle
Position X Position Y Gems/Item ID Chest ID
21 39 DEF Potion (24) 184
0x01F5 Stockholm - House
Position X Position Y Gems/Item ID Chest ID
11 6 Portrait (59) 150
11 8 M.Bulb (17) 151
0x021D Mermaid Tower - 1st sub floor
Position X Position Y Gems/Item ID Chest ID
38 19 SeaSpear (144) 255
0x0228 Lab - 1F
Position X Position Y Gems/Item ID Chest ID
32 9 SoulArmr (178) 192
0x022E Lab - 1F
Position X Position Y Gems/Item ID Chest ID
11 60 DEF Potion (24) 252
0x023B Great Lakes Cavern
Position X Position Y Gems/Item ID Chest ID
7 37 Air Herb (126) 206
0x023D Great Lakes Cavern
Position X Position Y Gems/Item ID Chest ID
2 51 Magic Anchor (73) 152
25 6 753 205
0x0242 Great Lakes Cavern
Position X Position Y Gems/Item ID Chest ID
12 5 GeoStaff (145) 207
0x0247 Great Lakes Cavern
Position X Position Y Gems/Item ID Chest ID
57 6 DrgnMail (177) 219
0x0252 Sewer
Position X Position Y Gems/Item ID Chest ID
55 22 Sewer Key (75) 153
0x0253 Sewer
Position X Position Y Gems/Item ID Chest ID
20 4 H.Water (22) 198
0x0254 Sewer
Position X Position Y Gems/Item ID Chest ID
39 5 Fauchard (149) 199
21 37 Luck Potion (25) 200
0x0255 Sewer
Position X Position Y Gems/Item ID Chest ID
5 25 KingArmr (180) 209
0x026D Labtower
Position X Position Y Gems/Item ID Chest ID
4 5 Life Potion (26) 208
0x027C Astarica - backroom
Position X Position Y Gems/Item ID Chest ID
15 41 HolySuit (179) 197
0x02BD Hidden area
Position X Position Y Gems/Item ID Chest ID
23 18 Life Potion (26) 220
9 13 378 221
0x02BE Hidden area
Position X Position Y Gems/Item ID Chest ID
21 18 M.Bulb (17) 222
23 20 378 223
0x02BF Hidden area
Position X Position Y Gems/Item ID Chest ID
3 5 STR Potion (23) 224
0x02C3 Hidden area near Odemrock
Position X Position Y Gems/Item ID Chest ID
6 7 Life Potion (26) 225
1 9 228 226
0x02C4 Hidden area
Position X Position Y Gems/Item ID Chest ID
11 4 Speed Shoes (123) 210
6 5 378 227
0x02C5 Hidden area
Position X Position Y Gems/Item ID Chest ID
3 4 Luck Potion (25) 228
26 13 1403 229
0x02C9 Hidden area
Position X Position Y Gems/Item ID Chest ID
27 25 BlockRod (159) 231
0x02CA Hidden area
Position X Position Y Gems/Item ID Chest ID
13 6 L.Bulb (18) 13
18 16 500 14
5 26 Mushroom (80) 15
0x02CC Hidden area - Sahara
Position X Position Y Gems/Item ID Chest ID
6 10 703 232
7 26 1003 233
0x02CD Mu
Position X Position Y Gems/Item ID Chest ID
5 4 DEF Potion (24) 234
7 22 EnbuPike (157) 235
0x02CF Hidden area
Position X Position Y Gems/Item ID Chest ID
3 10 961 238
0x02D2 Hidden area
Position X Position Y Gems/Item ID Chest ID
19 8 Log (94) 0
12 17 Log (94) 0
0x02DB Hidden area - Part 2
Position X Position Y Gems/Item ID Chest ID
8 27 Life Potion (26) 239
4 27 Sea Mail (190) 240
0x02DC Hidden area near Odemrock (Zoe like)
Position X Position Y Gems/Item ID Chest ID
22 6 892 241
0x038E Litz
Position X Position Y Gems/Item ID Chest ID
3 4 Luck Potion (25) 16
0x03B4 Nirlake - House
Position X Position Y Gems/Item ID Chest ID
11 37 Life Potion (26) 17
0x03B9 Nirlake - House
Position X Position Y Gems/Item ID Chest ID
22 88 Tin Sheet (92) 12
0x041D Litz - Ship - Storage
Position X Position Y Gems/Item ID Chest ID
25 8 L.Bulb (18) 18
0x0421 Dragoon Castle - 1st Floor - Room 1 - Room 1
Position X Position Y Gems/Item ID Chest ID
44 6 200 193
0x0422 Dragoon Castle - -1st Floor - Room 2
Position X Position Y Gems/Item ID Chest ID
34 41 300 194
32 48 L.Bulb (18) 195
0x042F Dragoon Castle - -1st Floor - Room 3 - A
Position X Position Y Gems/Item ID Chest ID
47 43 PartRod (147) 196
Personal tools
Namespaces

Variants
Actions
Navigation
Tools