Teleportation Gems - HoraceAndTheSpider/Bloodwych-68k GitHub Wiki

Data Definition:

The locations for the Tan & Bluish Gem teleports are stored in two consecutive 24 byte blocks.

Each gem has two locations for each tower, stored as a single X / Y coordinate. As a result, teleport Gems are only used on one floor for each tower in the original games, although it would be possible to be used on more than one floor, they would need to be located at the same X / Y coordinates on each floor.

The X / Y locations referred to are the location at which the player is standing when using the Gem. Transfer of the Gem item to the correct Wall-Socket is handled automatically.

Data Locations: (Amiga - IPF: 102)

Tan Gem: ($5B4C) [$57E2]
Bluish Gem: ($5B64) [$57FA]

Example Data: Tan Gem

01 00 - The Keep - Location 1
05 00 - The Keep - Location 2
11 11 - Serpent Tower - Location 1
07 02 - Serpent Tower - Location 2
09 12 - Moon Tower - Location 1
12 00 - Moon Tower - Location 2
0E 0D - Dragon Tower - Location 1
0B 03 - Dragon Tower - Location 2
0A 03 - Chaos Tower - Location 1
08 0C - Chaos Tower - Location 2
04 11 - Zendik's Tower - Location 1
0B 09 - Zendik's Tower - Location 2

Example Data: Bluish Gem

0C 0C - The Keep - Location 1
0B 0A - The Keep - Location 2
0C 0E - Serpent Tower - Location 1
04 03 - Serpent Tower - Location 2
0B 12 - Moon Tower - Location 1
02 00 - Moon Tower - Location 2
0C 0D - Dragon Tower - Location 1
09 03 - Dragon Tower - Location 2
0C 02 - Chaos Tower - Location 1
0C 11 - Chaos Tower - Location 2
00 11 - Zendik's Tower - Location 1
08 02 - Zendik's Tower - Location 2