-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathChapterScreen.event
More file actions
58 lines (47 loc) · 1.3 KB
/
ChapterScreen.event
File metadata and controls
58 lines (47 loc) · 1.3 KB
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
// Changes the MNC2 chapterintro screen
#ifndef _FE8_
ERROR "You're not assembling to an FE8 ROM!"
#endif
#include "Extensions/Hack Installation.txt"
#include "EAstdlib.event"
#ifndef FreeSpace
#define FreeSpace 0x1000000
ORG FreeSpace
#endif
// Uncomment to turn "Guide" into chapter win button.
/*
#ifndef Debug
#define Debug
#endif
*/
{
// Defs
// IDs which will be used for the Intro songs.
// If you change these, you need to re-assemble Procs/ChIntro/PlaySfx.asm
#define IntroSfx0 0x318
#define IntroSfx1 0x319
#define IntroSfx2 0x31A
#define IntroSfx3 0x31B
#define IntroSfx4 0x31C
#define IntroSfx5 0x31D
#define IntroSfx6 0x31E
// Variables
// Amount of time it takes for the next map sprite to be drawn after the previous
ALIGN 4
TimePerUnit:
BYTE 0x8
PUSH
// Repoint the chapter intro process
//ORG 0x59A31C // MNC3
ORG 0x15540 // MNC2
POIN Proc_ChIntro
POP
#include "Defs/ProcDefinitions.event"
#include "Procs/Procs.event"
#include "Graphics/Graphics.event"
#include "Tables/Tables.event"
#include "Music/music installer.event"
#ifdef Debug
#include "Debug/Debug.event" // Turn Chapter "Guide" option into win button.
#endif
}