sm64

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

model.inc.c (20497B)


      1 // Bub
      2 
      3 // 0x0600E278
      4 static const Lights1 bub_seg6_lights_0600E280 = gdSPDefLights1(
      5     0x3f, 0x3f, 0x3f,
      6     0xff, 0xff, 0xff, 0x28, 0x28, 0x28
      7 );
      8 
      9 // 0x0600E290
     10 static const Lights1 bub_seg6_lights_0600E290 = gdSPDefLights1(
     11     0x3f, 0x1d, 0x25,
     12     0xff, 0x75, 0x94, 0x28, 0x28, 0x28
     13 );
     14 
     15 // 0x0600E2A8
     16 ALIGNED8 static const Texture bub_seg6_texture_0600E2A8[] = {
     17 #include "actors/bub/bub_eye_border.rgba16.inc.c"
     18 };
     19 
     20 // 0x0600EAA8
     21 ALIGNED8 static const Texture bub_seg6_texture_0600EAA8[] = {
     22 #include "actors/bub/bub_fins.rgba16.inc.c"
     23 };
     24 
     25 // 0x0600F2A8
     26 ALIGNED8 static const Texture bub_seg6_texture_0600F2A8[] = {
     27 #include "actors/bub/bub_eyes.rgba16.inc.c"
     28 };
     29 
     30 // 0x060102A8
     31 ALIGNED8 static const Texture bub_seg6_texture_060102A8[] = {
     32 #include "actors/bub/bub_scales.rgba16.inc.c"
     33 };
     34 
     35 // 0x060112A8
     36 static const Vtx bub_seg6_vertex_060112A8[] = {
     37     {{{   -47,     79,     27}, 0, {    26,    980}, {0x00, 0x6b, 0x43, 0xff}}},
     38     {{{   -94,     80,     38}, 0, {   928,    968}, {0xf7, 0x73, 0x33, 0xff}}},
     39     {{{   -53,      0,     91}, 0, {   132,    102}, {0x10, 0x01, 0x7d, 0xff}}},
     40     {{{  -111,     38,    102}, 0, {  1338,    362}, {0xa2, 0x33, 0x43, 0xff}}},
     41     {{{  -111,    -41,    102}, 0, {  -428,    296}, {0xa4, 0xca, 0x43, 0xff}}},
     42     {{{   -92,    -82,     38}, 0, {   -40,    958}, {0xf9, 0x8d, 0x33, 0xff}}},
     43     {{{   -53,      0,     91}, 0, {   910,     -4}, {0x10, 0x01, 0x7d, 0xff}}},
     44     {{{   -45,    -81,     27}, 0, {   940,    960}, {0x00, 0x95, 0x43, 0xff}}},
     45     {{{  -100,    -71,    -23}, 0, {   302,     68}, {0x9f, 0xaf, 0x00, 0xff}}},
     46     {{{   -45,    -81,     27}, 0, {   926,    956}, {0x00, 0x95, 0x43, 0xff}}},
     47     {{{   -92,    -82,     38}, 0, {     4,    956}, {0xf9, 0x8d, 0x33, 0xff}}},
     48     {{{  -111,    -41,    102}, 0, {   -54,    146}, {0xa4, 0xca, 0x43, 0xff}}},
     49     {{{   -53,      0,     91}, 0, {   664,    466}, {0x10, 0x01, 0x7d, 0xff}}},
     50     {{{  -111,     38,    102}, 0, {   -12,    790}, {0xa2, 0x33, 0x43, 0xff}}},
     51 };
     52 
     53 // 0x06011388
     54 static const Vtx bub_seg6_vertex_06011388[] = {
     55     {{{  -102,     68,    -23}, 0, {   688,     60}, {0x9e, 0x4f, 0x00, 0xff}}},
     56     {{{   -94,     80,     38}, 0, {   960,    960}, {0xf7, 0x73, 0x33, 0xff}}},
     57     {{{   -47,     79,     27}, 0, {    16,    968}, {0x00, 0x6b, 0x43, 0xff}}},
     58 };
     59 
     60 // 0x060113B8
     61 static const Vtx bub_seg6_vertex_060113B8[] = {
     62     {{{   -17,    -15,     85}, 0, {   426,   1050}, {0xfd, 0x8e, 0x35, 0xff}}},
     63     {{{    93,      0,     75}, 0, {  2024,   1040}, {0x38, 0x00, 0x71, 0xff}}},
     64     {{{    30,      0,    126}, 0, {  1056,   1694}, {0x3c, 0x02, 0x6f, 0xff}}},
     65     {{{   -46,      0,    152}, 0, {   -72,   1972}, {0xa7, 0x04, 0x5a, 0xff}}},
     66     {{{   -53,      0,     91}, 0, {   -86,   1094}, {0x10, 0x01, 0x7d, 0xff}}},
     67     {{{   -17,     13,     85}, 0, {   422,   1050}, {0xfe, 0x73, 0x34, 0xff}}},
     68 };
     69 
     70 // 0x06011418
     71 static const Vtx bub_seg6_vertex_06011418[] = {
     72     {{{  -100,    -71,    -23}, 0, {  2008,   1286}, {0x9f, 0xaf, 0x00, 0xff}}},
     73     {{{   -92,    -82,     38}, 0, {  2180,    384}, {0xf9, 0x8d, 0x33, 0xff}}},
     74     {{{  -111,    -41,    102}, 0, {  1576,   -554}, {0xa4, 0xca, 0x43, 0xff}}},
     75     {{{  -102,     68,    -23}, 0, {     0,   1286}, {0x9e, 0x4f, 0x00, 0xff}}},
     76     {{{  -111,     38,    102}, 0, {   404,   -554}, {0xa2, 0x33, 0x43, 0xff}}},
     77     {{{   -94,     80,     38}, 0, {  -200,    384}, {0xf7, 0x73, 0x33, 0xff}}},
     78     {{{  -113,     -1,      6}, 0, {   992,    844}, {0x87, 0x00, 0x26, 0xff}}},
     79 };
     80 
     81 // 0x06011488
     82 static const Vtx bub_seg6_vertex_06011488[] = {
     83     {{{    69,     68,     18}, 0, {  1976,   -164}, {0x3a, 0x6a, 0x24, 0xff}}},
     84     {{{    63,     77,    -64}, 0, {  1872,   1220}, {0x35, 0x55, 0xb3, 0xff}}},
     85     {{{   -62,    106,    -67}, 0, {  -288,   1334}, {0xe7, 0x7b, 0xf2, 0xff}}},
     86     {{{   134,      0,     22}, 0, {  3456,     86}, {0x77, 0x00, 0x2a, 0xff}}},
     87     {{{    93,      0,     75}, 0, {  2620,   -532}, {0x38, 0x00, 0x71, 0xff}}},
     88     {{{    70,    -68,     18}, 0, {  2152,    990}, {0x3b, 0x97, 0x24, 0xff}}},
     89     {{{   -17,    -15,     85}, 0, {   528,   -486}, {0xfd, 0x8e, 0x35, 0xff}}},
     90     {{{   -45,    -81,     27}, 0, {     0,    990}, {0x00, 0x95, 0x43, 0xff}}},
     91     {{{   -53,      0,     91}, 0, {  -100,   -752}, {0x10, 0x01, 0x7d, 0xff}}},
     92     {{{    93,      0,     75}, 0, {  2384,  -1138}, {0x38, 0x00, 0x71, 0xff}}},
     93     {{{   134,      0,     22}, 0, {  3100,   -272}, {0x77, 0x00, 0x2a, 0xff}}},
     94     {{{   -47,     79,     27}, 0, {   -40,   -258}, {0x00, 0x6b, 0x43, 0xff}}},
     95     {{{   -17,     13,     85}, 0, {   456,  -1234}, {0xfe, 0x73, 0x34, 0xff}}},
     96     {{{   134,      0,    -17}, 0, {  3104,    404}, {0x7c, 0x00, 0xe7, 0xff}}},
     97     {{{   -53,      0,     91}, 0, {  -152,  -1316}, {0x10, 0x01, 0x7d, 0xff}}},
     98 };
     99 
    100 // 0x06011578
    101 static const Vtx bub_seg6_vertex_06011578[] = {
    102     {{{   134,      0,    -17}, 0, {  1744,   1076}, {0x7c, 0x00, 0xe7, 0xff}}},
    103     {{{   134,      0,     22}, 0, {  1444,    174}, {0x77, 0x00, 0x2a, 0xff}}},
    104     {{{    70,    -68,     18}, 0, {   124,    848}, {0x3b, 0x97, 0x24, 0xff}}},
    105     {{{   134,      0,    -17}, 0, {  3680,   -186}, {0x7c, 0x00, 0xe7, 0xff}}},
    106     {{{    70,    -68,     18}, 0, {  2148,   -526}, {0x3b, 0x97, 0x24, 0xff}}},
    107     {{{    64,    -77,    -64}, 0, {  2176,    910}, {0x36, 0xac, 0xb3, 0xff}}},
    108     {{{   -45,    -81,     27}, 0, {     0,   -416}, {0x00, 0x95, 0x43, 0xff}}},
    109     {{{   -60,   -108,    -67}, 0, {  -204,   1278}, {0xe9, 0x85, 0xf2, 0xff}}},
    110     {{{    64,    -77,    -64}, 0, {   616,    104}, {0x36, 0xac, 0xb3, 0xff}}},
    111     {{{    85,      0,    -97}, 0, {  1508,    946}, {0x43, 0x00, 0x95, 0xff}}},
    112     {{{   134,      0,    -17}, 0, {  2204,   -676}, {0x7c, 0x00, 0xe7, 0xff}}},
    113     {{{    63,     77,    -64}, 0, {  -188,    674}, {0x35, 0x55, 0xb3, 0xff}}},
    114     {{{   134,      0,    -17}, 0, {  1092,   -116}, {0x7c, 0x00, 0xe7, 0xff}}},
    115     {{{    85,      0,    -97}, 0, {  1016,   1428}, {0x43, 0x00, 0x95, 0xff}}},
    116 };
    117 
    118 // 0x06011658
    119 static const Vtx bub_seg6_vertex_06011658[] = {
    120     {{{   -60,   -108,    -67}, 0, {  1920,    450}, {0xe9, 0x85, 0xf2, 0xff}}},
    121     {{{   -45,    -81,     27}, 0, {  2056,  -1674}, {0x00, 0x95, 0x43, 0xff}}},
    122     {{{  -100,    -71,    -23}, 0, {   852,   -280}, {0x9f, 0xaf, 0x00, 0xff}}},
    123     {{{  -102,     68,    -23}, 0, {   700,   -344}, {0x9e, 0x4f, 0x00, 0xff}}},
    124     {{{   -47,     79,     27}, 0, {  1968,  -1410}, {0x00, 0x6b, 0x43, 0xff}}},
    125     {{{   -62,    106,    -67}, 0, {  1876,    472}, {0xe7, 0x7b, 0xf2, 0xff}}},
    126     {{{    63,     77,    -64}, 0, {  1884,    272}, {0x35, 0x55, 0xb3, 0xff}}},
    127     {{{   -77,     71,    -91}, 0, {  -540,   1024}, {0xc0, 0x30, 0x9e, 0xff}}},
    128     {{{   -62,    106,    -67}, 0, {  -288,    328}, {0xe7, 0x7b, 0xf2, 0xff}}},
    129     {{{   -60,   -108,    -67}, 0, {  -228,   -428}, {0xe9, 0x85, 0xf2, 0xff}}},
    130     {{{   -76,    -73,    -91}, 0, {  -344,    416}, {0xc1, 0xcf, 0x9e, 0xff}}},
    131     {{{    64,    -77,    -64}, 0, {  2188,   -424}, {0x36, 0xac, 0xb3, 0xff}}},
    132 };
    133 
    134 // 0x06011718
    135 static const Vtx bub_seg6_vertex_06011718[] = {
    136     {{{   -76,    -73,    -91}, 0, {     0,      0}, {0xc1, 0xcf, 0x9e, 0xff}}},
    137     {{{  -107,     -1,    -79}, 0, {     0,      0}, {0x83, 0x00, 0xef, 0xff}}},
    138     {{{   -83,     -1,   -102}, 0, {     0,      0}, {0xcb, 0x00, 0x8d, 0xff}}},
    139     {{{   -89,     -1,    -52}, 0, {     0,      0}, {0x8e, 0x00, 0xca, 0xff}}},
    140     {{{   -77,     71,    -91}, 0, {     0,      0}, {0xc0, 0x30, 0x9e, 0xff}}},
    141     {{{  -138,     -1,    -51}, 0, {     0,      0}, {0xa1, 0x00, 0xad, 0xff}}},
    142     {{{  -102,     68,    -23}, 0, {     0,      0}, {0x9e, 0x4f, 0x00, 0xff}}},
    143     {{{   -62,    106,    -67}, 0, {     0,      0}, {0xe7, 0x7b, 0xf2, 0xff}}},
    144     {{{  -100,    -71,    -23}, 0, {     0,      0}, {0x9f, 0xaf, 0x00, 0xff}}},
    145     {{{  -113,     -1,      6}, 0, {     0,      0}, {0x87, 0x00, 0x26, 0xff}}},
    146     {{{  -147,     -1,    -24}, 0, {     0,      0}, {0x87, 0x00, 0x24, 0xff}}},
    147     {{{   -60,   -108,    -67}, 0, {     0,      0}, {0xe9, 0x85, 0xf2, 0xff}}},
    148 };
    149 
    150 // 0x060117D8
    151 static const Vtx bub_seg6_vertex_060117D8[] = {
    152     {{{    63,     77,    -64}, 0, {     0,      0}, {0x35, 0x55, 0xb3, 0xff}}},
    153     {{{    85,      0,    -97}, 0, {     0,      0}, {0x43, 0x00, 0x95, 0xff}}},
    154     {{{   -24,      0,   -108}, 0, {     0,      0}, {0x07, 0x00, 0x82, 0xff}}},
    155     {{{   -83,     -1,   -102}, 0, {     0,      0}, {0xcb, 0x00, 0x8d, 0xff}}},
    156     {{{   -77,     71,    -91}, 0, {     0,      0}, {0xc0, 0x30, 0x9e, 0xff}}},
    157     {{{    64,    -77,    -64}, 0, {     0,      0}, {0x36, 0xac, 0xb3, 0xff}}},
    158     {{{   -76,    -73,    -91}, 0, {     0,      0}, {0xc1, 0xcf, 0x9e, 0xff}}},
    159 };
    160 
    161 // 0x06011848 - 0x060118C0
    162 const Gfx bub_seg6_dl_06011848[] = {
    163     gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bub_seg6_texture_0600E2A8),
    164     gsDPLoadSync(),
    165     gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
    166     gsSPLight(&bub_seg6_lights_0600E280.l, 1),
    167     gsSPLight(&bub_seg6_lights_0600E280.a, 2),
    168     gsSPVertex(bub_seg6_vertex_060112A8, 14, 0),
    169     gsSP2Triangles( 0,  1,  2, 0x0,  1,  3,  2, 0x0),
    170     gsSP2Triangles( 4,  5,  6, 0x0,  5,  7,  6, 0x0),
    171     gsSP2Triangles( 8,  9, 10, 0x0, 11, 12, 13, 0x0),
    172     gsSPVertex(bub_seg6_vertex_06011388, 3, 0),
    173     gsSP1Triangle( 0,  1,  2, 0x0),
    174     gsSPEndDisplayList(),
    175 };
    176 
    177 // 0x060118C0 - 0x06011918
    178 const Gfx bub_seg6_dl_060118C0[] = {
    179     gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bub_seg6_texture_0600EAA8),
    180     gsDPLoadSync(),
    181     gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
    182     gsSPVertex(bub_seg6_vertex_060113B8, 6, 0),
    183     gsSP2Triangles( 0,  1,  2, 0x0,  2,  3,  0, 0x0),
    184     gsSP2Triangles( 0,  3,  4, 0x0,  5,  2,  1, 0x0),
    185     gsSP2Triangles( 5,  3,  2, 0x0,  4,  3,  5, 0x0),
    186     gsSPEndDisplayList(),
    187 };
    188 
    189 // 0x06011918 - 0x06011968
    190 const Gfx bub_seg6_dl_06011918[] = {
    191     gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bub_seg6_texture_0600F2A8),
    192     gsDPLoadSync(),
    193     gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)),
    194     gsSPVertex(bub_seg6_vertex_06011418, 7, 0),
    195     gsSP2Triangles( 0,  1,  2, 0x0,  3,  4,  5, 0x0),
    196     gsSP2Triangles( 4,  3,  6, 0x0,  6,  2,  4, 0x0),
    197     gsSP1Triangle( 6,  0,  2, 0x0),
    198     gsSPEndDisplayList(),
    199 };
    200 
    201 // 0x06011968 - 0x06011A50
    202 const Gfx bub_seg6_dl_06011968[] = {
    203     gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bub_seg6_texture_060102A8),
    204     gsDPLoadSync(),
    205     gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)),
    206     gsSPVertex(bub_seg6_vertex_06011488, 15, 0),
    207     gsSP2Triangles( 0,  1,  2, 0x0,  3,  4,  5, 0x0),
    208     gsSP2Triangles( 4,  6,  7, 0x0,  7,  5,  4, 0x0),
    209     gsSP2Triangles( 7,  6,  8, 0x0,  9, 10,  0, 0x0),
    210     gsSP2Triangles( 9,  0, 11, 0x0, 11, 12,  9, 0x0),
    211     gsSP2Triangles(10, 13,  0, 0x0, 13,  1,  0, 0x0),
    212     gsSP2Triangles( 2, 11,  0, 0x0, 11, 14, 12, 0x0),
    213     gsSPVertex(bub_seg6_vertex_06011578, 14, 0),
    214     gsSP2Triangles( 0,  1,  2, 0x0,  3,  4,  5, 0x0),
    215     gsSP2Triangles( 4,  6,  7, 0x0,  5,  4,  7, 0x0),
    216     gsSP2Triangles( 8,  9, 10, 0x0, 11, 12, 13, 0x0),
    217     gsSPVertex(bub_seg6_vertex_06011658, 12, 0),
    218     gsSP2Triangles( 0,  1,  2, 0x0,  3,  4,  5, 0x0),
    219     gsSP2Triangles( 6,  7,  8, 0x0,  9, 10, 11, 0x0),
    220     gsSPEndDisplayList(),
    221 };
    222 
    223 // 0x06011A50 - 0x06011B28
    224 const Gfx bub_seg6_dl_06011A50[] = {
    225     gsSPLight(&bub_seg6_lights_0600E290.l, 1),
    226     gsSPLight(&bub_seg6_lights_0600E290.a, 2),
    227     gsSPVertex(bub_seg6_vertex_06011718, 12, 0),
    228     gsSP2Triangles( 0,  1,  2, 0x0,  0,  3,  1, 0x0),
    229     gsSP2Triangles( 1,  4,  2, 0x0,  1,  3,  4, 0x0),
    230     gsSP2Triangles( 3,  5,  4, 0x0,  0,  5,  3, 0x0),
    231     gsSP2Triangles( 6,  7,  4, 0x0,  4,  5,  6, 0x0),
    232     gsSP2Triangles( 8,  9, 10, 0x0,  8,  5,  0, 0x0),
    233     gsSP2Triangles( 0, 11,  8, 0x0,  8, 10,  5, 0x0),
    234     gsSP2Triangles( 5, 10,  6, 0x0, 10,  9,  6, 0x0),
    235     gsSPLight(&bub_seg6_lights_0600E280.l, 1),
    236     gsSPLight(&bub_seg6_lights_0600E280.a, 2),
    237     gsSPVertex(bub_seg6_vertex_060117D8, 7, 0),
    238     gsSP2Triangles( 0,  1,  2, 0x0,  2,  3,  4, 0x0),
    239     gsSP2Triangles( 2,  1,  5, 0x0,  2,  5,  6, 0x0),
    240     gsSP2Triangles( 2,  6,  3, 0x0,  0,  2,  4, 0x0),
    241     gsSPEndDisplayList(),
    242 };
    243 
    244 // 0x06011B28 - 0x06011BD8
    245 const Gfx bub_seg6_dl_06011B28[] = {
    246     gsDPPipeSync(),
    247     gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB),
    248     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),
    249     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
    250     gsDPTileSync(),
    251     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),
    252     gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
    253     gsSPDisplayList(bub_seg6_dl_06011848),
    254     gsSPDisplayList(bub_seg6_dl_060118C0),
    255     gsDPTileSync(),
    256     gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP, 5, G_TX_NOLOD, G_TX_CLAMP, 6, G_TX_NOLOD),
    257     gsDPSetTileSize(0, 0, 0, (64 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
    258     gsSPDisplayList(bub_seg6_dl_06011918),
    259     gsDPTileSync(),
    260     gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 6, G_TX_NOLOD),
    261     gsDPSetTileSize(0, 0, 0, (64 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
    262     gsSPDisplayList(bub_seg6_dl_06011968),
    263     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
    264     gsDPPipeSync(),
    265     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    266     gsSPDisplayList(bub_seg6_dl_06011A50),
    267     gsSPEndDisplayList(),
    268 };
    269 
    270 // 0x06011BD8
    271 static const Vtx bub_seg6_vertex_06011BD8[] = {
    272     {{{    45,     16,      2}, 0, {   488,    418}, {0x04, 0x7e, 0x00, 0xff}}},
    273     {{{    61,      1,    -60}, 0, {   996,    234}, {0x1d, 0xff, 0x85, 0xff}}},
    274     {{{     0,      0,    -16}, 0, {   634,    976}, {0x91, 0xfe, 0xc4, 0xff}}},
    275     {{{     0,      0,     22}, 0, {   320,    974}, {0x90, 0xfe, 0x3b, 0xff}}},
    276     {{{    61,      1,     66}, 0, {   -16,    226}, {0x1e, 0xff, 0x7b, 0xff}}},
    277     {{{    81,      1,     26}, 0, {   306,    -18}, {0x7c, 0x00, 0x1a, 0xff}}},
    278     {{{    81,      1,    -20}, 0, {   682,    -16}, {0x7c, 0x00, 0xe5, 0xff}}},
    279     {{{    46,    -14,      2}, 0, {   488,    412}, {0x07, 0x82, 0x00, 0xff}}},
    280 };
    281 
    282 // 0x06011C58 - 0x06011CF0
    283 const Gfx bub_seg6_dl_06011C58[] = {
    284     gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bub_seg6_texture_0600EAA8),
    285     gsDPLoadSync(),
    286     gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
    287     gsSPLight(&bub_seg6_lights_0600E280.l, 1),
    288     gsSPLight(&bub_seg6_lights_0600E280.a, 2),
    289     gsSPVertex(bub_seg6_vertex_06011BD8, 8, 0),
    290     gsSP2Triangles( 0,  1,  2, 0x0,  3,  0,  2, 0x0),
    291     gsSP2Triangles( 4,  5,  0, 0x0,  0,  5,  6, 0x0),
    292     gsSP2Triangles( 6,  1,  0, 0x0,  4,  0,  3, 0x0),
    293     gsSP2Triangles( 6,  5,  7, 0x0,  5,  4,  7, 0x0),
    294     gsSP2Triangles( 7,  1,  6, 0x0,  2,  7,  3, 0x0),
    295     gsSP2Triangles( 3,  7,  4, 0x0,  1,  7,  2, 0x0),
    296     gsSPEndDisplayList(),
    297 };
    298 
    299 // 0x06011CF0 - 0x06011D50
    300 const Gfx bub_seg6_dl_06011CF0[] = {
    301     gsDPPipeSync(),
    302     gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB),
    303     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),
    304     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
    305     gsDPTileSync(),
    306     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),
    307     gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
    308     gsSPDisplayList(bub_seg6_dl_06011C58),
    309     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
    310     gsDPPipeSync(),
    311     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    312     gsSPEndDisplayList(),
    313 };
    314 
    315 // 0x06011D50
    316 static const Vtx bub_seg6_vertex_06011D50[] = {
    317     {{{   113,     -7,      0}, 0, {   586,    220}, {0x4b, 0x9b, 0x0c, 0xff}}},
    318     {{{   113,     12,      0}, 0, {   584,    220}, {0x33, 0x73, 0xf7, 0xff}}},
    319     {{{    84,      7,     42}, 0, {   120,    132}, {0x37, 0x30, 0x67, 0xff}}},
    320     {{{    -9,      0,      0}, 0, {   182,    954}, {0xb1, 0x00, 0x63, 0xff}}},
    321     {{{    84,     -2,     42}, 0, {   120,    132}, {0x17, 0xbd, 0x69, 0xff}}},
    322     {{{    69,      1,    -51}, 0, {   900,    814}, {0x48, 0x00, 0x98, 0xff}}},
    323     {{{    18,      1,    -30}, 0, {   540,    978}, {0xbb, 0xfe, 0x96, 0xff}}},
    324 };
    325 
    326 // 0x06011DC0 - 0x06011E48
    327 const Gfx bub_seg6_dl_06011DC0[] = {
    328     gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bub_seg6_texture_0600EAA8),
    329     gsDPLoadSync(),
    330     gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
    331     gsSPLight(&bub_seg6_lights_0600E280.l, 1),
    332     gsSPLight(&bub_seg6_lights_0600E280.a, 2),
    333     gsSPVertex(bub_seg6_vertex_06011D50, 7, 0),
    334     gsSP2Triangles( 0,  1,  2, 0x0,  3,  4,  2, 0x0),
    335     gsSP2Triangles( 2,  4,  0, 0x0,  3,  2,  1, 0x0),
    336     gsSP2Triangles( 3,  0,  4, 0x0,  0,  5,  1, 0x0),
    337     gsSP2Triangles( 6,  5,  0, 0x0,  3,  6,  0, 0x0),
    338     gsSP2Triangles( 1,  5,  6, 0x0,  6,  3,  1, 0x0),
    339     gsSPEndDisplayList(),
    340 };
    341 
    342 // 0x06011E48 - 0x06011EA8
    343 const Gfx bub_seg6_dl_06011E48[] = {
    344     gsDPPipeSync(),
    345     gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB),
    346     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),
    347     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
    348     gsDPTileSync(),
    349     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),
    350     gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
    351     gsSPDisplayList(bub_seg6_dl_06011DC0),
    352     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
    353     gsDPPipeSync(),
    354     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    355     gsSPEndDisplayList(),
    356 };
    357 
    358 // 0x06011EA8
    359 static const Vtx bub_seg6_vertex_06011EA8[] = {
    360     {{{   127,      8,      0}, 0, {   454,    956}, {0x4a, 0x65, 0x0d, 0xff}}},
    361     {{{    31,      0,    -30}, 0, {   138,      4}, {0xbb, 0x01, 0x96, 0xff}}},
    362     {{{     3,      0,      0}, 0, {   518,    -40}, {0xb3, 0x00, 0x64, 0xff}}},
    363     {{{    82,      0,    -52}, 0, {  -152,    282}, {0x4a, 0x00, 0x99, 0xff}}},
    364     {{{   127,    -10,      0}, 0, {   454,    956}, {0x34, 0x8d, 0xf8, 0xff}}},
    365     {{{    97,      4,     41}, 0, {   974,    972}, {0x17, 0x43, 0x69, 0xff}}},
    366     {{{    97,     -5,     41}, 0, {   974,    972}, {0x36, 0xd1, 0x68, 0xff}}},
    367 };
    368 
    369 // 0x06011F18 - 0x06011FA0
    370 const Gfx bub_seg6_dl_06011F18[] = {
    371     gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bub_seg6_texture_0600EAA8),
    372     gsDPLoadSync(),
    373     gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
    374     gsSPLight(&bub_seg6_lights_0600E280.l, 1),
    375     gsSPLight(&bub_seg6_lights_0600E280.a, 2),
    376     gsSPVertex(bub_seg6_vertex_06011EA8, 7, 0),
    377     gsSP2Triangles( 0,  1,  2, 0x0,  0,  3,  1, 0x0),
    378     gsSP2Triangles( 4,  3,  0, 0x0,  0,  5,  6, 0x0),
    379     gsSP2Triangles( 5,  0,  2, 0x0,  6,  4,  0, 0x0),
    380     gsSP2Triangles( 6,  5,  2, 0x0,  4,  6,  2, 0x0),
    381     gsSP2Triangles( 4,  2,  1, 0x0,  1,  3,  4, 0x0),
    382     gsSPEndDisplayList(),
    383 };
    384 
    385 // 0x06011FA0 - 0x06012000
    386 const Gfx bub_seg6_dl_06011FA0[] = {
    387     gsDPPipeSync(),
    388     gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB),
    389     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),
    390     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
    391     gsDPTileSync(),
    392     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),
    393     gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
    394     gsSPDisplayList(bub_seg6_dl_06011F18),
    395     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
    396     gsDPPipeSync(),
    397     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    398     gsSPEndDisplayList(),
    399 };