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.

47 lines
2.4 KiB

6 years ago
  1. # Transparent Star
  2. transparent_star_seg3_light_0302C488: # 0x0302C488
  3. .byte 0x03, 0x05, 0x17, 0x00, 0x03, 0x05, 0x17, 0x00
  4. transparent_star_seg3_light_0302C490: # 0x0302C490
  5. .byte 0x1E, 0x32, 0xE6, 0x00, 0x1E, 0x32, 0xE6, 0x00
  6. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  7. transparent_star_seg3_vertex_0302C4A0: # 0x0302C4A0
  8. vertex 0, 8, -89, 0, 0, 0x00, 0x07, 0x82, 0xFF
  9. vertex 190, -201, 0, 0, 0, 0x55, 0xA3, 0x00, 0xFF
  10. vertex 0, -129, 0, 0, 0, 0x00, 0x82, 0x00, 0xFF
  11. vertex 146, -42, 0, 0, 0, 0x7C, 0xE7, 0x00, 0xFF
  12. vertex 0, 8, 90, 0, 0, 0x00, 0x07, 0x7E, 0xFF
  13. vertex 257, 84, 0, 0, 0, 0x68, 0x47, 0x00, 0xFF
  14. vertex -145, -42, 0, 0, 0, 0x84, 0xE7, 0x00, 0xFF
  15. vertex -189, -201, 0, 0, 0, 0xAA, 0xA3, 0x00, 0xFF
  16. vertex -256, 84, 0, 0, 0, 0x97, 0x47, 0x00, 0xFF
  17. vertex 0, 246, 0, 0, 0, 0x00, 0x7E, 0x00, 0xFF
  18. vertex 96, 99, 0, 0, 0, 0x3D, 0x6F, 0x00, 0xFF
  19. vertex -95, 99, 0, 0, 0, 0xC3, 0x6F, 0x00, 0xFF
  20. glabel transparent_star_seg3_dl_0302C560 # 0x0302C560 - 0x0302C620
  21. gsSPLight transparent_star_seg3_light_0302C490, 1
  22. gsSPLight transparent_star_seg3_light_0302C488, 2
  23. gsSPVertex transparent_star_seg3_vertex_0302C4A0, 12, 0
  24. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  25. gsSP2Triangles 2, 1, 4, 0x0, 1, 3, 4, 0x0
  26. gsSP2Triangles 5, 3, 0, 0x0, 4, 3, 5, 0x0
  27. gsSP2Triangles 6, 7, 4, 0x0, 7, 2, 4, 0x0
  28. gsSP2Triangles 8, 6, 4, 0x0, 9, 4, 10, 0x0
  29. gsSP2Triangles 9, 11, 4, 0x0, 4, 5, 10, 0x0
  30. gsSP2Triangles 11, 8, 4, 0x0, 0, 2, 7, 0x0
  31. gsSP2Triangles 0, 7, 6, 0x0, 0, 6, 8, 0x0
  32. gsSP2Triangles 0, 8, 11, 0x0, 0, 11, 9, 0x0
  33. gsSP2Triangles 10, 5, 0, 0x0, 10, 0, 9, 0x0
  34. gsSPEndDisplayList
  35. glabel transparent_star_seg3_dl_0302C620 # 0x0302C620 - 0x0302C658
  36. gsDPPipeSync
  37. gsDPSetCombineMode1Cycle G_CCMUX_0, G_CCMUX_0, G_CCMUX_0, G_CCMUX_SHADE, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_ENVIRONMENT
  38. gsDPSetEnvColor 255, 255, 255, 120
  39. gsSPDisplayList transparent_star_seg3_dl_0302C560
  40. gsDPSetEnvColor 255, 255, 255, 255
  41. 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
  42. gsSPEndDisplayList