-
Notifications
You must be signed in to change notification settings - Fork 3
/
Custom Definitions.event
90 lines (74 loc) · 2.6 KB
/
Custom Definitions.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
#ifndef XMSCCB_DEFINITIONS
#define XMSCCB_DEFINITIONS
// #define FreeSpace 0xb2a610
#define FreeSpace 0x1000000 // Size: FFFFFF
#define FreeSpace_Base 0xEFB2E0 // Size: E4D20
#define FreeSpace_Hack 0xB2A610 // Size: D59FC
// #define FreeSpace_x 0xE47180 // Size: 98E80
// #define FreeSpace_y 0xFE4000 // Size: 1B000
#define FreeSpaceBLRange 0x1c1ec0
#define ChapterTileset(chapter, object, palette, config) "PUSH; ORG 0x8b0890 + (148*chapter) + 4; SHORT object; BYTE palette config; POP"
#define ChapterTileAnims(chapter, anim1, anim2) "PUSH; ORG 0x8b0890 + (148*chapter) + 9; BYTE anim1 anim2; POP"
#ifndef ItemTable
#define ItemTable 0x809B10
#endif
#ifndef DebuffTable
#define DebuffTable 0x203F100
#endif
#define SetSkills(character, first, second, third, fourth) "SETVAL 0x2 first; SETVAL 0x3 (0x203e885+(character*16)); SETVAL 0x4 0x2; ASMC EventWriter+1;SETVAL 0x2 (second + (third*0x100)); SETVAL 0x3 (0x203e886+(character*16)); SETVAL 0x4 0x1; ASMC EventWriter+1;SETVAL 0x2 fourth; SETVAL 0x3 (0x203e888+(character*16)); SETVAL 0x4 0x2; ASMC EventWriter+1;"
#define SetSupportsPointer(character, pointer) "PUSH; ORG ($803d30+(52*character)+44); POIN pointer; POP"
#define SetSupportPartners(p1,p2,p3,p4,p5,p6,p7) "BYTE p1 p2 p3 p4 p5 p6 p7"
#define SetSupportInitial(p1,p2,p3,p4,p5,p6,p7) "BYTE p1 p2 p3 p4 p5 p6 p7"
#define SetSupportGrowth(p1,p2,p3,p4,p5,p6,p7) "BYTE p1 p2 p3 p4 p5 p6 p7"
#define SetSupportNumber(partners) "BYTE partners 0 0; ALIGN 4"
#define ASupport 241
#define BSupport 161
#define CSupport 81
#define LunarBrace MoonBracelet
#define SolarBrace SunBracelet
#include "Engine Hacks/Skill System/skill_definitions.event"
// Following definitions are from Blitz 1
// #define Void 1
// #define Tim 2
// #define Tam 3
// #define Jerome 4
// #define Leeroy 5
// #define Anna 6
// #define Bede 7
// #define Jay 8
// #define NotArch 9
// #define Kirsten 10
// #define Bob 11
// #define Roshea 12
// #define Prine 13
// #define Edge 14
// /* no ephraim replacement */
// #define Samson 16
// #define Arve 17
// #define Tye 18
// #define Celicia 19
// #define Eevster 20
// #define AnnaWyv 21
// #define Nikita 22
// #define AnnaRogue 23
// #define Edgeworth 24
// #define Zigludo 25
// #define Kaga 26
// #define Doot 27
// #define Celica 28
// #define Doowile 29
// #define EvilFlorina 30
// #define Bjoern 31
// #define Jake 32
// #define Marf 33
// #define Tiki 34
// #define Mark 36
// #define Lyria 0x60
// #define Meriah 0x61
// #define Plum 0x62
// #define Yuni 0x63
// #define Ch8Boss 0x4D
// #define Ch8Generic 0x99
// #define Ch21Boss 0xC5
// #define Ch21Generic 0x9A
#endif // XMSCCB_DEFINITIONS