-
Notifications
You must be signed in to change notification settings - Fork 0
/
Main.event
102 lines (66 loc) · 1.67 KB
/
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
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
101
102
#ifndef MAIN
#define MAIN
#define DEBUG
#ifdef _FE8_
#include "EAstdlib.event"
#include "VBADefinitions.event"
PROTECT $019900
PROTECT $019968
PROTECT $01999C
PROTECT $030134
PROTECT $030C78
PROTECT $034680
PROTECT $0346AC
PROTECT $0346DC
ORG FreeSpace
// Text first for Text ID definitions
#include "Writans/Text.event"
// Tables
#include "GameData/GameData.event"
// TODO: move those elsewhere
PUSH
ORG $8472C
POIN NewDeathQuoteTable
ORG $99E64
POIN NewPrepScreenShopList
// fix ballista anims
// archer f
ORG $8af172
BYTE 0x9f
ORG $8af176
BYTE 0x9f
ORG $8af17a
BYTE 0x9f
// sniper
ORG $8af18a
BYTE 0x9f
ORG $8af18e
BYTE 0x9f
ORG $8af192
BYTE 0x9f
// sniper f
ORG $8af1a2
BYTE 0x9f
ORG $8af1a6
BYTE 0x9f
ORG $8af1aa
BYTE 0x9f
POP
NewPrepScreenShopList:
SHLI $01 $14 $1F $2D $38 $45 $3F $4B AngelicRobe EnergyRing SecretBook Speedwings GoddessIcon Dragonshield Talisman
// Engine Hacks
#include "Wizardry/MasterHackInstaller.event"
// Graphics
#include "Spritans/Portraits.event"
#include "Spritans/Misc/MasterGraphicsInstaller.event"
#include "Spritans/BattlePalettes/PaletteSetup.event"
// Music
#include "Sounds/Sounds.event"
// Chapters
#include "Chapters/Chapters.event"
// Ensure we did not get part free space
ASSERT (FreeSpaceEnd - CURRENTOFFSET)
#else
ERROR You are not assembling FE8 events!
#endif
#endif // MAIN