forked from FireEmblemUniverse/SkillSystem_FE8
-
Notifications
You must be signed in to change notification settings - Fork 10
/
ROMBuildfile.event
100 lines (68 loc) · 2.46 KB
/
ROMBuildfile.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
#ifdef _FE8_
#include "EAstdlib.event"
#include "Extensions/Hack Installation.txt"
#include "CustomDefinitions.event"
#include "Music/MusicTrackDefinitions.event"
#include "Maps/Definitions.event"
#include "Maps/MapMacros.event"
ORG FreeSpace_Low
//CSV tables
//#include "Text/Text Definitions.event"
#include "repointedTextTable.event"
#include "Music/Text/ExtraText.event"
//#undef TEXT_DEFINITIONS_TEXT_BUILDFILE_TXT
//#undef TEXT_INSTALLER_TEXT_BUILDFILE_TXT
#include "Text/InstallTextData.event"
#include "Languages.event"
MESSAGE Used text space ends at currentOffset
#include "Language/TextTableCode/Installer.event"
PUSH
ORG FreeSpace
#include "Maps/MapTables.event"
#include "Tables/TableInstaller.event" // maps and tables must be directly at FreeSpace3, with ChapterDataTable being the first table
MESSAGE Used table space ends at currentOffset
#include "Graphics/IntegratedInstaller.event"
#include "Patches/ASMCs_Installer.event"
#include "Patches/DebugCommand/Debug.lyn.event"
//Engine Hacks
#include "EngineHacks/_MasterHackInstaller.event"
//Patches
#define InstallPatches
#ifdef InstallPatches
#include "Patches/An_Installer_of_Patches.event"
#endif
#include "Maps/Master Map Installer.event"
//Soaring outside bl range includes
ALIGN 4
#include "EngineHacks/Soaring/src/hostable.lyn.event"
ALIGN 4
heightMap:
#incbin "EngineHacks/Soaring/Graphics/magvel_hmap.img.bin"
ALIGN 4
pleftmatrix:
#incbin "EngineHacks/Soaring/src/pleftmatrix.dmp"
ALIGN 4
#include "EngineHacks/Soaring/Graphics/Master Graphics Installer.event"
ALIGN 4
MESSAGE Used hax space ends at currentOffset
EndOfFreeSpace:
POP
#ifndef ENABLE_FixedDamageWeapons
#include "Patches/FixedDamageWeapons/FixedDamageWeaponsInstaller.event"
#endif
#ifndef MODULAR_SUPPLY
#include "Patches/ModularSupply/ModularSupplyInstaller.event"
#endif
//Events
#include "Events/EventsInstaller.event"
#include "A_Debug_Command.event"
MESSAGE Used events space ends at currentOffset
ASSERT (FreeSpace_Low_End - currentOffset)
ORG EndOfFreeSpace
ALIGN 4
WORD 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 // Prevent NUPS from cutting off the last 6 bytes
MESSAGE Used free space ends at currentOffset
//ASSERT (FreeSpaceEnd - currentOffset) // So that you don't overwrite vanilla tables if using default freespace
#else
ERROR "You are not assembling FE8 events!"
#endif