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.

297 lines
12 KiB

6 years ago
  1. glabel hmc_geo_0005E8 # 0x0E0005E8
  2. geo_node_start
  3. geo_open_node
  4. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_070078B0
  5. geo_display_list LAYER_ALPHA, hmc_seg7_dl_07007B50
  6. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_070080E8
  7. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_070093F0
  8. geo_close_node
  9. geo_return
  10. glabel hmc_geo_000618 # 0x0E000618
  11. geo_node_start
  12. geo_open_node
  13. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_0700E448
  14. geo_display_list LAYER_ALPHA, hmc_seg7_dl_0700EF00
  15. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_0700F3E8
  16. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_0700FA40
  17. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_0700FEF0
  18. geo_display_list LAYER_OPAQUE_DECAL, hmc_seg7_dl_07010070
  19. geo_close_node
  20. geo_return
  21. glabel hmc_geo_000658 # 0x0E000658
  22. geo_node_start
  23. geo_open_node
  24. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_07013CA8
  25. geo_display_list LAYER_ALPHA, hmc_seg7_dl_07013E80
  26. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_07014300
  27. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_07014B08
  28. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_07014C00
  29. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_07014E48
  30. geo_asm 0, Geo18_802D01E0
  31. geo_asm 1794, Geo18_802D104C
  32. geo_close_node
  33. geo_return
  34. glabel hmc_geo_0006A8 # 0x0E0006A8
  35. geo_node_start
  36. geo_open_node
  37. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_070173A8
  38. geo_display_list LAYER_ALPHA, hmc_seg7_dl_07017C98
  39. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_07018200
  40. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_07019248
  41. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_07019368
  42. geo_close_node
  43. geo_return
  44. glabel hmc_geo_0006E0 # 0x0E0006E0
  45. geo_node_start
  46. geo_open_node
  47. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_0701A080
  48. geo_display_list LAYER_ALPHA, hmc_seg7_dl_0701A400
  49. geo_close_node
  50. geo_return
  51. glabel hmc_geo_000700 # 0x0E000700
  52. geo_node_start
  53. geo_open_node
  54. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_0701E820
  55. geo_display_list LAYER_ALPHA, hmc_seg7_dl_0701F1B0
  56. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_0701F690
  57. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_0701F818
  58. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_0701FD58
  59. geo_asm 0, Geo18_802D01E0
  60. geo_asm 1793, Geo18_802D104C
  61. geo_close_node
  62. geo_return
  63. glabel hmc_geo_000748 # 0x0E000748
  64. geo_node_start
  65. geo_open_node
  66. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_07020FD0
  67. geo_asm 0, Geo18_802D5D0C
  68. geo_asm 0, Geo18_802D5B98
  69. geo_close_node
  70. geo_return
  71. glabel hmc_geo_000770 # 0x0E000770
  72. geo_node_start
  73. geo_open_node
  74. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_07021760
  75. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_07021BA0
  76. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_070228A0
  77. geo_close_node
  78. geo_return
  79. glabel hmc_geo_000798 # 0x0E000798
  80. geo_node_start
  81. geo_open_node
  82. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_070078B0
  83. geo_display_list LAYER_ALPHA, hmc_seg7_dl_07007B50
  84. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_070080E8
  85. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_070093F0
  86. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_0700E448
  87. geo_display_list LAYER_ALPHA, hmc_seg7_dl_0700EF00
  88. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_0700F3E8
  89. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_0700FA40
  90. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_0700FEF0
  91. geo_display_list LAYER_OPAQUE_DECAL, hmc_seg7_dl_07010070
  92. geo_close_node
  93. geo_return
  94. glabel hmc_geo_0007F8 # 0x0E0007F8
  95. geo_node_start
  96. geo_open_node
  97. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_070078B0
  98. geo_display_list LAYER_ALPHA, hmc_seg7_dl_07007B50
  99. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_070080E8
  100. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_070093F0
  101. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_070173A8
  102. geo_display_list LAYER_ALPHA, hmc_seg7_dl_07017C98
  103. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_07018200
  104. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_07019248
  105. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_07019368
  106. geo_close_node
  107. geo_return
  108. glabel hmc_geo_000850 # 0x0E000850
  109. geo_node_start
  110. geo_open_node
  111. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_0700E448
  112. geo_display_list LAYER_ALPHA, hmc_seg7_dl_0700EF00
  113. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_0700F3E8
  114. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_0700FA40
  115. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_0700FEF0
  116. geo_display_list LAYER_OPAQUE_DECAL, hmc_seg7_dl_07010070
  117. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_07013CA8
  118. geo_display_list LAYER_ALPHA, hmc_seg7_dl_07013E80
  119. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_07014300
  120. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_07014B08
  121. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_07014C00
  122. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_07014E48
  123. geo_asm 0, Geo18_802D01E0
  124. geo_asm 1794, Geo18_802D104C
  125. geo_close_node
  126. geo_return
  127. glabel hmc_geo_0008D0 # 0x0E0008D0
  128. geo_node_start
  129. geo_open_node
  130. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_0700E448
  131. geo_display_list LAYER_ALPHA, hmc_seg7_dl_0700EF00
  132. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_0700F3E8
  133. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_0700FA40
  134. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_0700FEF0
  135. geo_display_list LAYER_OPAQUE_DECAL, hmc_seg7_dl_07010070
  136. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_070173A8
  137. geo_display_list LAYER_ALPHA, hmc_seg7_dl_07017C98
  138. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_07018200
  139. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_07019248
  140. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_07019368
  141. geo_close_node
  142. geo_return
  143. glabel hmc_geo_000938 # 0x0E000938
  144. geo_node_start
  145. geo_open_node
  146. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_07013CA8
  147. geo_display_list LAYER_ALPHA, hmc_seg7_dl_07013E80
  148. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_07014300
  149. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_07014B08
  150. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_07014C00
  151. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_07014E48
  152. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_0701A080
  153. geo_display_list LAYER_ALPHA, hmc_seg7_dl_0701A400
  154. geo_asm 0, Geo18_802D01E0
  155. geo_asm 1794, Geo18_802D104C
  156. geo_close_node
  157. geo_return
  158. glabel hmc_geo_000998 # 0x0E000998
  159. geo_node_start
  160. geo_open_node
  161. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_07013CA8
  162. geo_display_list LAYER_ALPHA, hmc_seg7_dl_07013E80
  163. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_07014300
  164. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_07014B08
  165. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_07014C00
  166. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_07014E48
  167. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_0701E820
  168. geo_display_list LAYER_ALPHA, hmc_seg7_dl_0701F1B0
  169. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_0701F690
  170. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_0701F818
  171. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_0701FD58
  172. geo_asm 0, Geo18_802D01E0
  173. geo_asm 1793, Geo18_802D104C
  174. geo_asm 1794, Geo18_802D104C
  175. geo_close_node
  176. geo_return
  177. glabel hmc_geo_000A18 # 0x0E000A18
  178. geo_node_start
  179. geo_open_node
  180. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_070173A8
  181. geo_display_list LAYER_ALPHA, hmc_seg7_dl_07017C98
  182. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_07018200
  183. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_07019248
  184. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_07019368
  185. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_0701E820
  186. geo_display_list LAYER_ALPHA, hmc_seg7_dl_0701F1B0
  187. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_0701F690
  188. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_0701F818
  189. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_0701FD58
  190. geo_asm 0, Geo18_802D01E0
  191. geo_asm 1793, Geo18_802D104C
  192. geo_close_node
  193. geo_return
  194. glabel hmc_geo_000A88 # 0x0E000A88
  195. geo_node_start
  196. geo_open_node
  197. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_0701E820
  198. geo_display_list LAYER_ALPHA, hmc_seg7_dl_0701F1B0
  199. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_0701F690
  200. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_0701F818
  201. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_0701FD58
  202. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_07020FD0
  203. geo_asm 0, Geo18_802D5D0C
  204. geo_asm 0, Geo18_802D5B98
  205. geo_asm 0, Geo18_802D01E0
  206. geo_asm 1793, Geo18_802D104C
  207. geo_close_node
  208. geo_return
  209. glabel hmc_geo_000AE8 # 0x0E000AE8
  210. geo_node_start
  211. geo_open_node
  212. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_0701E820
  213. geo_display_list LAYER_ALPHA, hmc_seg7_dl_0701F1B0
  214. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_0701F690
  215. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_0701F818
  216. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_0701FD58
  217. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_07021760
  218. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_07021BA0
  219. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_070228A0
  220. geo_asm 0, Geo18_802D01E0
  221. geo_asm 1793, Geo18_802D104C
  222. geo_close_node
  223. geo_return
  224. glabel hmc_geo_000B48 # 0x0E000B48
  225. geo_node_start
  226. geo_open_node
  227. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_070173A8
  228. geo_display_list LAYER_ALPHA, hmc_seg7_dl_07017C98
  229. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_07018200
  230. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_07019248
  231. geo_display_list LAYER_TRANSPARENT, hmc_seg7_dl_07019368
  232. geo_display_list LAYER_OPAQUE, hmc_seg7_dl_0701A080
  233. geo_display_list LAYER_ALPHA, hmc_seg7_dl_0701A400
  234. geo_close_node
  235. geo_return
  236. glabel hmc_geo_000B90 # 0x0E000B90
  237. geo_node_screen_area 10, SCREEN_WIDTH/2, SCREEN_HEIGHT/2, SCREEN_WIDTH/2, SCREEN_HEIGHT/2
  238. geo_open_node
  239. geo_zbuffer 0
  240. geo_open_node
  241. geo_todo_09 100
  242. geo_open_node
  243. geo_background 0x0001
  244. geo_close_node
  245. geo_close_node
  246. geo_zbuffer 1
  247. geo_open_node
  248. geo_camera_frustum 45, 100, 12800, geo_camera_fov
  249. geo_open_node
  250. geo_camera 16, 0, 2000, 6000, 0, 0, 0, geo_camera_preset_and_pos
  251. geo_open_node
  252. geo_switch_case 18, geo_switch_area
  253. geo_open_node
  254. geo_branch 1, hmc_geo_0005E8 # 0x0E0005E8
  255. geo_branch 1, hmc_geo_000618 # 0x0E000618
  256. geo_branch 1, hmc_geo_000658 # 0x0E000658
  257. geo_branch 1, hmc_geo_0006A8 # 0x0E0006A8
  258. geo_branch 1, hmc_geo_0006E0 # 0x0E0006E0
  259. geo_branch 1, hmc_geo_000700 # 0x0E000700
  260. geo_branch 1, hmc_geo_000748 # 0x0E000748
  261. geo_branch 1, hmc_geo_000770 # 0x0E000770
  262. geo_branch 1, hmc_geo_000798 # 0x0E000798
  263. geo_branch 1, hmc_geo_0007F8 # 0x0E0007F8
  264. geo_branch 1, hmc_geo_000850 # 0x0E000850
  265. geo_branch 1, hmc_geo_0008D0 # 0x0E0008D0
  266. geo_branch 1, hmc_geo_000938 # 0x0E000938
  267. geo_branch 1, hmc_geo_000998 # 0x0E000998
  268. geo_branch 1, hmc_geo_000A18 # 0x0E000A18
  269. geo_branch 1, hmc_geo_000A88 # 0x0E000A88
  270. geo_branch 1, hmc_geo_000AE8 # 0x0E000AE8
  271. geo_branch 1, hmc_geo_000B48 # 0x0E000B48
  272. geo_close_node
  273. geo_render_obj
  274. geo_asm 0, geo_exec_level
  275. geo_close_node
  276. geo_close_node
  277. geo_close_node
  278. geo_close_node
  279. geo_end