summaryrefslogtreecommitdiff
path: root/spritetex.yaml
blob: e5658c8143f5210809df09494d3015608ebf1ccb (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
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
---
source_files: [../src/spritetex.S]
hooks:
#  - name: TEX_WoodBox
#    type: branch_insn
#    branch_type: bl
#    NOTES: 'fix ntsc addr later'
#    src_addr_ntsc: 0x80ACBFB0
#    src_addr_pal: 0x80ACBFB0
#    target_func: 'TEX_WoodBox'

  - name: TEX_Bush
    type: branch_insn
    branch_type: bl
    src_addr_ntsc: 0x80875BB4
    src_addr_pal: 0x80875BB4
    target_func: 'TEX_Bush'

  - name: TEX_RollingHills
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x807EF26C
    target_func: 'TEX_RollingHills'



# The below was added by Tempus


  - name: TEX_Goomba
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80031384
    target_func: 'TEX_Goomba'


  - name: TEX_BigGoomba
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80033350
    target_func: 'TEX_BigGoomba'


  - name: TEX_Barrel
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x809AB3B4
    target_func: 'TEX_Barrel'


#  - name: TEX_Blooper
#    type: branch_insn
#    branch_type: bl
#    src_addr_pal: 0x80A0451C
#    target_func: 'TEX_Blooper'


#  - name: TEX_BigBlock
#    type: branch_insn
#    branch_type: bl
#    src_addr_pal: 0x809B8DB8
#    target_func: 'TEX_BigBlock'


  - name: TEX_Thwomp
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x809F63F4
    target_func: 'TEX_Thwomp'


  - name: TEX_GiantBuzzy
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x809B6B44
    target_func: 'TEX_GiantBuzzy'


  - name: TEX_Buzzy
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80A67834
    target_func: 'TEX_Buzzy'


  - name: TEX_BuzzyShell
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80A67540
    target_func: 'TEX_BuzzyShell'


  - name: TEX_SpikeTop
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80AB2C34
    target_func: 'TEX_SpikeTop'


  - name: TEX_SpinyShell
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x8003DBF8
    target_func: 'TEX_SpinyShell'


  - name: TEX_Spiny
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x8003DD0C
    target_func: 'TEX_Spiny'


  - name: TEX_SpringBlock
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80AC8640
    target_func: 'TEX_SpringBlock'


  - name: TEX_Coaster
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80859714
    target_func: 'TEX_Coaster'


  - name: TEX_Koopa
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80A72904
    target_func: 'TEX_Koopa'


  - name: TEX_KoopaShell
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80A72644
    target_func: 'TEX_Koopa'


  - name: TEX_Gabon
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80A00290
    target_func: 'TEX_Gabon'


  - name: TEX_Gabon_Spike
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80A00984
    target_func: 'TEX_Gabon_Spike'


  - name: TEX_GabonRock
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x807F8CD4
    target_func: 'TEX_GabonRock'


  - name: TEX_Podoboo
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x809D0CC0
    target_func: 'TEX_Podoboo'


  - name: TEX_Switch
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80A19ED4
    target_func: 'TEX_Switch'


  - name: TEX_WiggleShroom
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x800BC9D8
    target_func: 'TEX_WiggleShroom'


  - name: TEX_Bramball
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80A1C844
    target_func: 'TEX_Bramball'


  - name: TEX_Monty
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x809D8DB4
    target_func: 'TEX_Monty'


#  - name: TEX_ChainChomp
#    type: branch_insn
#    branch_type: bl
#    src_addr_pal: 0x80ABF934
#    target_func: 'TEX_ChainChomp'


  - name: TEX_Manta
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x8085DAA8
    target_func: 'TEX_Manta'


#  - name: TEX_MantaInherit
#    type: branch_insn
#    branch_type: bl
#    src_addr_pal: 0x8085F6D4
#    target_func: 'TEX_MantaInherit'


  - name: TEX_Parabeetle
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80A83260
    target_func: 'TEX_Parabeetle'


  - name: TEX_Bomb
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x809C90A4
    target_func: 'TEX_Bomb'


  - name: TEX_ParaBomb
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80A7EEF8
    target_func: 'TEX_ParaBomb'


#  - name: TEX_CheepA
#    type: branch_insn
#    branch_type: bl
#    src_addr_pal: 0x80A3B8F8
#    target_func: 'TEX_CheepA'


#  - name: TEX_CheepB
#    type: branch_insn
#    branch_type: bl
#    src_addr_pal: 0x80AB2288
#    target_func: 'TEX_CheepB'


#  - name: TEX_CheepC
#    type: branch_insn
#    branch_type: bl
#    src_addr_pal: 0x80A8A008
#    target_func: 'TEX_CheepC'


#  - name: TEX_CheepChomp
#    type: branch_insn
#    branch_type: bl
#    src_addr_pal: 0x809A67F4
#    target_func: 'TEX_CheepChomp'


#  - name: TEX_BigBoo
#     type: branch_insn
#     branch_type: bl
#     src_addr_pal: 0x80AAF5E0
#     target_func: 'TEX_BigBoo'
#
#
#  - name: TEX_Boo
#     type: branch_insn
#     branch_type: bl
#     src_addr_pal: 0x808F0628
#     target_func: 'TEX_Boo'


  - name: TEX_Midway
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x807E22C4
    target_func: 'TEX_Midway'


  - name: TEX_Goal
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80A0A0E8
    target_func: 'TEX_Goal'


#  - name: TEX_StretchMush
#    type: branch_insn
#    branch_type: bl
#    src_addr_pal: 0x8084AD10
#    target_func: 'TEX_StretchMush'


  - name: TEX_BlockSlide
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x807E54AC
    target_func: 'TEX_BlockSlide'


#  - name: TEX_Spinner
#    type: branch_insn
#    branch_type: bl
#    src_addr_pal: 0x8084F9E0
#    target_func: 'TEX_Spinner'


#  - name: TEX_Platforms
#    type: branch_insn
#    branch_type: bl
#    src_addr_pal: 0x800C03A0
#    target_func: 'TEX_Platforms'


#  - name: TEX_Platform_ShifterH
#    type: branch_insn
#    branch_type: bl
#    src_addr_pal: 0x80841CBC
#    target_func: 'TEX_Platform_ShifterH'

#  - name: TEX_Platform_ShifterF
#    type: branch_insn
#    branch_type: bl
#    src_addr_pal: 0x808374FC
#    target_func: 'TEX_Platform_ShifterF'
#
#  - name: TEX_Platform_ShifterL
#    type: branch_insn
#    branch_type: bl
#    src_addr_pal: 0x80839810
#    target_func: 'TEX_Platform_ShifterL'
#
#  - name: TEX_Platform_ShifterV
#    type: branch_insn
#    branch_type: bl
#    src_addr_pal: 0x80844D68
#    target_func: 'TEX_Platform_ShifterF'
#
#  - name: TEX_Platform_ShifterR
#    type: branch_insn
#    branch_type: bl
#    src_addr_pal: 0x80845B08
#    target_func: 'TEX_Platform_ShifterR'
#
#  - name: TEX_Platform_ShifterS
#    type: branch_insn
#    branch_type: bl
#    src_addr_pal: 0x80848A64
#    target_func: 'TEX_Platform_ShifterS'
#
#  - name: TEX_Platform_ShifterK
#    type: branch_insn
#    branch_type: bl
#    src_addr_pal: 0x8084A778
#    target_func: 'TEX_Platform_ShifterK'
#
#  - name: TEX_Platform_ShifterW
#    type: branch_insn
#    branch_type: bl
#    src_addr_pal: 0x8084F344
#    target_func: 'TEX_Platform_ShifterW'
#
#  - name: TEX_Platform_ShifterSL
#    type: branch_insn
#    branch_type: bl
#    src_addr_pal: 0x80858870
#    target_func: 'TEX_Platform_ShifterSL'
#
#  - name: TEX_Platform_ShifterWL
#    type: branch_insn
#    branch_type: bl
#    src_addr_pal: 0x808BF040
#    target_func: 'TEX_Platform_ShifterW'
#


  - name: TEX_PokeyA
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80AA1DB0
    target_func: 'TEX_PokeyA'


  - name: TEX_PokeyB
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80A9F834
    target_func: 'TEX_PokeyB'


  - name: TEX_PokeyC
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80A9D028
    target_func: 'TEX_PokeyC'


  - name: TEX_PokeyNoSand
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80A9E7A8
    target_func: 'TEX_PokeyNoSand'


#  - name: TEX_PokeySnowmanPos
#    type: branch_insn
#    branch_type: bl
#    src_addr_pal: 0x80A9F7C0
#    target_func: 'TEX_PokeySnowmanPos'
#
#  - name: TEX_PokeySnowmanPosA
#    type: branch_insn
#    branch_type: bl
#    src_addr_pal: 0x80A9FEF8
#    target_func: 'TEX_PokeySnowmanPosA'
#
#  - name: TEX_PokeySnowmanPosB
#    type: branch_insn
#    branch_type: bl
#    src_addr_pal: 0x80AA002C
#    target_func: 'TEX_PokeySnowmanPosB'
#
#
#  - name: TEX_PokeySnowmanPosC
#    type: branch_insn
#    branch_type: bl
#    src_addr_pal: 0x80AA04D0
#    target_func: 'TEX_PokeySnowmanPosC'
#
#
#  - name: TEX_PokeySnowmanPosD
#    type: branch_insn
#    branch_type: bl
#    src_addr_pal: 0x80AA0644
#    target_func: 'TEX_PokeySnowmanPosD'
#
#  - name: TEX_PokeySnowmanPosE
#    type: branch_insn
#    branch_type: bl
#    src_addr_pal: 0x80AA0848
#    target_func: 'TEX_PokeySnowmanPosE'
#
#  - name: TEX_PokeySnowmanPosF
#    type: branch_insn
#    branch_type: bl
#    src_addr_pal: 0x80AA0A5C
#    target_func: 'TEX_PokeySnowmanPosF'
#
#
#
#  - name: TEX_PokeySnowmanPosZ
#    type: patch
#    data: '60000000'
#    addr_pal: 0x80A9D054


  - name: TEX_PokeySnowman
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80A9F714
    target_func: 'TEX_PokeySnowman'


  - name: TEX_CloudBounce
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80A5C900
    target_func: 'TEX_CloudBounce'


  - name: TEX_SpikeBall
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x809B7620
    target_func: 'TEX_SpikeBall'


  - name: TEX_SpikeBallSmall
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80AB6054
    target_func: 'TEX_SpikeBall'


  - name: TEX_Huckit
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80A3F004
    target_func: 'TEX_Huckit'


  - name: TEX_HuckitBalls
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80A40B70
    target_func: 'TEX_HuckitBalls'


  - name: TEX_HuckitBallsInherit
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80A3F1A0
    target_func: 'TEX_HuckitBallsInherit'



  - name: HammerTime
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80A5BCB0
    target_func: 'HammerTime'

  - name: HammerLaunch
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80A5BA68
    target_func: 'HammerLaunch'

  - name: HammerLeft
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80A5BAA4
    target_func: 'HammerLeft'

  - name: HammerSpin
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80A5BA90
    target_func: 'HammerSpin'

  - name: HammerColour
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80023FBC
    target_func: 'HammerColour'




  - name: TEX_YoshiEggSetColour
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80911050
    target_func: 'TEX_YoshiEggSetColour'

  - name: TEX_YoshiEggSetBrres
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x809113D0
    target_func: 'TEX_YoshiEggSetBrres'

  - name: TEX_YoshiEggSetFrame
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x809114B4
    target_func: 'TEX_YoshiEggSetFrame'

  - name: TEX_YoshiEggEffect
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80911658
    target_func: 'TEX_YoshiEggEffect'

  - name: TEX_YoshiSetColour
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x8005E9C8
    target_func: 'TEX_YoshiSetColour'

  - name: TEX_YoshiHack
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x800FE58C
    target_func: 'TEX_YoshiHack'

  - name: TEX_YoshiColourOrderA
    type: patch
    data: '3F8000004000000040400000'
    addr_pal: 0x8093DAB4

  - name: TEX_YoshiColourOrderB
    type: patch
    data: '00000003000000010000000200000000'
    addr_pal: 0x8093DAD8

  - name: TEX_AirshipGear
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x808A2430
    target_func: 'TEX_AirshipGear'

  - name: TEX_BigShell
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x807BE520
    target_func: 'TEX_BigShell'


  - name: TEX_MushroomPlatform
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x8087F640
    target_func: 'TEX_MushroomPlatform'





  - name: TEX_Flakes
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80887AC0
    target_func: 'TEX_Flakes'

  - name: TEX_BlackFlakes
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x808882E0
    target_func: 'TEX_BlackFlakes'