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.

205 lines
12 KiB

6 years ago
  1. inside_castle_seg7_light_07057FD8: # 0x07057FD8 - 0x07057FE0
  2. .byte 0x3F, 0x33, 0x19, 0x00, 0x3F, 0x33, 0x19, 0x00
  3. inside_castle_seg7_light_07057FE0: # 0x07057FE0 - 0x07057FF0
  4. .byte 0xFF, 0xCC, 0x65, 0x00, 0xFF, 0xCC, 0x65, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. inside_castle_seg7_light_07057FF0: # 0x07057FF0 - 0x07057FF8
  7. .byte 0x3F, 0x00, 0x00, 0x00, 0x3F, 0x00, 0x00, 0x00
  8. inside_castle_seg7_light_07057FF8: # 0x07057FF8 - 0x07058008
  9. .byte 0xFF, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00
  10. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  11. inside_castle_seg7_vertex_07058008: # 0x07058008 - 0x07058108
  12. vertex 0, 35, 20, 684, 478, 0x81, 0x00, 0x00, 0xFF
  13. vertex 0, 25, 10, 736, 478, 0x81, 0x00, 0x00, 0xFF
  14. vertex 0, 25, 20, 736, 478, 0x81, 0x00, 0x00, 0xFF
  15. vertex 10, 0, 20, 876, 606, 0x00, 0x00, 0x7F, 0xFF
  16. vertex -9, 5, 20, 850, 352, 0x00, 0x00, 0x7F, 0xFF
  17. vertex -9, -19, 20, 990, 352, 0x00, 0x00, 0x7F, 0xFF
  18. vertex 20, 20, 20, 762, 734, 0x00, 0x00, 0x7F, 0xFF
  19. vertex 0, 25, 20, 736, 478, 0x00, 0x00, 0x7F, 0xFF
  20. vertex -9, 5, 20, 850, 352, 0x81, 0x00, 0x00, 0xFF
  21. vertex -9, 5, 10, 850, 352, 0x81, 0x00, 0x00, 0xFF
  22. vertex -9, -19, 10, 990, 352, 0x81, 0x00, 0x00, 0xFF
  23. vertex -9, -19, 20, 990, 352, 0x81, 0x00, 0x00, 0xFF
  24. vertex 0, 25, 20, 736, 478, 0x8D, 0x34, 0x00, 0xFF
  25. vertex -9, 5, 10, 850, 352, 0x8D, 0x34, 0x00, 0xFF
  26. vertex -9, 5, 20, 850, 352, 0x8D, 0x34, 0x00, 0xFF
  27. vertex 0, 25, 10, 736, 478, 0x8D, 0x34, 0x00, 0xFF
  28. inside_castle_seg7_vertex_07058108: # 0x07058108 - 0x070581F8
  29. vertex 10, -19, 20, 990, 606, 0x00, 0x81, 0x00, 0xFF
  30. vertex -9, -19, 10, 990, 352, 0x00, 0x81, 0x00, 0xFF
  31. vertex 10, -19, 10, 990, 606, 0x00, 0x81, 0x00, 0xFF
  32. vertex -9, -19, 20, 990, 352, 0x00, 0x81, 0x00, 0xFF
  33. vertex 10, 0, 20, 876, 606, 0x00, 0x00, 0x7F, 0xFF
  34. vertex -9, -19, 20, 990, 352, 0x00, 0x00, 0x7F, 0xFF
  35. vertex 10, -19, 20, 990, 606, 0x00, 0x00, 0x7F, 0xFF
  36. vertex 10, -19, 20, 990, 606, 0x7F, 0x00, 0x00, 0xFF
  37. vertex 10, -19, 10, 990, 606, 0x7F, 0x00, 0x00, 0xFF
  38. vertex 10, 0, 10, 876, 606, 0x7F, 0x00, 0x00, 0xFF
  39. vertex 10, 0, 20, 876, 606, 0x7F, 0x00, 0x00, 0xFF
  40. vertex 10, 0, 20, 876, 606, 0x71, 0xC8, 0x00, 0xFF
  41. vertex 10, 0, 10, 876, 606, 0x71, 0xC8, 0x00, 0xFF
  42. vertex 20, 20, 10, 762, 734, 0x71, 0xC8, 0x00, 0xFF
  43. vertex 20, 20, 20, 762, 734, 0x71, 0xC8, 0x00, 0xFF
  44. inside_castle_seg7_vertex_070581F8: # 0x070581F8 - 0x070582F8
  45. vertex 20, 41, 20, 650, 734, 0x00, 0x00, 0x7F, 0xFF
  46. vertex 0, 35, 20, 684, 478, 0x00, 0x00, 0x7F, 0xFF
  47. vertex 0, 25, 20, 736, 478, 0x00, 0x00, 0x7F, 0xFF
  48. vertex 20, 20, 20, 762, 734, 0x00, 0x00, 0x7F, 0xFF
  49. vertex 0, 35, 20, 684, 478, 0x81, 0x00, 0x00, 0xFF
  50. vertex 0, 35, 10, 684, 478, 0x81, 0x00, 0x00, 0xFF
  51. vertex 0, 25, 10, 736, 478, 0x81, 0x00, 0x00, 0xFF
  52. vertex 20, 20, 20, 762, 734, 0x7F, 0x00, 0x00, 0xFF
  53. vertex 20, 20, 10, 762, 734, 0x7F, 0x00, 0x00, 0xFF
  54. vertex 20, 41, 10, 650, 734, 0x7F, 0x00, 0x00, 0xFF
  55. vertex 20, 41, 20, 650, 734, 0x7F, 0x00, 0x00, 0xFF
  56. vertex 0, 72, 20, 480, 478, 0x00, 0x00, 0x7F, 0xFF
  57. vertex -19, 65, 20, 514, 224, 0x00, 0x00, 0x7F, 0xFF
  58. vertex -19, 65, 20, 514, 224, 0x95, 0xBD, 0x00, 0xFF
  59. vertex 0, 35, 10, 684, 478, 0x95, 0xBD, 0x00, 0xFF
  60. vertex 0, 35, 20, 684, 478, 0x95, 0xBD, 0x00, 0xFF
  61. inside_castle_seg7_vertex_070582F8: # 0x070582F8 - 0x070583E8
  62. vertex -19, 65, 20, 514, 224, 0x95, 0xBD, 0x00, 0xFF
  63. vertex -19, 65, 10, 514, 224, 0x95, 0xBD, 0x00, 0xFF
  64. vertex 0, 35, 10, 684, 478, 0x95, 0xBD, 0x00, 0xFF
  65. vertex 20, 41, 20, 650, 734, 0x6A, 0x44, 0x00, 0xFF
  66. vertex 20, 41, 10, 650, 734, 0x6A, 0x44, 0x00, 0xFF
  67. vertex 0, 72, 10, 480, 478, 0x6A, 0x44, 0x00, 0xFF
  68. vertex 0, 72, 20, 480, 478, 0x6A, 0x44, 0x00, 0xFF
  69. vertex 0, 82, 20, 422, 478, 0x00, 0x00, 0x7F, 0xFF
  70. vertex -19, 65, 20, 514, 224, 0x00, 0x00, 0x7F, 0xFF
  71. vertex 0, 72, 20, 480, 478, 0x00, 0x00, 0x7F, 0xFF
  72. vertex -19, 87, 20, 396, 224, 0x00, 0x00, 0x7F, 0xFF
  73. vertex -19, 87, 20, 396, 224, 0x81, 0x00, 0x00, 0xFF
  74. vertex -19, 65, 10, 514, 224, 0x81, 0x00, 0x00, 0xFF
  75. vertex -19, 65, 20, 514, 224, 0x81, 0x00, 0x00, 0xFF
  76. vertex -19, 87, 10, 396, 224, 0x81, 0x00, 0x00, 0xFF
  77. inside_castle_seg7_vertex_070583E8: # 0x070583E8 - 0x070584E8
  78. vertex 0, 72, 20, 480, 478, 0x7F, 0x00, 0x00, 0xFF
  79. vertex 0, 72, 10, 480, 478, 0x7F, 0x00, 0x00, 0xFF
  80. vertex 0, 82, 10, 422, 478, 0x7F, 0x00, 0x00, 0xFF
  81. vertex 0, 82, 20, 422, 478, 0x7F, 0x00, 0x00, 0xFF
  82. vertex 10, 102, 20, 308, 606, 0x00, 0x00, 0x7F, 0xFF
  83. vertex -9, 107, 20, 282, 352, 0x00, 0x00, 0x7F, 0xFF
  84. vertex -19, 87, 20, 396, 224, 0x00, 0x00, 0x7F, 0xFF
  85. vertex 0, 82, 20, 422, 478, 0x00, 0x00, 0x7F, 0xFF
  86. vertex -9, 107, 20, 282, 352, 0x8F, 0x38, 0x00, 0xFF
  87. vertex -19, 87, 10, 396, 224, 0x8F, 0x38, 0x00, 0xFF
  88. vertex -19, 87, 20, 396, 224, 0x8F, 0x38, 0x00, 0xFF
  89. vertex -9, 107, 10, 282, 352, 0x8F, 0x38, 0x00, 0xFF
  90. vertex 0, 82, 20, 422, 478, 0x71, 0xC8, 0x00, 0xFF
  91. vertex 0, 82, 10, 422, 478, 0x71, 0xC8, 0x00, 0xFF
  92. vertex 10, 102, 10, 308, 606, 0x71, 0xC8, 0x00, 0xFF
  93. vertex 10, 102, 20, 308, 606, 0x71, 0xC8, 0x00, 0xFF
  94. inside_castle_seg7_vertex_070584E8: # 0x070584E8 - 0x070585A8
  95. vertex -9, 123, 20, 196, 352, 0x81, 0x00, 0x00, 0xFF
  96. vertex -9, 107, 10, 282, 352, 0x81, 0x00, 0x00, 0xFF
  97. vertex -9, 107, 20, 282, 352, 0x81, 0x00, 0x00, 0xFF
  98. vertex 10, 123, 20, 196, 606, 0x00, 0x00, 0x7F, 0xFF
  99. vertex -9, 123, 20, 196, 352, 0x00, 0x00, 0x7F, 0xFF
  100. vertex -9, 107, 20, 282, 352, 0x00, 0x00, 0x7F, 0xFF
  101. vertex 10, 102, 20, 308, 606, 0x00, 0x00, 0x7F, 0xFF
  102. vertex 10, 102, 20, 308, 606, 0x7F, 0x00, 0x00, 0xFF
  103. vertex 10, 123, 10, 196, 606, 0x7F, 0x00, 0x00, 0xFF
  104. vertex 10, 123, 20, 196, 606, 0x7F, 0x00, 0x00, 0xFF
  105. vertex -9, 123, 10, 196, 352, 0x81, 0x00, 0x00, 0xFF
  106. vertex 10, 102, 10, 308, 606, 0x7F, 0x00, 0x00, 0xFF
  107. inside_castle_seg7_vertex_070585A8: # 0x070585A8 - 0x07058698
  108. vertex 0, 164, 20, 0, 478, 0x00, 0x00, 0x7F, 0xFF
  109. vertex -30, 113, 20, 252, 96, 0x00, 0x00, 0x7F, 0xFF
  110. vertex -9, 123, 20, 196, 352, 0x00, 0x00, 0x7F, 0xFF
  111. vertex -9, 123, 10, 196, 352, 0x36, 0x8E, 0x00, 0xFF
  112. vertex -9, 123, 20, 196, 352, 0x36, 0x8E, 0x00, 0xFF
  113. vertex -30, 113, 20, 252, 96, 0x36, 0x8E, 0x00, 0xFF
  114. vertex -30, 113, 10, 252, 96, 0x36, 0x8E, 0x00, 0xFF
  115. vertex -30, 113, 10, 252, 96, 0x93, 0x40, 0x00, 0xFF
  116. vertex -30, 113, 20, 252, 96, 0x93, 0x40, 0x00, 0xFF
  117. vertex 0, 164, 20, 0, 478, 0x93, 0x40, 0x00, 0xFF
  118. vertex 0, 164, 10, 0, 478, 0x93, 0x40, 0x00, 0xFF
  119. vertex 0, 164, 10, 0, 478, 0x6C, 0x41, 0x00, 0xFF
  120. vertex 0, 164, 20, 0, 478, 0x6C, 0x41, 0x00, 0xFF
  121. vertex 31, 113, 20, 252, 862, 0x6C, 0x41, 0x00, 0xFF
  122. vertex 31, 113, 10, 252, 862, 0x6C, 0x41, 0x00, 0xFF
  123. inside_castle_seg7_vertex_07058698: # 0x07058698 - 0x07058718
  124. vertex 31, 113, 10, 252, 862, 0xCA, 0x8E, 0x00, 0xFF
  125. vertex 31, 113, 20, 252, 862, 0xCA, 0x8E, 0x00, 0xFF
  126. vertex 10, 123, 20, 196, 606, 0xCA, 0x8E, 0x00, 0xFF
  127. vertex 10, 123, 10, 196, 606, 0xCA, 0x8E, 0x00, 0xFF
  128. vertex 0, 164, 20, 0, 478, 0x00, 0x00, 0x7F, 0xFF
  129. vertex 10, 123, 20, 196, 606, 0x00, 0x00, 0x7F, 0xFF
  130. vertex 31, 113, 20, 252, 862, 0x00, 0x00, 0x7F, 0xFF
  131. vertex -9, 123, 20, 196, 352, 0x00, 0x00, 0x7F, 0xFF
  132. inside_castle_seg7_dl_07058718: # 0x07058718 - 0x07058950
  133. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_09004800
  134. gsDPLoadSync
  135. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  136. gsSPLight inside_castle_seg7_light_07057FE0, 1
  137. gsSPLight inside_castle_seg7_light_07057FD8, 2
  138. gsSPVertex inside_castle_seg7_vertex_07058008, 16, 0
  139. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  140. gsSP2Triangles 6, 7, 4, 0x0, 6, 4, 3, 0x0
  141. gsSP2Triangles 8, 9, 10, 0x0, 8, 10, 11, 0x0
  142. gsSP2Triangles 12, 13, 14, 0x0, 12, 15, 13, 0x0
  143. gsSPVertex inside_castle_seg7_vertex_07058108, 15, 0
  144. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  145. gsSP2Triangles 4, 5, 6, 0x0, 7, 8, 9, 0x0
  146. gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
  147. gsSP1Triangle 11, 13, 14, 0x0
  148. gsSPVertex inside_castle_seg7_vertex_070581F8, 16, 0
  149. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  150. gsSP2Triangles 4, 5, 6, 0x0, 7, 8, 9, 0x0
  151. gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 1, 0x0
  152. gsSP2Triangles 11, 1, 0, 0x0, 13, 14, 15, 0x0
  153. gsSPVertex inside_castle_seg7_vertex_070582F8, 15, 0
  154. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  155. gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
  156. gsSP2Triangles 7, 10, 8, 0x0, 11, 12, 13, 0x0
  157. gsSP1Triangle 11, 14, 12, 0x0
  158. gsSPVertex inside_castle_seg7_vertex_070583E8, 16, 0
  159. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  160. gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
  161. gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 9, 0x0
  162. gsSP2Triangles 12, 13, 14, 0x0, 12, 14, 15, 0x0
  163. gsSPVertex inside_castle_seg7_vertex_070584E8, 12, 0
  164. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  165. gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
  166. gsSP2Triangles 0, 10, 1, 0x0, 7, 11, 8, 0x0
  167. gsSPLight inside_castle_seg7_light_07057FF8, 1
  168. gsSPLight inside_castle_seg7_light_07057FF0, 2
  169. gsSPVertex inside_castle_seg7_vertex_070585A8, 15, 0
  170. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  171. gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
  172. gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
  173. gsSP1Triangle 11, 13, 14, 0x0
  174. gsSPVertex inside_castle_seg7_vertex_07058698, 8, 0
  175. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  176. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  177. gsSPEndDisplayList
  178. glabel inside_castle_seg7_dl_07058950 # 0x07058950 - 0x070589C0
  179. gsDPPipeSync
  180. 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
  181. gsSPClearGeometryMode G_SHADING_SMOOTH
  182. 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
  183. gsSPTexture -1, -1, 0, 0, 1
  184. gsDPTileSync
  185. 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
  186. gsDPSetTileSize 0, 0, 0, 124, 124
  187. gsSPDisplayList inside_castle_seg7_dl_07058718
  188. gsSPTexture -1, -1, 0, 0, 0
  189. gsDPPipeSync
  190. 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
  191. gsSPSetGeometryMode G_SHADING_SMOOTH
  192. gsSPEndDisplayList