sm64

A Super Mario 64 decompilation
Log | Files | Refs | README | LICENSE

model.inc.c (18898B)


      1 // Scuttlebug
      2 
      3 // Unreferenced light group
      4 UNUSED static const Lights1 scuttlebug_lights_unused1 = gdSPDefLights1(
      5     0x2c, 0x00, 0x00,
      6     0xb2, 0x00, 0x00, 0x28, 0x28, 0x28
      7 );
      8 
      9 // Unreferenced light group
     10 UNUSED static const Lights1 scuttlebug_lights_unused2 = gdSPDefLights1(
     11     0x00, 0x00, 0x00,
     12     0x00, 0x00, 0x00, 0x28, 0x28, 0x28
     13 );
     14 
     15 // 0x06010108
     16 ALIGNED8 static const Texture scuttlebug_seg6_texture_06010108[] = {
     17 #include "actors/scuttlebug/scuttlebug_eye.rgba16.inc.c"
     18 };
     19 
     20 // 0x06010908
     21 ALIGNED8 static const Texture scuttlebug_seg6_texture_06010908[] = {
     22 #include "actors/scuttlebug/scuttlebug_left_side.rgba16.inc.c"
     23 };
     24 
     25 // 0x06011908
     26 ALIGNED8 static const Texture scuttlebug_seg6_texture_06011908[] = {
     27 #include "actors/scuttlebug/scuttlebug_right_side.rgba16.inc.c"
     28 };
     29 
     30 // 0x06012908
     31 ALIGNED8 static const Texture scuttlebug_seg6_texture_06012908[] = {
     32 #include "actors/scuttlebug/scuttlebug_iris.rgba16.inc.c"
     33 };
     34 
     35 // 0x06013108
     36 ALIGNED8 static const Texture scuttlebug_seg6_texture_06013108[] = {
     37 #include "actors/scuttlebug/scuttlebug_leg.rgba16.inc.c"
     38 };
     39 
     40 // 0x06013908
     41 static const Vtx scuttlebug_seg6_vertex_06013908[] = {
     42     {{{   -44,    -44,      0}, 0, {     0,   2012}, {0xff, 0xff, 0xff, 0xff}}},
     43     {{{     0,    -44,      0}, 0, {   990,   2012}, {0xff, 0xff, 0xff, 0xff}}},
     44     {{{     0,     44,      0}, 0, {   990,      0}, {0xff, 0xff, 0xff, 0xff}}},
     45     {{{   -44,     44,      0}, 0, {     0,      0}, {0xff, 0xff, 0xff, 0xff}}},
     46 };
     47 
     48 // 0x06013948
     49 static const Vtx scuttlebug_seg6_vertex_06013948[] = {
     50     {{{     0,    -44,      0}, 0, {     0,   2012}, {0xff, 0xff, 0xff, 0xff}}},
     51     {{{    44,     44,      0}, 0, {   990,      0}, {0xff, 0xff, 0xff, 0xff}}},
     52     {{{     0,     44,      0}, 0, {     0,      0}, {0xff, 0xff, 0xff, 0xff}}},
     53     {{{    44,    -44,      0}, 0, {   990,   2012}, {0xff, 0xff, 0xff, 0xff}}},
     54 };
     55 
     56 // 0x06013988 - 0x060139C0
     57 const Gfx scuttlebug_seg6_dl_06013988[] = {
     58     gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, scuttlebug_seg6_texture_06010908),
     59     gsDPLoadSync(),
     60     gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
     61     gsSPVertex(scuttlebug_seg6_vertex_06013908, 4, 0),
     62     gsSP2Triangles( 0,  1,  2, 0x0,  0,  2,  3, 0x0),
     63     gsSPEndDisplayList(),
     64 };
     65 
     66 // 0x060139C0 - 0x060139F8
     67 const Gfx scuttlebug_seg6_dl_060139C0[] = {
     68     gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, scuttlebug_seg6_texture_06011908),
     69     gsDPLoadSync(),
     70     gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
     71     gsSPVertex(scuttlebug_seg6_vertex_06013948, 4, 0),
     72     gsSP2Triangles( 0,  1,  2, 0x0,  0,  3,  1, 0x0),
     73     gsSPEndDisplayList(),
     74 };
     75 
     76 // 0x060139F8 - 0x06013A70
     77 const Gfx scuttlebug_seg6_dl_060139F8[] = {
     78     gsDPPipeSync(),
     79     gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
     80     gsSPClearGeometryMode(G_LIGHTING),
     81     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),
     82     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
     83     gsDPTileSync(),
     84     gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP, 6, G_TX_NOLOD, G_TX_CLAMP, 5, G_TX_NOLOD),
     85     gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (64 - 1) << G_TEXTURE_IMAGE_FRAC),
     86     gsSPDisplayList(scuttlebug_seg6_dl_06013988),
     87     gsSPDisplayList(scuttlebug_seg6_dl_060139C0),
     88     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
     89     gsDPPipeSync(),
     90     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
     91     gsSPSetGeometryMode(G_LIGHTING),
     92     gsSPEndDisplayList(),
     93 };
     94 
     95 // 0x06013A70
     96 static const Vtx scuttlebug_seg6_vertex_06013A70[] = {
     97     {{{    15,     15,      0}, 0, {   990,      0}, {0xff, 0xff, 0xff, 0xff}}},
     98     {{{   -15,     15,      0}, 0, {     0,      0}, {0xff, 0xff, 0xff, 0xff}}},
     99     {{{   -15,    -15,      0}, 0, {     0,    990}, {0xff, 0xff, 0xff, 0xff}}},
    100     {{{    15,    -15,      0}, 0, {   990,    990}, {0xff, 0xff, 0xff, 0xff}}},
    101 };
    102 
    103 // 0x06013AB0 - 0x06013AE8
    104 const Gfx scuttlebug_seg6_dl_06013AB0[] = {
    105     gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, scuttlebug_seg6_texture_06010108),
    106     gsDPLoadSync(),
    107     gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
    108     gsSPVertex(scuttlebug_seg6_vertex_06013A70, 4, 0),
    109     gsSP2Triangles( 0,  1,  2, 0x0,  0,  2,  3, 0x0),
    110     gsSPEndDisplayList(),
    111 };
    112 
    113 // 0x06013AE8 - 0x06013B58
    114 const Gfx scuttlebug_seg6_dl_06013AE8[] = {
    115     gsDPPipeSync(),
    116     gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
    117     gsSPClearGeometryMode(G_LIGHTING),
    118     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),
    119     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
    120     gsDPTileSync(),
    121     gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP, 5, G_TX_NOLOD, G_TX_CLAMP, 5, G_TX_NOLOD),
    122     gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
    123     gsSPDisplayList(scuttlebug_seg6_dl_06013AB0),
    124     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
    125     gsDPPipeSync(),
    126     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    127     gsSPSetGeometryMode(G_LIGHTING),
    128     gsSPEndDisplayList(),
    129 };
    130 
    131 // 0x06013B58
    132 static const Vtx scuttlebug_seg6_vertex_06013B58[] = {
    133     {{{    15,     15,      0}, 0, {   990,      0}, {0xff, 0xff, 0xff, 0xff}}},
    134     {{{   -15,     15,      0}, 0, {     0,      0}, {0xff, 0xff, 0xff, 0xff}}},
    135     {{{   -15,    -15,      0}, 0, {     0,    990}, {0xff, 0xff, 0xff, 0xff}}},
    136     {{{    15,    -15,      0}, 0, {   990,    990}, {0xff, 0xff, 0xff, 0xff}}},
    137 };
    138 
    139 // 0x06013B98 - 0x06013BD0
    140 const Gfx scuttlebug_seg6_dl_06013B98[] = {
    141     gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, scuttlebug_seg6_texture_06010108),
    142     gsDPLoadSync(),
    143     gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
    144     gsSPVertex(scuttlebug_seg6_vertex_06013B58, 4, 0),
    145     gsSP2Triangles( 0,  1,  2, 0x0,  0,  2,  3, 0x0),
    146     gsSPEndDisplayList(),
    147 };
    148 
    149 // 0x06013BD0 - 0x06013C40
    150 const Gfx scuttlebug_seg6_dl_06013BD0[] = {
    151     gsDPPipeSync(),
    152     gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
    153     gsSPClearGeometryMode(G_LIGHTING),
    154     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),
    155     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
    156     gsDPTileSync(),
    157     gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP, 5, G_TX_NOLOD, G_TX_CLAMP, 5, G_TX_NOLOD),
    158     gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
    159     gsSPDisplayList(scuttlebug_seg6_dl_06013B98),
    160     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
    161     gsDPPipeSync(),
    162     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    163     gsSPSetGeometryMode(G_LIGHTING),
    164     gsSPEndDisplayList(),
    165 };
    166 
    167 // 0x06013C40
    168 static const Vtx scuttlebug_seg6_vertex_06013C40[] = {
    169     {{{    60,    -30,     31}, 0, {     0,      0}, {0xff, 0xff, 0xff, 0xff}}},
    170     {{{    60,    -30,    -30}, 0, {     0,    990}, {0xff, 0xff, 0xff, 0xff}}},
    171     {{{    60,     32,    -30}, 0, {   990,    990}, {0xff, 0xff, 0xff, 0xff}}},
    172     {{{    60,     32,     31}, 0, {   990,      0}, {0xff, 0xff, 0xff, 0xff}}},
    173 };
    174 
    175 // 0x06013C80 - 0x06013CB8
    176 const Gfx scuttlebug_seg6_dl_06013C80[] = {
    177     gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, scuttlebug_seg6_texture_06012908),
    178     gsDPLoadSync(),
    179     gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
    180     gsSPVertex(scuttlebug_seg6_vertex_06013C40, 4, 0),
    181     gsSP2Triangles( 0,  1,  2, 0x0,  0,  2,  3, 0x0),
    182     gsSPEndDisplayList(),
    183 };
    184 
    185 // 0x06013CB8 - 0x06013D28
    186 const Gfx scuttlebug_seg6_dl_06013CB8[] = {
    187     gsDPPipeSync(),
    188     gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
    189     gsSPClearGeometryMode(G_LIGHTING),
    190     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),
    191     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
    192     gsDPTileSync(),
    193     gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP, 5, G_TX_NOLOD, G_TX_CLAMP, 5, G_TX_NOLOD),
    194     gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
    195     gsSPDisplayList(scuttlebug_seg6_dl_06013C80),
    196     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
    197     gsDPPipeSync(),
    198     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    199     gsSPSetGeometryMode(G_LIGHTING),
    200     gsSPEndDisplayList(),
    201 };
    202 
    203 // 0x06013D28
    204 static const Vtx scuttlebug_seg6_vertex_06013D28[] = {
    205     {{{    60,    -30,     31}, 0, {     0,    990}, {0xff, 0xff, 0xff, 0xff}}},
    206     {{{    60,    -30,    -30}, 0, {   990,    990}, {0xff, 0xff, 0xff, 0xff}}},
    207     {{{    59,     31,    -30}, 0, {   990,      0}, {0xff, 0xff, 0xff, 0xff}}},
    208     {{{    59,     31,     31}, 0, {     0,      0}, {0xff, 0xff, 0xff, 0xff}}},
    209 };
    210 
    211 // 0x06013D68 - 0x06013DA0
    212 const Gfx scuttlebug_seg6_dl_06013D68[] = {
    213     gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, scuttlebug_seg6_texture_06012908),
    214     gsDPLoadSync(),
    215     gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
    216     gsSPVertex(scuttlebug_seg6_vertex_06013D28, 4, 0),
    217     gsSP2Triangles( 0,  1,  2, 0x0,  0,  2,  3, 0x0),
    218     gsSPEndDisplayList(),
    219 };
    220 
    221 // 0x06013DA0 - 0x06013E10
    222 const Gfx scuttlebug_seg6_dl_06013DA0[] = {
    223     gsDPPipeSync(),
    224     gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
    225     gsSPClearGeometryMode(G_LIGHTING),
    226     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),
    227     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
    228     gsDPTileSync(),
    229     gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP, 5, G_TX_NOLOD, G_TX_CLAMP, 5, G_TX_NOLOD),
    230     gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
    231     gsSPDisplayList(scuttlebug_seg6_dl_06013D68),
    232     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
    233     gsDPPipeSync(),
    234     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    235     gsSPSetGeometryMode(G_LIGHTING),
    236     gsSPEndDisplayList(),
    237 };
    238 
    239 // 0x06013E10
    240 static const Lights1 scuttlebug_seg6_lights_06013E10 = gdSPDefLights1(
    241     0x33, 0x22, 0x01,
    242     0xcf, 0x89, 0x06, 0x28, 0x28, 0x28
    243 );
    244 
    245 // 0x06013E28
    246 static const Vtx scuttlebug_seg6_vertex_06013E28[] = {
    247     {{{  -111,     85,    293}, 0, {     0,      0}, {0x7e, 0x06, 0x0b, 0xff}}},
    248     {{{  -120,    127,    192}, 0, {     0,      0}, {0x34, 0x64, 0xc8, 0xff}}},
    249     {{{  -120,    103,    301}, 0, {     0,      0}, {0xc9, 0x62, 0x3a, 0xff}}},
    250     {{{  -128,    -84,    293}, 0, {     0,      0}, {0x82, 0xfa, 0x0b, 0xff}}},
    251     {{{  -120,   -126,    192}, 0, {     0,      0}, {0xc7, 0x9e, 0xc8, 0xff}}},
    252     {{{  -120,   -102,    301}, 0, {     0,      0}, {0x32, 0x9c, 0x3b, 0xff}}},
    253     {{{  -103,    -88,    199}, 0, {     0,      0}, {0x7e, 0xf9, 0xf3, 0xff}}},
    254     {{{  -111,    -84,    293}, 0, {     0,      0}, {0x7d, 0x10, 0x0c, 0xff}}},
    255     {{{  -120,    -29,    351}, 0, {     0,      0}, {0xf4, 0x3d, 0x6e, 0xff}}},
    256     {{{  -136,    -88,    199}, 0, {     0,      0}, {0x83, 0x10, 0xf4, 0xff}}},
    257     {{{  -120,    -58,    167}, 0, {     0,      0}, {0xfe, 0x1f, 0x85, 0xff}}},
    258     {{{  -120,    -49,    205}, 0, {     0,      0}, {0x2f, 0x75, 0x04, 0xff}}},
    259     {{{  -120,    -67,    284}, 0, {     0,      0}, {0xc9, 0x72, 0xf9, 0xff}}},
    260     {{{  -120,     68,    284}, 0, {     0,      0}, {0x32, 0x8c, 0xf8, 0xff}}},
    261     {{{  -103,     89,    199}, 0, {     0,      0}, {0x7c, 0xee, 0xf3, 0xff}}},
    262     {{{  -120,     30,    351}, 0, {     0,      0}, {0xf4, 0xc3, 0x6e, 0xff}}},
    263 };
    264 
    265 // 0x06013F28
    266 static const Vtx scuttlebug_seg6_vertex_06013F28[] = {
    267     {{{  -103,     89,    199}, 0, {     0,      0}, {0x7c, 0xee, 0xf3, 0xff}}},
    268     {{{  -120,     59,    167}, 0, {     0,      0}, {0xfe, 0xe1, 0x85, 0xff}}},
    269     {{{  -120,    127,    192}, 0, {     0,      0}, {0x34, 0x64, 0xc8, 0xff}}},
    270     {{{  -136,     89,    199}, 0, {     0,      0}, {0x82, 0x06, 0xf4, 0xff}}},
    271     {{{  -120,    103,    301}, 0, {     0,      0}, {0xc9, 0x62, 0x3a, 0xff}}},
    272     {{{  -111,     85,    293}, 0, {     0,      0}, {0x7e, 0x06, 0x0b, 0xff}}},
    273     {{{  -120,     30,    351}, 0, {     0,      0}, {0xf4, 0xc3, 0x6e, 0xff}}},
    274     {{{  -128,     85,    293}, 0, {     0,      0}, {0x83, 0xf1, 0x0b, 0xff}}},
    275     {{{  -120,     50,    205}, 0, {     0,      0}, {0xcd, 0x8c, 0x03, 0xff}}},
    276     {{{  -120,     68,    284}, 0, {     0,      0}, {0x32, 0x8c, 0xf8, 0xff}}},
    277 };
    278 
    279 // 0x06013FC8 - 0x060140F0
    280 const Gfx scuttlebug_seg6_dl_06013FC8[] = {
    281     gsSPLight(&scuttlebug_seg6_lights_06013E10.l, 1),
    282     gsSPLight(&scuttlebug_seg6_lights_06013E10.a, 2),
    283     gsSPVertex(scuttlebug_seg6_vertex_06013E28, 16, 0),
    284     gsSP2Triangles( 0,  1,  2, 0x0,  3,  4,  5, 0x0),
    285     gsSP2Triangles( 5,  6,  7, 0x0,  5,  4,  6, 0x0),
    286     gsSP2Triangles( 8,  5,  7, 0x0,  3,  5,  8, 0x0),
    287     gsSP2Triangles( 9, 10,  4, 0x0,  3,  9,  4, 0x0),
    288     gsSP2Triangles(10,  6,  4, 0x0, 10, 11,  6, 0x0),
    289     gsSP2Triangles(11,  7,  6, 0x0, 12,  7, 11, 0x0),
    290     gsSP2Triangles(12,  8,  7, 0x0, 12,  9,  3, 0x0),
    291     gsSP2Triangles( 3,  8, 12, 0x0, 11, 10,  9, 0x0),
    292     gsSP2Triangles(11,  9, 12, 0x0, 13, 14,  0, 0x0),
    293     gsSP2Triangles( 0, 14,  1, 0x0, 15, 13,  0, 0x0),
    294     gsSPVertex(scuttlebug_seg6_vertex_06013F28, 10, 0),
    295     gsSP2Triangles( 0,  1,  2, 0x0,  3,  2,  1, 0x0),
    296     gsSP2Triangles( 4,  2,  3, 0x0,  5,  4,  6, 0x0),
    297     gsSP2Triangles( 6,  4,  7, 0x0,  4,  3,  7, 0x0),
    298     gsSP2Triangles( 1,  8,  3, 0x0,  8,  7,  3, 0x0),
    299     gsSP2Triangles( 8,  1,  0, 0x0,  8,  0,  9, 0x0),
    300     gsSP2Triangles( 9,  7,  8, 0x0,  7,  9,  6, 0x0),
    301     gsSPEndDisplayList(),
    302 };
    303 
    304 // 0x060140F0 - 0x06014110
    305 const Gfx scuttlebug_seg6_dl_060140F0[] = {
    306     gsDPPipeSync(),
    307     gsSPDisplayList(scuttlebug_seg6_dl_06013FC8),
    308     gsDPPipeSync(),
    309     gsSPEndDisplayList(),
    310 };
    311 
    312 // 0x06014110
    313 static const Vtx scuttlebug_seg6_vertex_06014110[] = {
    314     {{{   -21,     37,      0}, 0, {  -584,  -4238}, {0xff, 0xff, 0xff, 0xff}}},
    315     {{{   191,     18,      0}, 0, {    28,    892}, {0xff, 0xff, 0xff, 0xff}}},
    316     {{{   193,    -19,      0}, 0, {   988,    958}, {0xff, 0xff, 0xff, 0xff}}},
    317     {{{   -16,    -25,      0}, 0, {   982,  -4136}, {0xff, 0xff, 0xff, 0xff}}},
    318 };
    319 
    320 // 0x06014150 - 0x06014188
    321 const Gfx scuttlebug_seg6_dl_06014150[] = {
    322     gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, scuttlebug_seg6_texture_06013108),
    323     gsDPLoadSync(),
    324     gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
    325     gsSPVertex(scuttlebug_seg6_vertex_06014110, 4, 0),
    326     gsSP2Triangles( 0,  1,  2, 0x0,  3,  0,  2, 0x0),
    327     gsSPEndDisplayList(),
    328 };
    329 
    330 // 0x06014188 - 0x060141F8
    331 const Gfx scuttlebug_seg6_dl_06014188[] = {
    332     gsDPPipeSync(),
    333     gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
    334     gsSPClearGeometryMode(G_LIGHTING | G_CULL_BACK),
    335     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),
    336     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
    337     gsDPTileSync(),
    338     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_CLAMP, 5, G_TX_NOLOD),
    339     gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
    340     gsSPDisplayList(scuttlebug_seg6_dl_06014150),
    341     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
    342     gsDPPipeSync(),
    343     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    344     gsSPSetGeometryMode(G_LIGHTING | G_CULL_BACK),
    345     gsSPEndDisplayList(),
    346 };
    347 
    348 // 0x060141F8
    349 static const Vtx scuttlebug_seg6_vertex_060141F8[] = {
    350     {{{    -9,     39,      4}, 0, {  -560,  -4258}, {0xff, 0xff, 0xff, 0xff}}},
    351     {{{   199,     20,      2}, 0, {    38,    948}, {0xff, 0xff, 0xff, 0xff}}},
    352     {{{   201,    -17,     -2}, 0, {   990,    990}, {0xff, 0xff, 0xff, 0xff}}},
    353     {{{    -5,    -22,     -3}, 0, {   990,  -4192}, {0xff, 0xff, 0xff, 0xff}}},
    354 };
    355 
    356 // 0x06014238 - 0x06014270
    357 const Gfx scuttlebug_seg6_dl_06014238[] = {
    358     gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, scuttlebug_seg6_texture_06013108),
    359     gsDPLoadSync(),
    360     gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
    361     gsSPVertex(scuttlebug_seg6_vertex_060141F8, 4, 0),
    362     gsSP2Triangles( 0,  1,  2, 0x0,  3,  0,  2, 0x0),
    363     gsSPEndDisplayList(),
    364 };
    365 
    366 // 0x06014270 - 0x060142E0
    367 const Gfx scuttlebug_seg6_dl_06014270[] = {
    368     gsDPPipeSync(),
    369     gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
    370     gsSPClearGeometryMode(G_LIGHTING | G_CULL_BACK),
    371     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),
    372     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
    373     gsDPTileSync(),
    374     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_CLAMP, 5, G_TX_NOLOD),
    375     gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
    376     gsSPDisplayList(scuttlebug_seg6_dl_06014238),
    377     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
    378     gsDPPipeSync(),
    379     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    380     gsSPSetGeometryMode(G_LIGHTING | G_CULL_BACK),
    381     gsSPEndDisplayList(),
    382 };
    383 
    384 // 0x060142E0
    385 static const Lights1 scuttlebug_seg6_lights_060142E0 = gdSPDefLights1(
    386     0x26, 0x05, 0x05,
    387     0x99, 0x16, 0x16, 0x28, 0x28, 0x28
    388 );
    389 
    390 // 0x060142F8
    391 static const Vtx scuttlebug_seg6_vertex_060142F8[] = {
    392     {{{     0,     -1,      0}, 0, {     0,      0}, {0x82, 0x02, 0x00, 0xff}}},
    393     {{{    57,   -106,     -3}, 0, {     0,      0}, {0xcf, 0x8c, 0xfd, 0xff}}},
    394     {{{    57,     48,     83}, 0, {     0,      0}, {0xd0, 0x37, 0x67, 0xff}}},
    395     {{{    57,     54,    -81}, 0, {     0,      0}, {0xcf, 0x3d, 0x9d, 0xff}}},
    396 };
    397 
    398 // 0x06014338 - 0x06014378
    399 const Gfx scuttlebug_seg6_dl_06014338[] = {
    400     gsSPLight(&scuttlebug_seg6_lights_060142E0.l, 1),
    401     gsSPLight(&scuttlebug_seg6_lights_060142E0.a, 2),
    402     gsSPVertex(scuttlebug_seg6_vertex_060142F8, 4, 0),
    403     gsSP2Triangles( 0,  1,  2, 0x0,  3,  2,  1, 0x0),
    404     gsSP2Triangles( 2,  3,  0, 0x0,  1,  0,  3, 0x0),
    405     gsSPEndDisplayList(),
    406 };
    407 
    408 // 0x06014378 - 0x06014398
    409 const Gfx scuttlebug_seg6_dl_06014378[] = {
    410     gsDPPipeSync(),
    411     gsSPDisplayList(scuttlebug_seg6_dl_06014338),
    412     gsDPPipeSync(),
    413     gsSPEndDisplayList(),
    414 };