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.

159 lines
8.2 KiB

6 years ago
  1. castle_grounds_seg7_light_0700BCD8: # 0x0700BCD8 - 0x0700BCE0
  2. .byte 0x3D, 0x3D, 0x44, 0x00, 0x3D, 0x3D, 0x44, 0x00
  3. castle_grounds_seg7_light_0700BCE0: # 0x0700BCE0 - 0x0700BCF0
  4. .byte 0x99, 0x99, 0xAC, 0x00, 0x99, 0x99, 0xAC, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. castle_grounds_seg7_light_0700BCF0: # 0x0700BCF0 - 0x0700BCF8
  7. .byte 0x58, 0x58, 0x5A, 0x00, 0x58, 0x58, 0x5A, 0x00
  8. castle_grounds_seg7_light_0700BCF8: # 0x0700BCF8 - 0x0700BD08
  9. .byte 0xDC, 0xDC, 0xE3, 0x00, 0xDC, 0xDC, 0xE3, 0x00
  10. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  11. castle_grounds_seg7_light_0700BD08: # 0x0700BD08 - 0x0700BD10
  12. .byte 0x66, 0x66, 0x66, 0x00, 0x66, 0x66, 0x66, 0x00
  13. castle_grounds_seg7_light_0700BD10: # 0x0700BD10 - 0x0700BD20
  14. .byte 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0x00
  15. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  16. castle_grounds_seg7_light_0700BD20: # 0x0700BD20 - 0x0700BD28
  17. .byte 0x4E, 0x4E, 0x53, 0x00, 0x4E, 0x4E, 0x53, 0x00
  18. castle_grounds_seg7_light_0700BD28: # 0x0700BD28 - 0x0700BD38
  19. .byte 0xC4, 0xC4, 0xD0, 0x00, 0xC4, 0xC4, 0xD0, 0x00
  20. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  21. castle_grounds_seg7_light_0700BD38: # 0x0700BD38 - 0x0700BD40
  22. .byte 0x45, 0x45, 0x4B, 0x00, 0x45, 0x45, 0x4B, 0x00
  23. castle_grounds_seg7_light_0700BD40: # 0x0700BD40 - 0x0700BD50
  24. .byte 0xAD, 0xAD, 0xBC, 0x00, 0xAD, 0xAD, 0xBC, 0x00
  25. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  26. castle_grounds_seg7_vertex_0700BD50: # 0x0700BD50 - 0x0700BE10
  27. vertex 2283, -422, 2072, 6, 1824, 0x00, 0x7F, 0x00, 0xFF
  28. vertex 2485, -422, 2072, 206, 2104, 0x00, 0x7F, 0x00, 0xFF
  29. vertex 2485, -422, 1849, 300, 1608, 0x00, 0x7F, 0x00, 0xFF
  30. vertex 2283, -422, 1849, 100, 1324, 0x00, 0x7F, 0x00, 0xFF
  31. vertex 2485, 89, 2072, 0, 1996, 0x00, 0x00, 0x81, 0xFF
  32. vertex 2283, -422, 2072, 432, 648, 0x00, 0x00, 0x81, 0xFF
  33. vertex 2283, 89, 2072, 0, 648, 0x00, 0x00, 0x81, 0xFF
  34. vertex 2485, -422, 2072, 432, 1996, 0x00, 0x00, 0x81, 0xFF
  35. vertex 2485, 89, 1849, 0, 2012, 0x81, 0x00, 0x00, 0xFF
  36. vertex 2485, -422, 2072, 820, 536, 0x81, 0x00, 0x00, 0xFF
  37. vertex 2485, 89, 2072, 0, 536, 0x81, 0x00, 0x00, 0xFF
  38. vertex 2485, -422, 1849, 820, 2012, 0x81, 0x00, 0x00, 0xFF
  39. castle_grounds_seg7_vertex_0700BE10: # 0x0700BE10 - 0x0700BE90
  40. vertex 2283, 89, 1849, 0, 1996, 0x00, 0x00, 0x7F, 0xFF
  41. vertex 2485, -422, 1849, 536, 648, 0x00, 0x00, 0x7F, 0xFF
  42. vertex 2485, 89, 1849, 0, 648, 0x00, 0x00, 0x7F, 0xFF
  43. vertex 2283, -422, 1849, 536, 1996, 0x00, 0x00, 0x7F, 0xFF
  44. vertex 2283, 89, 2072, 0, 2012, 0x7F, 0x00, 0x00, 0xFF
  45. vertex 2283, -422, 1849, 332, -232, 0x7F, 0x00, 0x00, 0xFF
  46. vertex 2283, 89, 1849, 0, -204, 0x7F, 0x00, 0x00, 0xFF
  47. vertex 2283, -422, 2072, 332, 1984, 0x7F, 0x00, 0x00, 0xFF
  48. castle_grounds_seg7_vertex_0700BE90: # 0x0700BE90 - 0x0700BF50
  49. vertex 2640, 89, 2223, 2012, -1054, 0x00, 0x7F, 0x00, 0xFF
  50. vertex 2485, 89, 2072, 1404, -440, 0x00, 0x7F, 0x00, 0xFF
  51. vertex 2283, 89, 2072, 1400, 368, 0x00, 0x7F, 0x00, 0xFF
  52. vertex 2485, 89, 1849, 516, -446, 0x00, 0x7F, 0x00, 0xFF
  53. vertex 2637, 89, 1711, 0, -1054, 0x00, 0x7F, 0x00, 0xFF
  54. vertex 2128, 89, 2226, 2012, 990, 0x00, 0x7F, 0x00, 0xFF
  55. vertex 2283, 89, 1849, 512, 360, 0x00, 0x7F, 0x00, 0xFF
  56. vertex 2125, 89, 1714, 0, 990, 0x00, 0x7F, 0x00, 0xFF
  57. vertex 2708, -10, 1639, 4588, 582, 0x66, 0x4A, 0x00, 0xFF
  58. vertex 2637, 89, 1711, 4136, 0, 0x66, 0x4A, 0x00, 0xFF
  59. vertex 2757, -72, 2338, 108, 964, 0x66, 0x4A, 0x00, 0xFF
  60. vertex 2640, 89, 2223, 856, 0, 0x66, 0x4A, 0x00, 0xFF
  61. castle_grounds_seg7_vertex_0700BF50: # 0x0700BF50 - 0x0700BFB0
  62. vertex 2102, 58, 1692, 3524, 158, 0x00, 0x49, 0x99, 0xFF
  63. vertex 2125, 89, 1714, 3376, 0, 0x00, 0x49, 0x99, 0xFF
  64. vertex 2637, 89, 1711, 0, 0, 0x00, 0x49, 0x99, 0xFF
  65. vertex 2102, 58, 1692, 3524, 158, 0x00, 0x4A, 0x9A, 0xFF
  66. vertex 2637, 89, 1711, 0, 0, 0x00, 0x4A, 0x9A, 0xFF
  67. vertex 2708, -10, 1639, -504, 582, 0x00, 0x4A, 0x9A, 0xFF
  68. castle_grounds_seg7_vertex_0700BFB0: # 0x0700BFB0 - 0x0700C010
  69. vertex 2076, 15, 2280, 3540, 424, 0x9A, 0x4B, 0x00, 0xFF
  70. vertex 2125, 89, 1714, -88, 0, 0x9A, 0x4B, 0x00, 0xFF
  71. vertex 2102, 58, 1692, -232, 158, 0x9A, 0x4B, 0x00, 0xFF
  72. vertex 2076, 15, 2280, 3540, 424, 0x99, 0x49, 0x00, 0xFF
  73. vertex 2128, 89, 2226, 3200, 0, 0x99, 0x49, 0x00, 0xFF
  74. vertex 2125, 89, 1714, -88, 0, 0x99, 0x49, 0x00, 0xFF
  75. castle_grounds_seg7_vertex_0700C010: # 0x0700C010 - 0x0700C070
  76. vertex 2757, -72, 2338, 2752, 964, 0x00, 0x4A, 0x67, 0xFF
  77. vertex 2640, 89, 2223, 2012, 0, 0x00, 0x4A, 0x67, 0xFF
  78. vertex 2128, 89, 2226, -1240, -30, 0x00, 0x4A, 0x67, 0xFF
  79. vertex 2757, -72, 2338, 2752, 964, 0x00, 0x4A, 0x66, 0xFF
  80. vertex 2128, 89, 2226, -1240, -30, 0x00, 0x4A, 0x66, 0xFF
  81. vertex 2076, 15, 2280, -1576, 424, 0x00, 0x4A, 0x66, 0xFF
  82. castle_grounds_seg7_dl_0700C070: # 0x0700C070 - 0x0700C110
  83. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, outside_09004800
  84. gsDPLoadSync
  85. gsDPLoadBlock 7, 0, 0, 0x7FF, 0x100
  86. gsSPLight castle_grounds_seg7_light_0700BCE0, 1
  87. gsSPLight castle_grounds_seg7_light_0700BCD8, 2
  88. gsSPVertex castle_grounds_seg7_vertex_0700BD50, 12, 0
  89. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  90. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  91. gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 9, 0x0
  92. gsSPLight castle_grounds_seg7_light_0700BCF8, 1
  93. gsSPLight castle_grounds_seg7_light_0700BCF0, 2
  94. gsSPVertex castle_grounds_seg7_vertex_0700BE10, 8, 0
  95. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  96. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  97. gsSPEndDisplayList
  98. castle_grounds_seg7_dl_0700C110: # 0x0700C110 - 0x0700C210
  99. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, outside_09001000
  100. gsDPLoadSync
  101. gsDPLoadBlock 7, 0, 0, 0x7FF, 0x080
  102. gsSPLight castle_grounds_seg7_light_0700BD10, 1
  103. gsSPLight castle_grounds_seg7_light_0700BD08, 2
  104. gsSPVertex castle_grounds_seg7_vertex_0700BE90, 12, 0
  105. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  106. gsSP2Triangles 0, 4, 3, 0x0, 0, 2, 5, 0x0
  107. gsSP2Triangles 6, 4, 7, 0x0, 6, 3, 4, 0x0
  108. gsSP2Triangles 2, 6, 7, 0x0, 5, 2, 7, 0x0
  109. gsSP2Triangles 8, 9, 10, 0x0, 9, 11, 10, 0x0
  110. gsSPLight castle_grounds_seg7_light_0700BD28, 1
  111. gsSPLight castle_grounds_seg7_light_0700BD20, 2
  112. gsSPVertex castle_grounds_seg7_vertex_0700BF50, 6, 0
  113. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  114. gsSPLight castle_grounds_seg7_light_0700BD40, 1
  115. gsSPLight castle_grounds_seg7_light_0700BD38, 2
  116. gsSPVertex castle_grounds_seg7_vertex_0700BFB0, 6, 0
  117. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  118. gsSPLight castle_grounds_seg7_light_0700BCF8, 1
  119. gsSPLight castle_grounds_seg7_light_0700BCF0, 2
  120. gsSPVertex castle_grounds_seg7_vertex_0700C010, 6, 0
  121. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  122. gsSPEndDisplayList
  123. glabel castle_grounds_seg7_dl_0700C210 # 0x0700C210 - 0x0700C2A0
  124. gsDPPipeSync
  125. 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
  126. gsSPClearGeometryMode G_SHADING_SMOOTH
  127. 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
  128. gsSPTexture -1, -1, 0, 0, 1
  129. gsDPTileSync
  130. 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_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  131. gsDPSetTileSize 0, 0, 0, 124, 252
  132. gsSPDisplayList castle_grounds_seg7_dl_0700C070
  133. gsDPTileSync
  134. gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 6, G_TX_NOLOD
  135. gsDPSetTileSize 0, 0, 0, 252, 124
  136. gsSPDisplayList castle_grounds_seg7_dl_0700C110
  137. gsSPTexture -1, -1, 0, 0, 0
  138. gsDPPipeSync
  139. 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
  140. gsSPSetGeometryMode G_SHADING_SMOOTH
  141. gsSPEndDisplayList