-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuildrom.asm
More file actions
45 lines (36 loc) · 1.32 KB
/
buildrom.asm
File metadata and controls
45 lines (36 loc) · 1.32 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
.n64
.relativeinclude on
.open "mg64.z64", "output.z64", 0
//------------------------------------------------------------//
// This file will patch all hacks directly to a ROM. //
//------------------------------------------------------------//
// Include constants
.include "constants.asm"
// Main file - always loaded
.headersize mainCodeRamAddress - mainCodeRomAddress
.include "basehacks.asm"
.include "hooks/removefunc.asm"
.include "hooks/cumulativescore.asm"
.include "hooks/finalscore.asm"
.include "hooks/rain.asm"
.include "hooks/wind.asm"
.include "hooks/tees.asm"
// Gameplay file
.headersize gameplayRamAddress - gameplayRomAddress
.include "hooks/fastcameraalways.asm"
.include "hooks/fastcameraminigolf.asm"
.include "hooks/fastcamera.asm"
.include "hooks/changecharacter.asm"
.include "hooks/celebration.asm"
// Hole loader file
.headersize holeLoaderRamAddress - holeLoaderRomAddress
.include "hooks/groundpainter.asm"
.include "groundpainter/getcoursenumber.asm"
// Boot screen file
.headersize bootScreenRamAddress - bootScreenRomAddress
.include "hooks/boot.asm"
.include "hooks/bootscreen.asm"
// Expansion pak data - end of ROM
.headersize exPakHackRamEnd - romSize
.include "expakhacks.asm"
.close