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.
 
 
 
 
 

190 lines
11 KiB

inside_castle_seg7_light_07050A78: # 0x07050A78 - 0x07050A80
.byte 0x40, 0x2F, 0x1E, 0x00, 0x40, 0x2F, 0x1E, 0x00
inside_castle_seg7_light_07050A80: # 0x07050A80 - 0x07050A90
.byte 0xAC, 0x7F, 0x52, 0x00, 0xAC, 0x7F, 0x52, 0x00
.byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
inside_castle_seg7_light_07050A90: # 0x07050A90 - 0x07050A98
.byte 0x40, 0x3A, 0x1E, 0x00, 0x40, 0x3A, 0x1E, 0x00
inside_castle_seg7_light_07050A98: # 0x07050A98 - 0x07050AA8
.byte 0xAC, 0x9D, 0x52, 0x00, 0xAC, 0x9D, 0x52, 0x00
.byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
inside_castle_seg7_vertex_07050AA8: # 0x07050AA8 - 0x07050B68
vertex -9, -183, -9, 932, 2012, 0x81, 0x00, 0x00, 0xFF
vertex -9, 10, 10, 450, 0, 0x81, 0x00, 0x00, 0xFF
vertex -9, 10, -9, 932, 0, 0x81, 0x00, 0x00, 0xFF
vertex -9, -183, 10, 450, 2012, 0x81, 0x00, 0x00, 0xFF
vertex -9, 10, -9, 932, 0, 0x00, 0x00, 0x81, 0xFF
vertex 10, -183, -9, 450, 2012, 0x00, 0x00, 0x81, 0xFF
vertex -9, -183, -9, 932, 2012, 0x00, 0x00, 0x81, 0xFF
vertex 10, 10, -9, 450, 0, 0x00, 0x00, 0x81, 0xFF
vertex 10, 10, -9, 450, 0, 0x7F, 0x00, 0x00, 0xFF
vertex 10, 10, 10, 0, 0, 0x7F, 0x00, 0x00, 0xFF
vertex 10, -183, 10, 0, 2012, 0x7F, 0x00, 0x00, 0xFF
vertex 10, -183, -9, 450, 2012, 0x7F, 0x00, 0x00, 0xFF
inside_castle_seg7_vertex_07050B68: # 0x07050B68 - 0x07050C58
vertex -19, -286, -50, 0, 0, 0x00, 0x00, 0x81, 0xFF
vertex -40, -265, -50, 0, 0, 0x00, 0x00, 0x81, 0xFF
vertex -40, -224, -50, 0, 0, 0x00, 0x00, 0x81, 0xFF
vertex -19, -286, -50, 0, 0, 0x00, 0xA7, 0xA7, 0xFF
vertex 20, -286, -50, 0, 0, 0x00, 0xA7, 0xA7, 0xFF
vertex 31, -306, -30, 0, 0, 0x00, 0xA7, 0xA7, 0xFF
vertex 41, -265, -50, 0, 0, 0x00, 0x00, 0x81, 0xFF
vertex 20, -286, -50, 0, 0, 0x00, 0x00, 0x81, 0xFF
vertex -19, -204, -50, 0, 0, 0x00, 0x00, 0x81, 0xFF
vertex 20, -204, -50, 0, 0, 0x00, 0x00, 0x81, 0xFF
vertex 41, -224, -50, 0, 0, 0x00, 0x00, 0x81, 0xFF
vertex -30, -306, -30, 0, 0, 0x00, 0xA7, 0xA7, 0xFF
vertex -19, -286, -50, 0, 0, 0xC3, 0xC5, 0xA3, 0xFF
vertex -30, -306, -30, 0, 0, 0xC3, 0xC5, 0xA3, 0xFF
vertex -60, -275, -30, 0, 0, 0xC3, 0xC5, 0xA3, 0xFF
inside_castle_seg7_vertex_07050C58: # 0x07050C58 - 0x07050D58
vertex -40, -265, -50, 0, 0, 0xC3, 0xC3, 0xA4, 0xFF
vertex -19, -286, -50, 0, 0, 0xC3, 0xC3, 0xA4, 0xFF
vertex -60, -275, -30, 0, 0, 0xC3, 0xC3, 0xA4, 0xFF
vertex -40, -224, -50, 0, 0, 0xA7, 0x00, 0xA7, 0xFF
vertex -40, -265, -50, 0, 0, 0xA7, 0x00, 0xA7, 0xFF
vertex -60, -275, -30, 0, 0, 0xA7, 0x00, 0xA7, 0xFF
vertex -60, -214, -30, 0, 0, 0xA7, 0x00, 0xA7, 0xFF
vertex -19, -204, -50, 0, 0, 0xC4, 0x3F, 0xA4, 0xFF
vertex -40, -224, -50, 0, 0, 0xC4, 0x3F, 0xA4, 0xFF
vertex -60, -214, -30, 0, 0, 0xC4, 0x3F, 0xA4, 0xFF
vertex 20, -204, -50, 0, 0, 0x00, 0x57, 0xA5, 0xFF
vertex -19, -204, -50, 0, 0, 0x00, 0x57, 0xA5, 0xFF
vertex -30, -183, -30, 0, 0, 0x00, 0x57, 0xA5, 0xFF
vertex -19, -204, -50, 0, 0, 0xC4, 0x3A, 0xA2, 0xFF
vertex -60, -214, -30, 0, 0, 0xC4, 0x3A, 0xA2, 0xFF
vertex -30, -183, -30, 0, 0, 0xC4, 0x3A, 0xA2, 0xFF
inside_castle_seg7_vertex_07050D58: # 0x07050D58 - 0x07050E58
vertex 20, -286, -50, 0, 0, 0x3C, 0xC4, 0xA3, 0xFF
vertex 41, -265, -50, 0, 0, 0x3C, 0xC4, 0xA3, 0xFF
vertex 31, -306, -30, 0, 0, 0x3C, 0xC4, 0xA3, 0xFF
vertex 31, -183, -30, 0, 0, 0x5B, 0x58, 0x00, 0xFF
vertex 31, -183, 31, 0, 0, 0x5B, 0x58, 0x00, 0xFF
vertex 61, -214, 31, 0, 0, 0x5B, 0x58, 0x00, 0xFF
vertex 20, -204, -50, 0, 0, 0x00, 0x57, 0xA5, 0xFF
vertex -30, -183, -30, 0, 0, 0x00, 0x57, 0xA5, 0xFF
vertex 31, -183, -30, 0, 0, 0x00, 0x57, 0xA5, 0xFF
vertex 41, -224, -50, 0, 0, 0x39, 0x3C, 0xA1, 0xFF
vertex 20, -204, -50, 0, 0, 0x39, 0x3C, 0xA1, 0xFF
vertex 31, -183, -30, 0, 0, 0x39, 0x3C, 0xA1, 0xFF
vertex 61, -275, -30, 0, 0, 0x59, 0x00, 0xA7, 0xFF
vertex 41, -265, -50, 0, 0, 0x59, 0x00, 0xA7, 0xFF
vertex 41, -224, -50, 0, 0, 0x59, 0x00, 0xA7, 0xFF
vertex 61, -214, -30, 0, 0, 0x59, 0x00, 0xA7, 0xFF
inside_castle_seg7_vertex_07050E58: # 0x07050E58 - 0x07050F58
vertex 61, -214, -30, 0, 0, 0x3E, 0x3C, 0xA4, 0xFF
vertex 41, -224, -50, 0, 0, 0x3E, 0x3C, 0xA4, 0xFF
vertex 31, -183, -30, 0, 0, 0x3E, 0x3C, 0xA4, 0xFF
vertex 41, -265, -50, 0, 0, 0x3E, 0xC4, 0xA4, 0xFF
vertex 61, -275, -30, 0, 0, 0x3E, 0xC4, 0xA4, 0xFF
vertex 31, -306, -30, 0, 0, 0x3E, 0xC4, 0xA4, 0xFF
vertex -30, -183, -30, 0, 0, 0x00, 0x7F, 0x00, 0xFF
vertex 31, -183, 31, 0, 0, 0x00, 0x7F, 0x00, 0xFF
vertex 31, -183, -30, 0, 0, 0x00, 0x7F, 0x00, 0xFF
vertex 31, -183, -30, 0, 0, 0x5B, 0x58, 0x00, 0xFF
vertex 61, -214, 31, 0, 0, 0x5B, 0x58, 0x00, 0xFF
vertex 61, -214, -30, 0, 0, 0x5B, 0x58, 0x00, 0xFF
vertex -30, -306, -30, 0, 0, 0xA5, 0xA8, 0x00, 0xFF
vertex -30, -306, 31, 0, 0, 0xA5, 0xA8, 0x00, 0xFF
vertex -60, -275, 31, 0, 0, 0xA5, 0xA8, 0x00, 0xFF
vertex -30, -183, 31, 0, 0, 0x00, 0x7F, 0x00, 0xFF
inside_castle_seg7_vertex_07050F58: # 0x07050F58 - 0x07051048
vertex 61, -214, -30, 0, 0, 0x7F, 0x00, 0x00, 0xFF
vertex 61, -214, 31, 0, 0, 0x7F, 0x00, 0x00, 0xFF
vertex 61, -275, 31, 0, 0, 0x7F, 0x00, 0x00, 0xFF
vertex 61, -275, -30, 0, 0, 0x7F, 0x00, 0x00, 0xFF
vertex -60, -214, 31, 0, 0, 0xA5, 0x58, 0x00, 0xFF
vertex -30, -183, 31, 0, 0, 0xA5, 0x58, 0x00, 0xFF
vertex -30, -183, -30, 0, 0, 0xA5, 0x58, 0x00, 0xFF
vertex -60, -214, -30, 0, 0, 0xA5, 0x58, 0x00, 0xFF
vertex -60, -275, -30, 0, 0, 0x81, 0x00, 0x00, 0xFF
vertex -60, -275, 31, 0, 0, 0x81, 0x00, 0x00, 0xFF
vertex -60, -214, 31, 0, 0, 0x81, 0x00, 0x00, 0xFF
vertex -60, -214, -30, 0, 0, 0x81, 0x00, 0x00, 0xFF
vertex -30, -306, -30, 0, 0, 0xA5, 0xA8, 0x00, 0xFF
vertex -60, -275, 31, 0, 0, 0xA5, 0xA8, 0x00, 0xFF
vertex -60, -275, -30, 0, 0, 0xA5, 0xA8, 0x00, 0xFF
inside_castle_seg7_vertex_07051048: # 0x07051048 - 0x07051108
vertex 31, -306, -30, 0, 0, 0x00, 0x81, 0x00, 0xFF
vertex -30, -306, 31, 0, 0, 0x00, 0x81, 0x00, 0xFF
vertex -30, -306, -30, 0, 0, 0x00, 0x81, 0x00, 0xFF
vertex 31, -306, 31, 0, 0, 0x00, 0x81, 0x00, 0xFF
vertex 61, -275, -30, 0, 0, 0x5B, 0xA8, 0x00, 0xFF
vertex 31, -306, 31, 0, 0, 0x5B, 0xA8, 0x00, 0xFF
vertex 31, -306, -30, 0, 0, 0x5B, 0xA8, 0x00, 0xFF
vertex 61, -275, 31, 0, 0, 0x5B, 0xA8, 0x00, 0xFF
vertex 10, -183, -9, 0, 0, 0x00, 0x81, 0x00, 0xFF
vertex -9, -183, 10, 0, 0, 0x00, 0x81, 0x00, 0xFF
vertex -9, -183, -9, 0, 0, 0x00, 0x81, 0x00, 0xFF
vertex 10, -183, 10, 0, 0, 0x00, 0x81, 0x00, 0xFF
inside_castle_seg7_dl_07051108: # 0x07051108 - 0x07051170
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_09007000
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x7FF, 0x100
gsSPLight inside_castle_seg7_light_07050A80, 1
gsSPLight inside_castle_seg7_light_07050A78, 2
gsSPVertex inside_castle_seg7_vertex_07050AA8, 12, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
gsSP2Triangles 8, 9, 10, 0x0, 8, 10, 11, 0x0
gsSPEndDisplayList
inside_castle_seg7_dl_07051170: # 0x07051170 - 0x070512F8
gsSPLight inside_castle_seg7_light_07050A98, 1
gsSPLight inside_castle_seg7_light_07050A90, 2
gsSPVertex inside_castle_seg7_vertex_07050B68, 15, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP2Triangles 0, 6, 7, 0x0, 0, 2, 8, 0x0
gsSP2Triangles 0, 8, 9, 0x0, 0, 9, 10, 0x0
gsSP2Triangles 0, 10, 6, 0x0, 3, 5, 11, 0x0
gsSP1Triangle 12, 13, 14, 0x0
gsSPVertex inside_castle_seg7_vertex_07050C58, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
gsSP2Triangles 10, 11, 12, 0x0, 13, 14, 15, 0x0
gsSPVertex inside_castle_seg7_vertex_07050D58, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP2Triangles 6, 7, 8, 0x0, 9, 10, 11, 0x0
gsSP2Triangles 12, 13, 14, 0x0, 12, 14, 15, 0x0
gsSPVertex inside_castle_seg7_vertex_07050E58, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP2Triangles 6, 7, 8, 0x0, 9, 10, 11, 0x0
gsSP2Triangles 12, 13, 14, 0x0, 6, 15, 7, 0x0
gsSPVertex inside_castle_seg7_vertex_07050F58, 15, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 7, 4, 6, 0x0
gsSP2Triangles 8, 9, 10, 0x0, 8, 10, 11, 0x0
gsSP1Triangle 12, 13, 14, 0x0
gsSPVertex inside_castle_seg7_vertex_07051048, 12, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 9, 0x0
gsSPEndDisplayList
glabel inside_castle_seg7_dl_070512F8 # 0x070512F8 - 0x07051370
gsDPPipeSync
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
gsSPClearGeometryMode G_SHADING_SMOOTH
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
gsSPTexture -1, -1, 0, 0, 1
gsDPTileSync
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
gsDPSetTileSize 0, 0, 0, 124, 252
gsSPDisplayList inside_castle_seg7_dl_07051108
gsSPTexture -1, -1, 0, 0, 0
gsDPPipeSync
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
gsSPDisplayList inside_castle_seg7_dl_07051170
gsSPSetGeometryMode G_SHADING_SMOOTH
gsSPEndDisplayList