-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWeaponRelationDefs.event
68 lines (58 loc) · 1.14 KB
/
WeaponRelationDefs.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
#ifndef FreeSpace
#ifdef _FE6_
#define FreeSpace 0xE08000
ORG FreeSpace
#endif
#ifdef _FE7_
#define FreeSpace 0xD20000
ORG FreeSpace
#endif
#ifdef _FE8_
#define FreeSpace 0xb2a610
ORG FreeSpace
#endif
#endif
#ifndef WeaponRelationDefs
#define WeaponRelationDefs
//repoint to new weapon table
#ifdef _FE6_
PUSH
ORG $25A9C
POIN WeaponRelationships
// orginal at $5C61C0
POP
#endif
#ifdef _FE7_
PUSH
ORG $2A17C
POIN WeaponRelationships
// original at $B9426C
POP
#endif
#ifdef _FE8_
PUSH
ORG $2C7CC
POIN WeaponRelationships
// original at $59BA90
POP
#endif
#define WeaponRelation(awtype,dwtype,hit,damage) "BYTE awtype dwtype (hit) (damage)"
#define WeaponRelationEnd "BYTE 0xFF 0x0 0x0 0x0"
//define weapon types
#ifndef WeaponTypes
#define WeaponTypes
//Define Weapon Types here
//These are already defined in EAstlib
#define Sword 0x0
#define Lance 0x1
#define Axe 0x2
#define Bow 0x3
#define Staff 0x4
#define Anima 0x5
#define Light 0x6
#define Dark 0x7
//used by monsters in FE8 and probably also the final bosses
#define Monster 0xB
//add new weapon types here
#endif
#endif