Super Mario 64s source code (from a leak on 4chan so be careful)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
2.9 KiB

6 years ago
  1. # Sparkles Animation
  2. sparkles_animation_seg4_vertex_04032A48: # 0x04032A48
  3. vertex -32, 0, 0, 0, 992, 0xFF, 0xFF, 0x64, 0xFF
  4. vertex 32, 0, 0, 992, 992, 0xFF, 0xFF, 0x64, 0xFF
  5. vertex 32, 64, 0, 992, 0, 0xFF, 0xFF, 0x64, 0xFF
  6. vertex -32, 64, 0, 0, 0, 0xFF, 0xFF, 0x64, 0xFF
  7. sparkles_animation_seg4_texture_04032A88: # 0x04032A88
  8. .incbin "actors/sparkle_animation/0.ia16"
  9. sparkles_animation_seg4_texture_04033288: # 0x04033288
  10. .incbin "actors/sparkle_animation/1.ia16"
  11. sparkles_animation_seg4_texture_04033A88: # 0x04033A88
  12. .incbin "actors/sparkle_animation/2.ia16"
  13. sparkles_animation_seg4_texture_04034288: # 0x04034288
  14. .incbin "actors/sparkle_animation/3.ia16"
  15. sparkles_animation_seg4_texture_04034A88: # 0x04034A88
  16. .incbin "actors/sparkle_animation/4.ia16"
  17. glabel sparkles_animation_seg4_dl_04035288 # 0x04035288 - 0x04035300
  18. gsSPClearGeometryMode G_LIGHTING
  19. gsDPSetCombineMode1Cycle G_CCMUX_TEXEL0, G_CCMUX_0, G_CCMUX_SHADE, G_CCMUX_0, G_ACMUX_TEXEL0, G_ACMUX_0, G_ACMUX_SHADE, G_ACMUX_0
  20. gsSPTexture -1, -1, 0, 0, 1
  21. gsDPSetTile G_IM_FMT_IA, G_IM_SIZ_16b, 0, 0, G_TX_LOADTILE, 0, G_TX_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  22. gsDPLoadSync
  23. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  24. gsDPSetTile G_IM_FMT_IA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  25. gsDPSetTileSize 0, 0, 0, 124, 124
  26. gsSPVertex sparkles_animation_seg4_vertex_04032A48, 4, 0
  27. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  28. gsSPTexture -1, -1, 0, 0, 0
  29. gsSPSetGeometryMode G_LIGHTING
  30. gsDPSetCombineMode1Cycle G_CCMUX_0, G_CCMUX_0, G_CCMUX_0, G_CCMUX_SHADE, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_SHADE
  31. gsSPEndDisplayList
  32. glabel sparkles_animation_seg4_dl_04035300 # 0x04035300 - 0x04035318
  33. gsDPPipeSync
  34. gsDPSetTextureImage G_IM_FMT_IA, G_IM_SIZ_16b, 1, sparkles_animation_seg4_texture_04032A88
  35. gsSPBranchList sparkles_animation_seg4_dl_04035288
  36. glabel sparkles_animation_seg4_dl_04035318 # 0x04035318 - 0x04035330
  37. gsDPPipeSync
  38. gsDPSetTextureImage G_IM_FMT_IA, G_IM_SIZ_16b, 1, sparkles_animation_seg4_texture_04033288
  39. gsSPBranchList sparkles_animation_seg4_dl_04035288
  40. glabel sparkles_animation_seg4_dl_04035330 # 0x04035330 - 0x04035348
  41. gsDPPipeSync
  42. gsDPSetTextureImage G_IM_FMT_IA, G_IM_SIZ_16b, 1, sparkles_animation_seg4_texture_04033A88
  43. gsSPBranchList sparkles_animation_seg4_dl_04035288
  44. glabel sparkles_animation_seg4_dl_04035348 # 0x04035348 - 0x04035360
  45. gsDPPipeSync
  46. gsDPSetTextureImage G_IM_FMT_IA, G_IM_SIZ_16b, 1, sparkles_animation_seg4_texture_04034288
  47. gsSPBranchList sparkles_animation_seg4_dl_04035288
  48. glabel sparkles_animation_seg4_dl_04035360 # 0x04035360 - 0x04035378
  49. gsDPPipeSync
  50. gsDPSetTextureImage G_IM_FMT_IA, G_IM_SIZ_16b, 1, sparkles_animation_seg4_texture_04034A88
  51. gsSPBranchList sparkles_animation_seg4_dl_04035288