sm64/levels/rr/seesaw_platform/model.s
2019-08-25 00:46:40 -04:00

107 lines
5.6 KiB
ArmAsm

# US: 0x0701B0C8
rr_seg7_vertex_0701B290: # 0x0701B290 - 0x0701B370
.ifdef VERSION_JP
vertex -306, 102, -818, 3716, -714, 0xAF, 0xCF, 0xC1, 0xFF
vertex -306, 102, 819, 990, 2010, 0xAF, 0xCF, 0xC1, 0xFF
vertex 307, 102, 819, 0, 990, 0xAF, 0xCF, 0xC1, 0xFF
vertex 307, 102, -818, 2694, -1736, 0xAF, 0xCF, 0xC1, 0xFF
vertex 307, 0, -767, 2608, -1650, 0x53, 0x73, 0x76, 0xFF
vertex -306, 0, 768, 1076, 1924, 0x53, 0x73, 0x76, 0xFF
vertex -306, 0, -767, 3630, -628, 0x53, 0x73, 0x76, 0xFF
vertex 307, 0, 768, 54, 904, 0x53, 0x73, 0x76, 0xFF
vertex -306, 102, -818, 2694, 3714, 0x63, 0x80, 0x88, 0xFF
vertex -306, 0, 768, -116, 1244, 0x63, 0x80, 0x88, 0xFF
vertex -306, 102, 819, 0, 990, 0x63, 0x80, 0x88, 0xFF
vertex -306, 102, -818, 3716, -714, 0x63, 0x80, 0x88, 0xFF
vertex -306, 0, -767, 3630, -628, 0x63, 0x80, 0x88, 0xFF
vertex -306, 0, 768, 1076, 1924, 0x63, 0x80, 0x88, 0xFF
.else # increase from 14 to 16
vertex -306, 102, -818, 3716, -714, 0xAF, 0xCF, 0xC1, 0xFF
vertex -306, 102, 819, 990, 2010, 0xAF, 0xCF, 0xC1, 0xFF
vertex 307, 102, 819, 0, 990, 0xAF, 0xCF, 0xC1, 0xFF
vertex 307, 102, -818, 2694, -1736, 0xAF, 0xCF, 0xC1, 0xFF
vertex 307, 0, -767, 2438, -1820, 0x53, 0x73, 0x76, 0xFF
vertex -306, 0, 768, -1138, -288, 0x53, 0x73, 0x76, 0xFF
vertex -306, 0, -767, 1416, -2842, 0x53, 0x73, 0x76, 0xFF
vertex 307, 0, 768, -116, 734, 0x53, 0x73, 0x76, 0xFF
vertex -306, 102, -818, 3716, -714, 0x63, 0x80, 0x88, 0xFF
vertex -306, 0, -767, 3800, -458, 0x63, 0x80, 0x88, 0xFF
vertex -306, 0, 768, 1246, 2096, 0x63, 0x80, 0x88, 0xFF
vertex -306, 102, 819, 990, 2010, 0x63, 0x80, 0x88, 0xFF
vertex 307, 102, 819, 0, 990, 0x63, 0x80, 0x88, 0xFF
vertex 307, 0, 768, -116, 734, 0x63, 0x80, 0x88, 0xFF
vertex 307, 0, -767, 2438, -1820, 0x63, 0x80, 0x88, 0xFF
vertex 307, 102, -818, 2694, -1736, 0x63, 0x80, 0x88, 0xFF
.endif
# US: 0x0701B1C8
rr_seg7_vertex_0701B370: # 0x0701B370 - 0x0701B430
.ifdef VERSION_JP
vertex 307, 102, 819, 0, 990, 0x63, 0x80, 0x88, 0xFF
vertex 307, 0, 768, -116, 1244, 0x63, 0x80, 0x88, 0xFF
vertex 307, 0, -767, 2438, 3798, 0x63, 0x80, 0x88, 0xFF
vertex 307, 102, -818, 2694, 3714, 0x63, 0x80, 0x88, 0xFF
vertex 307, 102, -818, 2694, -1736, 0x79, 0x9C, 0x9F, 0xFF
vertex 307, 0, -767, 2608, -1650, 0x79, 0x9C, 0x9F, 0xFF
vertex -306, 0, -767, 3630, -628, 0x79, 0x9C, 0x9F, 0xFF
vertex -306, 102, -818, 3716, -714, 0x79, 0x9C, 0x9F, 0xFF
vertex -306, 102, 819, 990, 2010, 0x79, 0x9C, 0x9F, 0xFF
vertex 307, 0, 768, 54, 904, 0x79, 0x9C, 0x9F, 0xFF
vertex 307, 102, 819, 0, 990, 0x79, 0x9C, 0x9F, 0xFF
vertex -306, 0, 768, 1076, 1924, 0x79, 0x9C, 0x9F, 0xFF
.else # reduced from 12 to 8
vertex 307, 102, -818, 2694, -1736, 0x79, 0x9C, 0x9F, 0xFF
vertex 307, 0, -767, 2884, -1926, 0x79, 0x9C, 0x9F, 0xFF
vertex -306, 0, -767, 3906, -904, 0x79, 0x9C, 0x9F, 0xFF
vertex -306, 102, -818, 3716, -714, 0x79, 0x9C, 0x9F, 0xFF
vertex -306, 102, 819, 990, 2010, 0x79, 0x9C, 0x9F, 0xFF
vertex 307, 0, 768, -220, 1178, 0x79, 0x9C, 0x9F, 0xFF
vertex 307, 102, 819, 0, 990, 0x79, 0x9C, 0x9F, 0xFF
vertex -306, 0, 768, 800, 2200, 0x79, 0x9C, 0x9F, 0xFF
.endif
rr_seg7_dl_0701B430: # 0x0701B430 - 0x0701B4C0
.ifdef VERSION_JP
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09001800
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPVertex rr_seg7_vertex_0701B290, 14, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
gsSP2Triangles 8, 9, 10, 0x0, 11, 12, 13, 0x0
gsSPVertex rr_seg7_vertex_0701B370, 12, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 9, 0x0
gsSPEndDisplayList
.else
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09001800
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPVertex rr_seg7_vertex_0701B290, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
gsSP2Triangles 8, 9, 10, 0x0, 8, 10, 11, 0x0
gsSP2Triangles 12, 13, 14, 0x0, 12, 14, 15, 0x0
gsSPVertex rr_seg7_vertex_0701B370, 8, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
gsSPEndDisplayList
.endif
glabel rr_seg7_dl_0701B4C0 # 0x0701B4C0 - 0x0701B530
gsDPPipeSync
gsDPSetCombineModeLERP1Cycle 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_LIGHTING
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, 5, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD
gsDPSetTileSize 0, 0, 0, 124, 124
gsSPDisplayList rr_seg7_dl_0701B430
gsSPTexture -1, -1, 0, 0, 0
gsDPPipeSync
gsDPSetCombineModeLERP1Cycle G_CCMUX_0, G_CCMUX_0, G_CCMUX_0, G_CCMUX_SHADE, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_SHADE
gsSPSetGeometryMode G_LIGHTING
gsSPEndDisplayList