summaryrefslogtreecommitdiff
path: root/growup.yaml
blob: c7238ae12a249749149a581fedea4ad692e86458 (plain)
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
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
---
source_files: [../src/growup.s]
hooks:


# After Actor onCreate

  - name: Global_Size
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x800951EC
    target_func: 'ModifyGlobalSizes'


# Active Physics Init from Struct

  - name: Global_Collisions
    type: branch_insn
    branch_type: b
    src_addr_pal: 0x8008C3E0
    target_func: 'ModifyCollision'


# Update Object Positions Based on Speed Values

#  - name: Global_Speed_Updates
#    type: branch_insn
#    branch_type: b
#    src_addr_pal: 0x8006CD00
#    target_func: 'ModifySpeedUpdates'

  - name: Global_Speed_UpdatesA
    type: branch_insn
    branch_type: b
    src_addr_pal: 0x80065620
    target_func: 'ModifySpeedUpdatesA'

  - name: Global_Speed_UpdatesB
    type: branch_insn
    branch_type: b
    src_addr_pal: 0x80095730
    target_func: 'ModifySpeedUpdatesB'


# Loading Patches

#  - name: Global_SizeLoader_X
#    type: branch_insn
#    branch_type: bl
#    src_addr_pal: 0x800684B8
#    target_func: 'ModifyLoadSizeX'
#
#  - name: Global_SizeLoader_Y
#    type: branch_insn
#    branch_type: bl
#    src_addr_pal: 0x800684C0
#    target_func: 'ModifyLoadSizeY'


#  - name: Global_SizeLoader
#    type: branch_insn
#    branch_type: bl
#    src_addr_pal: 0x80068930
#    target_func: 'ModifyLoadSize'
#
#  - name: Global_SizeLoaderNull
#    type: patch
#    data: "600000006000000060000000600000006000000060000000600000006000000060000000600000006000000060000000600000006000000060000000600000006000000060000000600000006000000060000000600000006000000060000000600000006000000060000000600000006000000060000000"
#    addr_pal: 0x80068934

#  - name: GlobalSizeA
#    type: patch
#    data: '38600001'
#    addr_pal: 0x80064540
#
#  - name: GlobalSizeB
#    type: patch
#    data: '4E800020'
#    addr_pal: 0x80064544





# Stand On Top Special Collisions Inits
#
#  - name: Global_StandonTopA
#    type: branch_insn
#    branch_type: b
#    src_addr_pal: 0x800DB27C
#    target_func: 'ModifyStandOnTopInitA'
#
#  - name: Global_StandonTopB
#    type: branch_insn
#    branch_type: b
#    src_addr_pal: 0x800DB294
#    target_func: 'ModifyStandOnTopInitB'
#
#  - name: Global_StandonTopC
#    type: branch_insn
#    branch_type: b
#    src_addr_pal: 0x800DB30C
#    target_func: 'ModifyStandOnTopInitC'
#
#  - name: Global_StandonTopD
#    type: branch_insn
#    branch_type: b
#    src_addr_pal: 0x800DB32C
#    target_func: 'ModifyStandOnTopInitD'



# Rideable Actor Inits


  - name: Global_RiderA
    type: branch_insn
    branch_type: b
    src_addr_pal: 0x800DB690
    target_func: 'ModifyRiderInitA'

  - name: Global_RiderB
    type: branch_insn
    branch_type: b
    src_addr_pal: 0x800DB6B4
    target_func: 'ModifyRiderInitB'

  - name: Global_RiderC
    type: branch_insn
    branch_type: b
    src_addr_pal: 0x800DB6E8
    target_func: 'ModifyRiderInitC'

  - name: Global_RiderD
    type: branch_insn
    branch_type: b
    src_addr_pal: 0x800DB6FC
    target_func: 'ModifyRiderInitD'








## Below are enemy specific hacks to fix issues that arise when resizing


  - name: FixingPipeSpawnerGoomba
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80ABB6A8
    target_func: 'InheritSettings_C'

  - name: FixingPipeSpawnerGoombaB
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80ABB6D0
    target_func: 'InheritSettings_D'


  - name: FixingPipeSpawnerBobomb
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80ABB758
    target_func: 'InheritSettings_B'
    

#  - name: FixingBlockHit
#    type: branch_insn
#    branch_type: bl
#    src_addr_pal: 0x800883A4
#    target_func: 'InheritSettings_B'
#
#
#  - name: FixingBlockHitB
#    type: branch_insn
#    branch_type: bl
#    src_addr_pal: 0x80088938
#    target_func: 'InheritSettings_C'

  - name: FixingMegaGoombaAA
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80A5AAA8
    target_func: 'InheritSettings'

  - name: FixingMegaGoombaAB
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80A5AAC4
    target_func: 'InheritSettings'


  - name: FixingMegaGoombaBA
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80A5AB44
    target_func: 'InheritSettings'

  - name: FixingMegaGoombaBB
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80A5AB80
    target_func: 'InheritSettings'

  - name: FixingMegaGoombaBC
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80A5AB9C
    target_func: 'InheritSettings'

  - name: FixingMegaGoombaBD
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80A5ABB8
    target_func: 'InheritSettings'


  - name: FixingLargeGoombaAA
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80A6A208
    target_func: 'InheritSettings'

  - name: FixingLargeGoombaAB
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80A6A22C
    target_func: 'InheritSettings'


  - name: FixingLargeGoombaBA
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80A6A2A8
    target_func: 'InheritSettings'

  - name: FixingLargeGoombaBB
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80A6A2CC
    target_func: 'InheritSettings'



  - name: Piranha_Collisions
    type: patch
    data: "41C00000"
    addr_pal: 0x802EE81C




  - name: GlobalZOrderDeath
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x800980A4
    target_func: 'GlobalZOrderDeath'

  - name: PokeyZOrderDeath
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80A9ED2C
    target_func: 'PokeyZOrderDeath'

  - name: PokeyZOrderDeathFreeze
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80A9EE58
    target_func: 'PokeyZOrderDeathFreeze'

  - name: PokeyZOrderDamage
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x800A18E8
    target_func: 'PokeyZOrderDamage'


  - name: GabonRockZOrderDeath
    type: branch_insn
    branch_type: b
    src_addr_pal: 0x807FAAAC
    target_func: 'GabonRockZOrderDeath'

  - name: GabonRockZOrderDeathDrop
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x807FA9C0 
    target_func: 'GabonRockZOrderDeathDrop'



#
#  - name: Projectile_Lakitu
#    type: branch_insn
#    branch_type: bl
#    src_addr_pal: 0x80AB7A28
#    target_func: 'LakituBomb'
#    
#
#  - name: Projectile_LakituTwo
#    type: patch
#    data: "6000000060000000"
#    addr_pal: 0x80A37BF4
#
#  - name: Projectile_LakituThree
#    type: patch
#    data: "60000000"
#    addr_pal: 0x80A37CDC
#
#  - name: Projectile_LakituFour
#    type: patch
#    data: "60000000"
#    addr_pal: 0x80A37D00
#
#  - name: Projectile_LakituFive
#    type: patch
#    data: "60000000"
#    addr_pal: 0x80A37B0C
#



#  - name: Projectile_Pirahna
#    type: branch_insn
#    branch_type: bl
#    src_addr_pal: 0x80029640
#    target_func: 'PiranhaFireType'
#
#  - name: Projectile_PiranhaPos
#    type: branch_insn
#    branch_type: bl
#    src_addr_pal: 0x8002964C
#    target_func: 'PiranhaFirePos'

#
#  - name: Projectile_PirahnaB
#    type: branch_insn
#    branch_type: bl
#    src_addr_pal: 0x80A33300
#    target_func: 'PiranhaFireType'


#  - name: PipeGenerator
#    type: branch_insn
#    branch_type: bl
#    src_addr_pal: 0x80ABB76C
#    target_func: 'PipeGeneratorSpawn'


# 809EA268 - Broozer physics struct
# 80ABB6E0 - Pipe Generator

#80AB7910