sm64pc/levels/wf/areas/1/10/2.s
2019-08-25 00:46:40 -04:00

183 lines
9.8 KiB
ArmAsm

wf_seg7_light_07008838: # 0x07008838 - 0x07008840
.byte 0x66, 0x66, 0x66, 0x00, 0x66, 0x66, 0x66, 0x00
wf_seg7_light_07008840: # 0x07008840 - 0x07008850
.byte 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0x00
.byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
wf_seg7_vertex_07008850: # 0x07008850 - 0x07008950
vertex 128, 1792, 128, 1244, 1000, 0x00, 0x00, 0x7F, 0xFF
vertex 128, 2048, 128, 1244, -20, 0x00, 0x00, 0x7F, 0xFF
vertex -127, 2048, 128, 222, -20, 0x00, 0x00, 0x7F, 0xFF
vertex -127, 1792, -127, 1236, 990, 0x00, 0x00, 0x81, 0xFF
vertex 128, 2048, -127, 214, -30, 0x00, 0x00, 0x81, 0xFF
vertex 128, 1792, -127, 214, 990, 0x00, 0x00, 0x81, 0xFF
vertex -127, 2048, -127, 1236, -30, 0x00, 0x00, 0x81, 0xFF
vertex -127, 1792, 128, 1226, 988, 0x81, 0x00, 0x00, 0xFF
vertex -127, 2048, 128, 1226, -34, 0x81, 0x00, 0x00, 0xFF
vertex -127, 2048, -127, 204, -34, 0x81, 0x00, 0x00, 0xFF
vertex -127, 1792, -127, 204, 988, 0x81, 0x00, 0x00, 0xFF
vertex 128, 1792, -127, 1244, 996, 0x7F, 0x00, 0x00, 0xFF
vertex 128, 2048, -127, 1244, -24, 0x7F, 0x00, 0x00, 0xFF
vertex 128, 2048, 128, 222, -24, 0x7F, 0x00, 0x00, 0xFF
vertex 128, 1792, 128, 222, 996, 0x7F, 0x00, 0x00, 0xFF
vertex -127, 1792, 128, 222, 1000, 0x00, 0x00, 0x7F, 0xFF
wf_seg7_vertex_07008950: # 0x07008950 - 0x070089F0
vertex 256, 2048, 256, 4056, 4054, 0x00, 0x81, 0x00, 0xFF
vertex -255, 2048, 256, 4056, 0, 0x00, 0x81, 0x00, 0xFF
vertex -255, 2048, -255, 0, 0, 0x00, 0x81, 0x00, 0xFF
vertex 256, 2048, -255, 0, 4054, 0x00, 0x81, 0x00, 0xFF
vertex 0, 1792, -537, -802, -1362, 0x00, 0x7F, 0x00, 0xFF
vertex 466, 1792, 269, 1056, 1858, 0x00, 0x7F, 0x00, 0xFF
vertex 466, 1792, -268, 1056, -288, 0x00, 0x7F, 0x00, 0xFF
vertex -465, 1792, -268, -2662, -288, 0x00, 0x7F, 0x00, 0xFF
vertex -465, 1792, 269, -2662, 1858, 0x00, 0x7F, 0x00, 0xFF
vertex 0, 1792, 538, -802, 2932, 0x00, 0x7F, 0x00, 0xFF
wf_seg7_vertex_070089F0: # 0x070089F0 - 0x07008AF0
vertex 466, 1536, -268, 990, 990, 0x7F, 0x00, 0x00, 0xFF
vertex 466, 1792, -268, 990, 0, 0x7F, 0x00, 0x00, 0xFF
vertex 466, 1792, 269, -82, 0, 0x7F, 0x00, 0x00, 0xFF
vertex -465, 1536, 269, 1042, 990, 0x81, 0x00, 0x00, 0xFF
vertex -465, 1792, -268, 0, 0, 0x81, 0x00, 0x00, 0xFF
vertex -465, 1536, -268, 0, 990, 0x81, 0x00, 0x00, 0xFF
vertex -465, 1792, 269, 1042, 0, 0x81, 0x00, 0x00, 0xFF
vertex 0, 1536, 538, 1042, 990, 0xC1, 0x00, 0x6D, 0xFF
vertex -465, 1792, 269, 0, 0, 0xC1, 0x00, 0x6D, 0xFF
vertex -465, 1536, 269, 0, 990, 0xC1, 0x00, 0x6D, 0xFF
vertex 0, 1792, 538, 1042, 0, 0xC1, 0x00, 0x6D, 0xFF
vertex 466, 1536, 269, 990, 990, 0x3F, 0x00, 0x6D, 0xFF
vertex 0, 1792, 538, -82, 0, 0x3F, 0x00, 0x6D, 0xFF
vertex 0, 1536, 538, -82, 990, 0x3F, 0x00, 0x6D, 0xFF
vertex 466, 1792, 269, 990, 0, 0x3F, 0x00, 0x6D, 0xFF
vertex 466, 1536, 269, -82, 990, 0x7F, 0x00, 0x00, 0xFF
wf_seg7_vertex_07008AF0: # 0x07008AF0 - 0x07008BD0
vertex 0, 1536, -537, 990, 990, 0x3F, 0x00, 0x93, 0xFF
vertex 466, 1792, -268, -82, 0, 0x3F, 0x00, 0x93, 0xFF
vertex 466, 1536, -268, -82, 990, 0x3F, 0x00, 0x93, 0xFF
vertex 0, 1792, -537, 990, 0, 0x3F, 0x00, 0x93, 0xFF
vertex -465, 1536, -268, 1042, 990, 0xC1, 0x00, 0x93, 0xFF
vertex 0, 1792, -537, 0, 0, 0xC1, 0x00, 0x93, 0xFF
vertex 0, 1536, -537, 0, 990, 0xC1, 0x00, 0x93, 0xFF
vertex -465, 1792, -268, 1042, 0, 0xC1, 0x00, 0x93, 0xFF
vertex 256, 2048, -255, -1052, 990, 0x00, 0x38, 0x8F, 0xFF
vertex -255, 2048, -255, 3034, 990, 0x00, 0x38, 0x8F, 0xFF
vertex 0, 2560, 0, 990, -3580, 0x00, 0x38, 0x8F, 0xFF
vertex -255, 2048, 256, -2414, 982, 0x00, 0x38, 0x71, 0xFF
vertex 256, 2048, 256, 1672, 982, 0x00, 0x38, 0x71, 0xFF
vertex 0, 2560, 0, -370, -3588, 0x00, 0x38, 0x71, 0xFF
wf_seg7_vertex_07008BD0: # 0x07008BD0 - 0x07008C30
vertex -255, 2048, -255, 0, 990, 0x8F, 0x38, 0x00, 0xFF
vertex -255, 2048, 256, 4056, 990, 0x8F, 0x38, 0x00, 0xFF
vertex 0, 2560, 0, 2012, -3580, 0x8F, 0x38, 0x00, 0xFF
vertex 256, 2048, 256, 0, 990, 0x71, 0x38, 0x00, 0xFF
vertex 256, 2048, -255, 4056, 990, 0x71, 0x38, 0x00, 0xFF
vertex 0, 2560, 0, 2012, -3580, 0x71, 0x38, 0x00, 0xFF
wf_seg7_vertex_07008C30: # 0x07008C30 - 0x07008D20
vertex 466, 0, -268, 1246, 7120, 0x7F, 0x00, 0x00, 0xFF
vertex 466, 1536, 269, -94, -544, 0x7F, 0x00, 0x00, 0xFF
vertex 466, 0, 269, -94, 7120, 0x7F, 0x00, 0x00, 0xFF
vertex -465, 0, 269, 1246, 7120, 0x81, 0x00, 0x00, 0xFF
vertex -465, 1536, 269, 1246, -542, 0x81, 0x00, 0x00, 0xFF
vertex -465, 1536, -268, -94, -544, 0x81, 0x00, 0x00, 0xFF
vertex -465, 0, -268, -94, 7120, 0x81, 0x00, 0x00, 0xFF
vertex 0, 0, 538, 1246, 7120, 0xC1, 0x00, 0x6D, 0xFF
vertex 0, 1536, 538, 1246, -542, 0xC1, 0x00, 0x6D, 0xFF
vertex -465, 1536, 269, -94, -542, 0xC1, 0x00, 0x6D, 0xFF
vertex -465, 0, 269, -94, 7120, 0xC1, 0x00, 0x6D, 0xFF
vertex 466, 0, 269, 1246, 7120, 0x3F, 0x00, 0x6D, 0xFF
vertex 466, 1536, 269, 1246, -544, 0x3F, 0x00, 0x6D, 0xFF
vertex 0, 1536, 538, -94, -544, 0x3F, 0x00, 0x6D, 0xFF
vertex 0, 0, 538, -94, 7120, 0x3F, 0x00, 0x6D, 0xFF
wf_seg7_vertex_07008D20: # 0x07008D20 - 0x07008DD0
vertex -465, 0, -268, 1246, 7120, 0xC1, 0x00, 0x93, 0xFF
vertex -465, 1536, -268, 1246, -544, 0xC1, 0x00, 0x93, 0xFF
vertex 0, 1536, -537, -94, -544, 0xC1, 0x00, 0x93, 0xFF
vertex 466, 0, -268, 1246, 7120, 0x7F, 0x00, 0x00, 0xFF
vertex 466, 1536, -268, 1246, -544, 0x7F, 0x00, 0x00, 0xFF
vertex 466, 1536, 269, -94, -544, 0x7F, 0x00, 0x00, 0xFF
vertex 0, 0, -537, 1246, 7120, 0x3F, 0x00, 0x93, 0xFF
vertex 0, 1536, -537, 1246, -542, 0x3F, 0x00, 0x93, 0xFF
vertex 466, 1536, -268, -94, -544, 0x3F, 0x00, 0x93, 0xFF
vertex 466, 0, -268, -94, 7120, 0x3F, 0x00, 0x93, 0xFF
vertex 0, 0, -537, -94, 7120, 0xC1, 0x00, 0x93, 0xFF
wf_seg7_dl_07008DD0: # 0x07008DD0 - 0x07008E48
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, wf_seg7_texture_07001800
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPLight wf_seg7_light_07008840, 1
gsSPLight wf_seg7_light_07008838, 2
gsSPVertex wf_seg7_vertex_07008850, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
gsSP2Triangles 11, 13, 14, 0x0, 0, 2, 15, 0x0
gsSPEndDisplayList
wf_seg7_dl_07008E48: # 0x07008E48 - 0x07008EA0
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, grass_09007800
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPVertex wf_seg7_vertex_07008950, 10, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 8, 0x0
gsSP2Triangles 4, 8, 9, 0x0, 4, 9, 5, 0x0
gsSPEndDisplayList
wf_seg7_dl_07008EA0: # 0x07008EA0 - 0x07008F58
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, grass_09009000
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPVertex wf_seg7_vertex_070089F0, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
gsSP2Triangles 7, 10, 8, 0x0, 11, 12, 13, 0x0
gsSP2Triangles 11, 14, 12, 0x0, 0, 2, 15, 0x0
gsSPVertex wf_seg7_vertex_07008AF0, 14, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
gsSP2Triangles 8, 9, 10, 0x0, 11, 12, 13, 0x0
gsSPVertex wf_seg7_vertex_07008BD0, 6, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSPEndDisplayList
wf_seg7_dl_07008F58: # 0x07008F58 - 0x07008FE8
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, grass_09007000
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPVertex wf_seg7_vertex_07008C30, 15, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
gsSP1Triangle 11, 13, 14, 0x0
gsSPVertex wf_seg7_vertex_07008D20, 11, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP2Triangles 6, 7, 8, 0x0, 6, 8, 9, 0x0
gsSP1Triangle 0, 2, 10, 0x0
gsSPEndDisplayList
glabel wf_seg7_dl_07008FE8 # 0x07008FE8 - 0x07009070
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_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, 5, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD
gsDPSetTileSize 0, 0, 0, 124, 124
gsSPDisplayList wf_seg7_dl_07008DD0
gsSPDisplayList wf_seg7_dl_07008E48
gsSPDisplayList wf_seg7_dl_07008EA0
gsSPDisplayList wf_seg7_dl_07008F58
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_SHADING_SMOOTH
gsSPEndDisplayList