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.

90 lines
4.6 KiB

6 years ago
  1. bowser_3_seg7_light_07003688: # 0x07003688 - 0x07003690
  2. .byte 0x22, 0x22, 0x22, 0x00, 0x22, 0x22, 0x22, 0x00
  3. bowser_3_seg7_light_07003690: # 0x07003690 - 0x070036A0
  4. .byte 0x89, 0x89, 0x8A, 0x00, 0x89, 0x89, 0x8A, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. bowser_3_seg7_light_070036A0: # 0x070036A0 - 0x070036A8
  7. .byte 0x3F, 0x3F, 0x3F, 0x00, 0x3F, 0x3F, 0x3F, 0x00
  8. bowser_3_seg7_light_070036A8: # 0x070036A8 - 0x070036B8
  9. .byte 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0x00
  10. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  11. bowser_3_seg7_vertex_070036B8: # 0x070036B8 - 0x07003718
  12. vertex 2365, -1852, -787, 3412, -3518, 0x3C, 0x99, 0xD7, 0xFF
  13. vertex 1946, -1340, -2661, 5282, -3098, 0x3C, 0x99, 0xD7, 0xFF
  14. vertex 3072, -1340, -1023, 3648, -4222, 0x3C, 0x99, 0xD7, 0xFF
  15. vertex 2365, -1852, -787, 3412, -3518, 0x2A, 0x90, 0xD8, 0xFF
  16. vertex 788, -2364, -1024, 3648, -1944, 0x2A, 0x90, 0xD8, 0xFF
  17. vertex 1946, -1340, -2661, 5282, -3098, 0x2A, 0x90, 0xD8, 0xFF
  18. bowser_3_seg7_vertex_07003718: # 0x07003718 - 0x07003758
  19. vertex 788, 307, -1024, 1514, -1872, 0x00, 0x7F, 0x00, 0xFF
  20. vertex 3072, 307, -1023, 3034, -1872, 0x00, 0x7F, 0x00, 0xFF
  21. vertex 1946, 307, -2661, 2284, -2962, 0x00, 0x7F, 0x00, 0xFF
  22. vertex 2365, 307, -787, 2564, -1714, 0x00, 0x7F, 0x00, 0xFF
  23. bowser_3_seg7_vertex_07003758: # 0x07003758 - 0x07003858
  24. vertex 788, -2364, -1024, -1010, 2012, 0x99, 0x00, 0xB7, 0xFF
  25. vertex 1946, 307, -2661, 990, 0, 0x99, 0x00, 0xB7, 0xFF
  26. vertex 1946, -1340, -2661, 990, 2012, 0x99, 0x00, 0xB7, 0xFF
  27. vertex 1946, -1340, -2661, 9926, 1816, 0x68, 0x00, 0xB9, 0xFF
  28. vertex 1946, 307, -2661, 9926, 172, 0x68, 0x00, 0xB9, 0xFF
  29. vertex 3072, 307, -1023, 8418, 172, 0x68, 0x00, 0xB9, 0xFF
  30. vertex 3072, -1340, -1023, 8418, 1816, 0x68, 0x00, 0xB9, 0xFF
  31. vertex 3072, -1340, -1023, 990, 2012, 0x28, 0x00, 0x78, 0xFF
  32. vertex 2365, 307, -787, 246, 0, 0x28, 0x00, 0x78, 0xFF
  33. vertex 2365, -1852, -787, 246, 2012, 0x28, 0x00, 0x78, 0xFF
  34. vertex 3072, 307, -1023, 990, 0, 0x28, 0x00, 0x78, 0xFF
  35. vertex 2365, 307, -787, 990, 0, 0xEE, 0x00, 0x7D, 0xFF
  36. vertex 788, 307, -1024, -600, 0, 0xEE, 0x00, 0x7D, 0xFF
  37. vertex 2365, -1852, -787, 990, 2012, 0xEE, 0x00, 0x7D, 0xFF
  38. vertex 788, -2364, -1024, -600, 2012, 0xEE, 0x00, 0x7D, 0xFF
  39. vertex 788, 307, -1024, -1010, 0, 0x99, 0x00, 0xB7, 0xFF
  40. bowser_3_seg7_dl_07003858: # 0x07003858 - 0x070038C8
  41. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bowser_3_seg7_texture_07000800
  42. gsDPLoadSync
  43. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  44. gsSPLight bowser_3_seg7_light_07003690, 1
  45. gsSPLight bowser_3_seg7_light_07003688, 2
  46. gsSPVertex bowser_3_seg7_vertex_070036B8, 6, 0
  47. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  48. gsSPLight bowser_3_seg7_light_070036A8, 1
  49. gsSPLight bowser_3_seg7_light_070036A0, 2
  50. gsSPVertex bowser_3_seg7_vertex_07003718, 4, 0
  51. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  52. gsSPEndDisplayList
  53. bowser_3_seg7_dl_070038C8: # 0x070038C8 - 0x07003930
  54. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bowser_3_seg7_texture_07001000
  55. gsDPLoadSync
  56. gsDPLoadBlock 7, 0, 0, 0x7FF, 0x100
  57. gsSPVertex bowser_3_seg7_vertex_07003758, 16, 0
  58. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  59. gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
  60. gsSP2Triangles 7, 10, 8, 0x0, 11, 12, 13, 0x0
  61. gsSP2Triangles 12, 14, 13, 0x0, 0, 15, 1, 0x0
  62. gsSPEndDisplayList
  63. glabel bowser_3_seg7_dl_07003930 # 0x07003930 - 0x070039C0
  64. gsDPPipeSync
  65. gsDPSetCombineMode1Cycle G_CCMUX_TEXEL0, G_CCMUX_0, G_CCMUX_SHADE, G_CCMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_SHADE
  66. gsSPClearGeometryMode G_SHADING_SMOOTH
  67. gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 0, 0, G_TX_LOADTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_NOMASK, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, G_TX_NOMASK, G_TX_NOLOD
  68. gsSPTexture -1, -1, 0, 0, 1
  69. gsDPTileSync
  70. gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  71. gsDPSetTileSize 0, 0, 0, 124, 124
  72. gsSPDisplayList bowser_3_seg7_dl_07003858
  73. gsDPTileSync
  74. gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, 6, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  75. gsDPSetTileSize 0, 0, 0, 124, 252
  76. gsSPDisplayList bowser_3_seg7_dl_070038C8
  77. gsSPTexture -1, -1, 0, 0, 0
  78. gsDPPipeSync
  79. 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
  80. gsSPSetGeometryMode G_SHADING_SMOOTH
  81. gsSPEndDisplayList