I've been checking the code in the LEVS file for the special events.
Each level can have up to 8 special events. In the LEVS file there are 16 bytes available for coordinates of these special events for each level -- 2 bytes per coordinate (x,y), followed by a specific event code.
I've been looking at Harkyn's castle level 3: There are 3 special events:
Code: Select all
05 0C 01 15 05 03 FF FF FF FF FF FF FF FF FF FF
1F FF 20 FF 21 FF FF FF FF FF FF FF FF FF FF FF
05 0C are the coordinates for the 4x99 berserkers at 5N, 12E
01 15 are the coordinated for the Mad God statue at 1N, 21E
05 03 are the coordinates for an old man with a riddle at 5N, 3E
The corresponding specail events code are:
1F for the coordinates 05 0C (berserkers)
20 for the coordinates 01 15 (Mad God)
21 for the coordinates 05 03 (Old man with riddle)
It is possible to switch these codes around... If you switch 1F and 20 around, then the Mad God will be at 5N, 12E and the berserkers will be at 1N, 21E
Also, you can switch the codes with codes from different dungeons. I changed 1F into 10 and long stairs leading up appeared where the berserkers should be (stairs from sewers lvl3 to Mangar's tower).
I was also able to place 4x99 berserkers next to the stairs in the catacombs lvl 1.
This bttool.py tool is extremely useful for fast rebuilding the LEVS file.
These are all the codes in the LEVS file:
Code: Select all
11: 9N,4E Sewers lvl1
12: 4N,0E Sewers lvl2
13: 4N,3E Sewers lvl2
10: 10N,11E sewers lvl3
14: 12N,10E catacombs lvl2
15: 13N,6E catacombs lvl2
16: 19N,20E catacombs lvl3
18: 14N,9E Harkyn's castle lvl1
19: 18N,9E Harkyn's castle lvl1
1A: 6N,16E Harkyn's castle lvl1
1B: 0N,19E Harkyn's castle lvl1
1C: 9N,9E Harkyn's castle lvl2
1D: 0N,0E Harkyn's castle lvl2
1E: 0N,19E Harkyn's castle lvl2
1F: 5N,12E Harkyn's castle lvl3
20: 1N,21E Harkyn's castle lvl3
21: 5N,3E Harkyn's castle lvl3
25: 10N,13E Kylearan's tower
26: 2N,12E Kylearan's tower
27: 20N,2E Kylearan's tower
28: 1N,4E Kylearan's tower
29: 13N,17E Kylearan's tower
2B: 13N,20E Mangar's tower lvl1
2C: 15N,4E Mangar's tower lvl2
2D: 12N,19E Mangar's tower lvl3
2E: 4N,10E Mangar's tower lvl3
2F: 8N,12E Mangar's tower lvl4
30: 8N,21E Mangar's tower lvl4
31: 9N,20E Mangar's tower lvl4
32: 20N,3E Mangar's tower lvl4
33: 15N,10E Mangar's tower lvl5
34: 21N,10E Mangar's tower lvl5
35: 8N,10E Mangar's tower lvl5
36: 10N,21E Mangar's tower lvl5
37: 17N,0E Mangar's tower lvl5
38: 1N,10E Mangar's tower lvl5
39: 1N,20E Mangar's tower lvl5
3A: 20N,10E Mangar's tower lvl5