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_07002CE0: # 0x07002CE0 - 0x07002CE8
  2. .byte 0x22, 0x22, 0x22, 0x00, 0x22, 0x22, 0x22, 0x00
  3. bowser_3_seg7_light_07002CE8: # 0x07002CE8 - 0x07002CF8
  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_07002CF8: # 0x07002CF8 - 0x07002D00
  7. .byte 0x3F, 0x3F, 0x3F, 0x00, 0x3F, 0x3F, 0x3F, 0x00
  8. bowser_3_seg7_light_07002D00: # 0x07002D00 - 0x07002D10
  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_07002D10: # 0x07002D10 - 0x07002D70
  12. vertex 0, -2364, 1262, 1366, -1156, 0x08, 0x90, 0x39, 0xFF
  13. vertex 1498, -1852, 2050, 580, -2652, 0x08, 0x90, 0x39, 0xFF
  14. vertex 0, -1340, 3277, -644, -1156, 0x08, 0x90, 0x39, 0xFF
  15. vertex 1498, -1852, 2050, 580, -2652, 0x16, 0x99, 0x46, 0xFF
  16. vertex 1946, -1340, 2662, 0, -3098, 0x16, 0x99, 0x46, 0xFF
  17. vertex 0, -1340, 3277, -644, -1156, 0x16, 0x99, 0x46, 0xFF
  18. bowser_3_seg7_vertex_07002D70: # 0x07002D70 - 0x07002DB0
  19. vertex 0, 307, 3277, 990, 990, 0x00, 0x7F, 0x00, 0xFF
  20. vertex 1946, 307, 2662, 2284, 582, 0x00, 0x7F, 0x00, 0xFF
  21. vertex 1498, 307, 2050, 1986, 174, 0x00, 0x7F, 0x00, 0xFF
  22. vertex 0, 307, 1262, 990, -350, 0x00, 0x7F, 0x00, 0xFF
  23. bowser_3_seg7_vertex_07002DB0: # 0x07002DB0 - 0x07002EB0
  24. vertex 0, -1340, 3277, 958, 2012, 0x81, 0x00, 0x00, 0xFF
  25. vertex 0, 307, 3277, 990, 0, 0x81, 0x00, 0x00, 0xFF
  26. vertex 0, -2364, 1262, -1052, 2012, 0x81, 0x00, 0x00, 0xFF
  27. vertex 1498, 307, 2050, 234, 0, 0x66, 0x00, 0xB5, 0xFF
  28. vertex 1946, 307, 2662, 990, 0, 0x66, 0x00, 0xB5, 0xFF
  29. vertex 1946, -1340, 2662, 990, 2012, 0x66, 0x00, 0xB5, 0xFF
  30. vertex 1498, -1852, 2050, 234, 2012, 0x66, 0x00, 0xB5, 0xFF
  31. vertex 0, -2364, 1262, 990, 2012, 0x3B, 0x00, 0x90, 0xFF
  32. vertex 0, 307, 1262, 990, 0, 0x3B, 0x00, 0x90, 0xFF
  33. vertex 1498, 307, 2050, -698, 0, 0x3B, 0x00, 0x90, 0xFF
  34. vertex 1498, -1852, 2050, -698, 2012, 0x3B, 0x00, 0x90, 0xFF
  35. vertex 1946, -1340, 2662, 5340, 1816, 0x26, 0x00, 0x79, 0xFF
  36. vertex 0, 307, 3277, 3800, 172, 0x26, 0x00, 0x79, 0xFF
  37. vertex 0, -1340, 3277, 3800, 1816, 0x26, 0x00, 0x79, 0xFF
  38. vertex 1946, 307, 2662, 5340, 172, 0x26, 0x00, 0x79, 0xFF
  39. vertex 0, 307, 1262, -1020, 0, 0x81, 0x00, 0x00, 0xFF
  40. bowser_3_seg7_dl_07002EB0: # 0x07002EB0 - 0x07002F20
  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_07002CE8, 1
  45. gsSPLight bowser_3_seg7_light_07002CE0, 2
  46. gsSPVertex bowser_3_seg7_vertex_07002D10, 6, 0
  47. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  48. gsSPLight bowser_3_seg7_light_07002D00, 1
  49. gsSPLight bowser_3_seg7_light_07002CF8, 2
  50. gsSPVertex bowser_3_seg7_vertex_07002D70, 4, 0
  51. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  52. gsSPEndDisplayList
  53. bowser_3_seg7_dl_07002F20: # 0x07002F20 - 0x07002F88
  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_07002DB0, 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, 9, 10, 0x0, 11, 12, 13, 0x0
  61. gsSP2Triangles 11, 14, 12, 0x0, 1, 15, 2, 0x0
  62. gsSPEndDisplayList
  63. glabel bowser_3_seg7_dl_07002F88 # 0x07002F88 - 0x07003018
  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_07002EB0
  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_07002F20
  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