-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathMain.event
executable file
·51 lines (36 loc) · 913 Bytes
/
Main.event
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#ifndef MAIN
#define MAIN
#define DEBUG
#define CHAX
#include "Extensions/Hack Installation.txt"
#include "EAstdlib.event"
#define FreeSpace 0xB2A610
#define FreeSpaceEnd 0xC00000
#define FreeSpace_BLRange 0x1C1EC0
ORG FreeSpace_BLRange
// Nothing !
ORG FreeSpace
ALIGN 4
#include "Writans/Text.event"
ALIGN 4
#include "GameData/GameData.event"
ALIGN 4
#include "Wizardry/_WizardryMain.event"
ALIGN 4
#include "Spritans/Portraits.event"
/*
ALIGN 4
#include "Spritans/Spells.event"
*/
ALIGN 4
#include "Songs/Songs.event"
{
#include "Chapters/Chapters.event"
}
// If the following assertion fails, it means we ran out of free space.
// If that happens, we want to either split out our data between different
// sections, or start writing after the end of the ROM (offset 0x1000000+)
ASSERT (FreeSpaceEnd - CURRENTOFFSET)
#else // MAIN
MESSAGE wat are u doin
#endif // MAIN