-
Notifications
You must be signed in to change notification settings - Fork 2
/
src_patch.asm
200 lines (196 loc) · 11 KB
/
src_patch.asm
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
.erroronwarning on
// Enables music resuming on the overworld. Also need to adjust sound.py.
.definelabel OPT_RESUME_MUSIC, 1
// If enabled, allocates save buffers when the game starts and never deallocates them.
// This eats up 0x18318 bytes of RAM but guarantees the save buffer won't fragment the heap.
.definelabel OPT_SAVE_PERSIST_BUFFERS, 1
// Makes Hollow not attack or spawn viruses.
.definelabel OPT_HOLLOW_DUMMY, 0
.macro .blk,x,y
.dh (x + 150) + 300 * (y + 109)
.endmacro
.include TEMP+"/sound_vars.asm"
.include "asm/arm9.asm"
.include "asm/overlay_0000_capcom.asm"
.include "asm/overlay_0002_title.asm"
.include "asm/overlay_0003_field.asm"
.include "asm/overlay_0007_battle.asm"
.include "asm/overlay_0010_transform.asm"
.include "asm/overlay_0012_credits.asm"
.include "asm/overlay_0013_postcredits.asm"
.include "asm/overlay_0014_startup.asm"
.include "asm/overlay_0015_topscreen.asm"
.include "asm/overlay_0016_save.asm"
.include "asm/overlay_0017_folder.asm"
.include "asm/overlay_0018_navi.asm"
.include "asm/overlay_0019_item.asm"
.include "asm/overlay_0020_records.asm"
.include "asm/overlay_0021_bestcombo.asm"
.include "asm/overlay_0024_library.asm"
.include "asm/overlay_0025_transer.asm"
.include "asm/overlay_0027_shop.asm"
.include "asm/overlay_0028_face.asm"
.include "asm/overlay_0029_minigame.asm"
.include "asm/mapscene/overlay_0036_scene_bigwave.asm"
.include "asm/mapscene/overlay_0082_scene_scrapcomp3.asm"
.include "asm/mapscene/overlay_0107_scene_towercomp.asm"
.include "asm/mapscene/overlay_0116_scene_pianocomp.asm"
.include "asm/mapscene/overlay_0133_scene_mirrorcomp.asm"
.include "asm/mapscene/overlay_0134_scene_mowamowacomp.asm"
.include "asm/mapscene/overlay_0139_scene_echoridge_er.asm"
.include "asm/mapscene/overlay_0145_scene_bigwave_er.asm"
.include "asm/mapscene/overlay_0146_scene_vistapoint_er.asm"
.include "asm/mapscene/overlay_0147_scene_amakengrounds_er.asm"
.include "asm/mapscene/overlay_0150_scene_lab_er.asm"
.include "asm/mapscene/overlay_0157_scene_class5a_er.asm"
.include "asm/mapscene/overlay_0159_scene_gym_er.asm"
.include "asm/mapscene/overlay_0161_scene_timesquare_er.asm"
.include "asm/mapscene/overlay_0162_scene_nacys1f_er.asm"
.include "asm/mapscene/overlay_0167_scene_dreampark_er.asm"
.include "asm/mapscene/overlay_0172_scene_servicemodule_er.asm"
.include "asm/mapscene/overlay_0177_scene_deepspace1_er.asm"
.include "asm/mapscene/overlay_0178_scene_deepspace2_er.asm"
.include "asm/mapscene/overlay_0179_scene_deepspace3_er.asm"
.include "asm/object/overlay_0180_object_echoridge.asm"
.include "asm/object/overlay_0181_object_geoslivingroom.asm"
.include "asm/object/overlay_0182_object_geosroom.asm"
.include "asm/object/overlay_0183_object_lunasroom.asm"
.include "asm/object/overlay_0184_object_budsroom.asm"
.include "asm/object/overlay_0185_object_zacksroom.asm"
.include "asm/object/overlay_0186_object_bigwave.asm"
.include "asm/object/overlay_0187_object_vistapoint.asm"
.include "asm/object/overlay_0188_object_amakengrounds.asm"
.include "asm/object/overlay_0189_object_amakenfoyer.asm"
.include "asm/object/overlay_0190_object_sciencemuseum.asm"
.include "asm/object/overlay_0191_object_lab.asm"
.include "asm/object/overlay_0193_object_foyer.asm"
.include "asm/object/overlay_0197_object_class1b.asm"
.include "asm/object/overlay_0198_object_class5a.asm"
.include "asm/object/overlay_0200_object_gym.asm"
.include "asm/object/overlay_0201_object_studio.asm"
.include "asm/object/overlay_0202_object_timesquare.asm"
.include "asm/object/overlay_0203_object_nacys1f.asm"
.include "asm/object/overlay_0204_object_nacysroof.asm"
.include "asm/object/overlay_0205_object_eventstage.asm"
.include "asm/object/overlay_0207_object_dreamisland.asm"
.include "asm/object/overlay_0208_object_dreampark.asm"
.include "asm/object/overlay_0210_object_scrapyard1.asm"
.include "asm/object/overlay_0211_object_scrapyard2.asm"
.include "asm/object/overlay_0213_object_servicemodule.asm"
.include "asm/object/overlay_0219_object_deepspace1.asm"
.include "asm/object/overlay_0220_object_deepspace2.asm"
.include "asm/object/overlay_0221_object_deepspace3.asm"
.include "asm/object/overlay_0235_object_scrapcomp3.asm"
.include "asm/object/overlay_0238_object_stationcomp3.asm"
.include "asm/object/overlay_0260_object_towercomp.asm"
.include "asm/object/overlay_0269_object_pianocomp.asm"
.include "asm/object/overlay_0277_object_doghousecomp.asm"
.include "asm/object/overlay_0286_object_mirrorcomp.asm"
.include "asm/object/overlay_0287_object_mowamowacomp.asm"
.include "asm/cutscene/overlay_0293_scene_ch1_geoslvrm_name.asm"
.include "asm/cutscene/overlay_0298_scene_pretutorial1.asm"
.include "asm/cutscene/overlay_0320_scene_pulseintotrain.asm"
.include "asm/cutscene/overlay_0322_scene_ch1_vistapoint_brother.asm"
.include "asm/cutscene/overlay_0333_scene_ch2_echoridge_propellerman.asm"
.include "asm/cutscene/overlay_0376_scene_ch3_vistapoint_pitcherman.asm"
.include "asm/cutscene/overlay_0391_scene_ch3_vistapoint_brotherband.asm"
.include "asm/cutscene/overlay_0426_scene_ch4_schoolcomp_studywave.asm"
.include "asm/cutscene/overlay_0445_scene_ch5_nacysroof_ophiuca.asm"
.include "asm/cutscene/overlay_0449_scene_ch5_eventstage_thermoman.asm"
.include "asm/cutscene/overlay_0453_scene_ch5_eventstage_brotherband.asm"
.include "asm/cutscene/overlay_0463_scene_ch5_robosnakecomp3_hertz3a.asm"
.include "asm/cutscene/overlay_0464_scene_ch5_robosnakecomp3_hertz3b.asm"
.include "asm/cutscene/overlay_0465_scene_ch5_robosnakecomp3_hertz2.asm"
.include "asm/cutscene/overlay_0466_scene_ch5_robosnakecomp3_hertz1.asm"
.include "asm/cutscene/overlay_0467_scene_ch5_robosnakecomp2_hertz2a.asm"
.include "asm/cutscene/overlay_0468_scene_ch5_robosnakecomp2_hertz2b.asm"
.include "asm/cutscene/overlay_0469_scene_ch5_robosnakecomp2_hertz1.asm"
.include "asm/cutscene/overlay_0470_scene_ch5_robosnakecomp1_hertz2.asm"
.include "asm/cutscene/overlay_0471_scene_ch5_robosnakecomp1_hertz1.asm"
.include "asm/cutscene/overlay_0479_scene_dragonmail.asm"
.include "asm/cutscene/overlay_0480_scene_ch6_timesquare_pat.asm"
.include "asm/cutscene/overlay_0511_scene_ch6_scrapyard2_pat.asm"
.include "asm/cutscene/overlay_0512_scene_ch6_citydump_shovelman.asm"
.include "asm/cutscene/overlay_0517_scene_ch6_scrapcomp3_allfound.asm"
.include "asm/cutscene/overlay_0518_scene_ch6_scrapcomp2_allfound.asm"
.include "asm/cutscene/overlay_0519_scene_ch6_scrapcomp1_allfound.asm"
.include "asm/cutscene/overlay_0520_scene_ch6_scrapcomp3_hertz1.asm"
.include "asm/cutscene/overlay_0521_scene_ch6_scrapcomp3_hertz2.asm"
.include "asm/cutscene/overlay_0522_scene_ch6_scrapcomp3_hertz3.asm"
.include "asm/cutscene/overlay_0523_scene_ch6_scrapcomp3_hertz4.asm"
.include "asm/cutscene/overlay_0524_scene_ch6_scrapcomp2_hertz1.asm"
.include "asm/cutscene/overlay_0525_scene_ch6_scrapcomp2_hertz2.asm"
.include "asm/cutscene/overlay_0526_scene_ch6_scrapcomp2_hertz3.asm"
.include "asm/cutscene/overlay_0527_scene_ch6_scrapcomp1_hertz1.asm"
.include "asm/cutscene/overlay_0528_scene_ch6_scrapcomp1_hertz2.asm"
.include "asm/cutscene/overlay_0530_scene_ch7_geosroom_omegaxis.asm"
.include "asm/cutscene/overlay_0535_scene_ch7_timesquare_admins.asm"
.include "asm/cutscene/overlay_0536_scene_ch7_scrapyard1_pitcherman.asm"
.include "asm/cutscene/overlay_0537_scene_ch7_scrapyard2_fmians.asm"
.include "asm/cutscene/overlay_0538_scene_ch7_scrapyard2_brotherband.asm"
.include "asm/cutscene/overlay_0539_scene_ch7_echoridge_jammers.asm"
.include "asm/cutscene/overlay_0540_scene_ch7_echoridge_brotherband.asm"
.include "asm/cutscene/overlay_0541_scene_ch7_lab_boreal_2.asm"
.include "asm/cutscene/overlay_0542_scene_ch7_scrapyard2_shovelman.asm"
.include "asm/cutscene/overlay_0543_scene_ch7_islandunderground_gemini1.asm"
.include "asm/cutscene/overlay_0544_scene_ch7_islandunderground_gemini2.asm"
.include "asm/cutscene/overlay_0551_scene_ch7_servicemodule_keyman.asm"
.include "asm/cutscene/overlay_0556_scene_ch7_acmodule_thermoman.asm"
.include "asm/cutscene/overlay_0559_scene_ch7_acmodule_propellerman.asm"
.include "asm/cutscene/overlay_0566_scene_ch7_livingmodule_final.asm"
.include "asm/cutscene/overlay_0573_scene_ch7_echoridge_epilogue.asm"
.include "asm/cutscene/overlay_0577_scene_pegasus_prebattle.asm"
.include "asm/cutscene/overlay_0578_scene_leo_prebattle.asm"
.include "asm/cutscene/overlay_0579_scene_dragon_prebattle.asm"
.include "asm/cutscene/overlay_0580_scene_pegasus_postbattle.asm"
.include "asm/cutscene/overlay_0581_scene_leo_postbattle.asm"
.include "asm/cutscene/overlay_0582_scene_dragon_postbattle.asm"
.include "asm/cutscene/overlay_0646_scene_boktaibro_1.asm"
.include "asm/cutscene/overlay_0647_scene_boktaibro_2.asm"
.include "asm/cutscene/overlay_0648_scene_boktaibro_3.asm"
.include "asm/cutscene/overlay_0649_scene_boktaibro_4.asm"
.include "asm/cutscene/overlay_0650_scene_boktaibro_5.asm"
.include "asm/cutscene/overlay_0651_scene_boktaibro_6.asm"
.include "asm/cutscene/overlay_0652_scene_copybro.asm"
.include "asm/cutscene/overlay_0653_scene_dragonshadow_prebattle.asm"
.include "asm/cutscene/overlay_0654_scene_dragonshadow_postbattle.asm"
.include "asm/cutscene/overlay_0655_scene_leoshadow_prebattle.asm"
.include "asm/cutscene/overlay_0656_scene_leoshadow_postbattle.asm"
.include "asm/cutscene/overlay_0658_scene_famousjammer_postbattle.asm"
.include "asm/cutscene/overlay_0659_scene_famousbootup.asm"
.include "asm/cutscene/overlay_0660_scene_1000notechallenge.asm"
.include "asm/cutscene/overlay_0661_scene_hollow_prebattle.asm"
.include "asm/cutscene/overlay_0662_scene_hollow_postbattle.asm"
.include "asm/cutscene/overlay_0663_scene_starfragtrader.asm"
.include "asm/battle/overlay_0599_battle_taurusfire.asm"
.include "asm/battle/overlay_0600_battle_cygnuswing.asm"
.include "asm/battle/overlay_0601_battle_harpnote.asm"
.include "asm/battle/overlay_0602_battle_librascales.asm"
.include "asm/battle/overlay_0603_battle_queenophiuca.asm"
.include "asm/battle/overlay_0604_battle_andromeda.asm"
.include "asm/battle/overlay_0605_battle_geminispark.asm"
.include "asm/battle/overlay_0606_battle_cancerbubble.asm"
.include "asm/battle/overlay_0607_battle_wolfwoods.asm"
.include "asm/battle/overlay_0608_battle_crownthunder.asm"
.include "asm/battle/overlay_0609_battle_pegasusmagic.asm"
.include "asm/battle/overlay_0610_battle_dragonsky.asm"
.include "asm/battle/overlay_0611_battle_leokingdom.asm"
.include "asm/battle/overlay_0624_battle_dragoncyclone.asm"
.include "asm/battle/overlay_0625_battle_pegasusfreeze.asm"
.include "asm/battle/overlay_0627_battle_leoblazer.asm"
.include "asm/battle/overlay_0657_battle_hollow.asm"
.include "asm/map/field_041_sciencemuseum_pal.asm"
.include "asm/map/field_094_nacys1f_img.asm"
.include "asm/map/field_095_nacys1f_map.asm"
.include "asm/map/field_096_nacys1f_wall.asm"
.include "asm/map/field_098_nacysroof_img.asm"
.include "asm/map/field_099_nacysroof_map.asm"
.include "asm/map/field_100_nacysroof_wall.asm"
.include "asm/map/field_223_stationcomp4_wall.asm"
.include "asm/map/field_265_vistapoint_er_wall.asm"
.include "asm/battlecard.asm"
.include "asm/fieldcardforce.asm"
.include "asm/fieldface.asm"
.include "asm/screen_common.asm"
.include "asm/screen_local.asm"
.include "asm/subscreen_record_local.asm"