summaryrefslogtreecommitdiff
path: root/spritetex.yaml
blob: 506e89d2214397f389913d67da8eab6f6c7295ab (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
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
---
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_ColorBlock
  #   type: branch_insn
  #   branch_type: bl
  #   src_addr_pal: 0x800BEA90
  #   target_func: 'TEX_ColorBlock'


#  - 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_SnowmanSandToSnow
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80A9E7D0
    target_func: 'TEX_SnowmanSandToSnow'

  - name: TEX_SnowmanSandToSnowB
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80A9EA00
    target_func: 'TEX_SnowmanSandToSnowB'


#  - name: TEX_PokeySnowmanPosZ
#    type: patch
#    data: '60000000'
#    addr_pal: 0x80A9D054

  - name: TEX_PokeySnowmanRotA
    type: patch
    data: '60000000'
    addr_pal: 0x80A9F740

  - name: TEX_PokeySnowmanRotB
    type: patch
    data: '60000000'
    addr_pal: 0x80A9F768

  - name: TEX_PokeySnowmanRotate
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80AA0690
    target_func: 'TEX_PokeySnowmanRotate'

  - name: TEX_PokeySnowmanImmuneToIce
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80A9D940
    target_func: 'TEX_PokeySnowmanImmuneToIce'


  - 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: 0x80887AC8
    target_func: 'TEX_Flakes'

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

  - name: TEX_FlakeArcs
    type: add_func_pointer
    src_addr_pal: 0x8031B124
    target_func: 'TEX_FlakeArcs'



  - name: TEX_CrabBallBurst
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80A40C38
    target_func: 'TEX_CrabBallBurst'

  - name: TEX_CrabBallSmoke
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80A40C88
    target_func: 'TEX_CrabBallSmoke'



  - name: ChangeWindyColour
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80887FB4
    target_func: 'ChangeWindyColour'


  - name: TobiPukuBypass
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x808BB34C
    target_func: 'TobiPukuBypass'

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

  - name: TobiPukuSoundChangeB
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80AB2648
    target_func: 'TobiPukuSoundChange'

  - name: TobiPukuSoundChange
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80AB2690
    target_func: 'TobiPukuSoundChange'

  - name: TobiPukuEffectChange
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80AB2618
    target_func: 'TobiPukuEffectChange'


  - name: IgaPukuBypass
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80ABC0C0
    target_func: 'IgaPukuBypass'

#  - name: TEX_IgaPuku
#    type: branch_insn
#    branch_type: bl
#    src_addr_pal: 0x80A24CF4
#    target_func: 'TEX_IgaPuku'


#  - name: IgaPukuNoEffect1
#    type: branch_insn
#    branch_type: bl
#    src_addr_pal: 0x80A251BC
#    target_func: 'IgaPukuNoEffect1'
#
#  - name: IgaPukuChangeEffect2
#    type: branch_insn
#    branch_type: bl
#    src_addr_pal: 0x80A251E8
#    target_func: 'IgaPukuChangeEffect2'
#
#
#  - name: IgaPukuSoundChange
#    type: branch_insn
#    branch_type: bl
#    src_addr_pal: 0x80A25238
#    target_func: 'IgaPukuSoundChange'


  - name: TEX_LightBlock
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80855804
    target_func: 'TEX_LightBlock'