sm64

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

model.inc.c (22782B)


      1 // Chuckya
      2 
      3 // Unreferenced light group
      4 UNUSED static const Lights1 chuckya_lights_unused1 = gdSPDefLights1(
      5     0x26, 0x00, 0x27,
      6     0x9a, 0x00, 0x9c, 0x28, 0x28, 0x28
      7 );
      8 
      9 // Unreferenced light group
     10 UNUSED static const Lights1 chuckya_lights_unused2 = gdSPDefLights1(
     11     0x3f, 0x3f, 0x3f,
     12     0xff, 0xff, 0xff, 0x28, 0x28, 0x28
     13 );
     14 
     15 // Unreferenced light group
     16 UNUSED static const Lights1 chuckya_lights_unused3 = gdSPDefLights1(
     17     0x3f, 0x00, 0x00,
     18     0xff, 0x00, 0x00, 0x28, 0x28, 0x28
     19 );
     20 
     21 // Unreferenced light group
     22 UNUSED static const Lights1 chuckya_lights_unused4 = gdSPDefLights1(
     23     0x0e, 0x0e, 0x0e,
     24     0x39, 0x39, 0x39, 0x28, 0x28, 0x28
     25 );
     26 
     27 // Unreferenced light group
     28 UNUSED static const Lights1 chuckya_lights_unused5 = gdSPDefLights1(
     29     0x39, 0x20, 0x00,
     30     0xe4, 0x83, 0x00, 0x28, 0x28, 0x28
     31 );
     32 
     33 // Unreferenced light group
     34 UNUSED static const Lights1 chuckya_lights_unused6 = gdSPDefLights1(
     35     0x3f, 0x27, 0x00,
     36     0xff, 0x9e, 0x00, 0x28, 0x28, 0x28
     37 );
     38 
     39 // Unreferenced light group
     40 UNUSED static const Lights1 chuckya_lights_unused7 = gdSPDefLights1(
     41     0x15, 0x14, 0x16,
     42     0x57, 0x53, 0x58, 0x28, 0x28, 0x28
     43 );
     44 
     45 // 0x08006778
     46 ALIGNED8 static const Texture chuckya_seg8_texture_08006778[] = {
     47 #include "actors/chuckya/chuckya_eyes.rgba16.inc.c"
     48 };
     49 
     50 // 0x08007778
     51 ALIGNED8 static const Texture chuckya_seg8_texture_08007778[] = {
     52 #include "actors/chuckya/chuckya_hand_antenna.rgba16.inc.c"
     53 };
     54 
     55 // 0x08007F78
     56 ALIGNED8 static const Texture chuckya_seg8_texture_08007F78[] = {
     57 #include "actors/chuckya/chuckya_body_arm_left_side.rgba16.inc.c"
     58 };
     59 
     60 // 0x08008F78
     61 ALIGNED8 static const Texture chuckya_seg8_texture_08008F78[] = {
     62 #include "actors/chuckya/chuckya_body_arm_right_side.rgba16.inc.c"
     63 };
     64 
     65 // 0x08009F78
     66 static const Vtx chuckya_seg8_vertex_08009F78[] = {
     67     {{{     0,     56,      0}, 0, {   990,      0}, {0xff, 0xff, 0xff, 0xff}}},
     68     {{{   -56,    -56,      0}, 0, {     0,   2012}, {0xff, 0xff, 0xff, 0xff}}},
     69     {{{     0,    -56,      0}, 0, {   990,   2012}, {0xff, 0xff, 0xff, 0xff}}},
     70     {{{   -56,     56,      0}, 0, {     0,      0}, {0xff, 0xff, 0xff, 0xff}}},
     71 };
     72 
     73 // 0x08009FB8
     74 static const Vtx chuckya_seg8_vertex_08009FB8[] = {
     75     {{{    56,     56,      0}, 0, {   990,      0}, {0xff, 0xff, 0xff, 0xff}}},
     76     {{{     0,    -56,      0}, 0, {     0,   2012}, {0xff, 0xff, 0xff, 0xff}}},
     77     {{{    56,    -56,      0}, 0, {   990,   2012}, {0xff, 0xff, 0xff, 0xff}}},
     78     {{{     0,     56,      0}, 0, {     0,      0}, {0xff, 0xff, 0xff, 0xff}}},
     79 };
     80 
     81 // 0x08009FF8 - 0x0800A030
     82 const Gfx chuckya_seg8_dl_08009FF8[] = {
     83     gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, chuckya_seg8_texture_08007F78),
     84     gsDPLoadSync(),
     85     gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
     86     gsSPVertex(chuckya_seg8_vertex_08009F78, 4, 0),
     87     gsSP2Triangles( 0,  1,  2, 0x0,  0,  3,  1, 0x0),
     88     gsSPEndDisplayList(),
     89 };
     90 
     91 // 0x0800A030 - 0x0800A068
     92 const Gfx chuckya_seg8_dl_0800A030[] = {
     93     gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, chuckya_seg8_texture_08008F78),
     94     gsDPLoadSync(),
     95     gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
     96     gsSPVertex(chuckya_seg8_vertex_08009FB8, 4, 0),
     97     gsSP2Triangles( 0,  1,  2, 0x0,  0,  3,  1, 0x0),
     98     gsSPEndDisplayList(),
     99 };
    100 
    101 // 0x0800A068 - 0x0800A0E0
    102 const Gfx chuckya_seg8_dl_0800A068[] = {
    103     gsDPPipeSync(),
    104     gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
    105     gsSPClearGeometryMode(G_LIGHTING),
    106     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),
    107     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
    108     gsDPTileSync(),
    109     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),
    110     gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (64 - 1) << G_TEXTURE_IMAGE_FRAC),
    111     gsSPDisplayList(chuckya_seg8_dl_08009FF8),
    112     gsSPDisplayList(chuckya_seg8_dl_0800A030),
    113     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
    114     gsDPPipeSync(),
    115     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    116     gsSPSetGeometryMode(G_LIGHTING),
    117     gsSPEndDisplayList(),
    118 };
    119 
    120 // 0x0800A0E0
    121 static const Vtx chuckya_seg8_vertex_0800A0E0[] = {
    122     {{{     0,     13,      0}, 0, {   990,      0}, {0xff, 0xff, 0xff, 0xff}}},
    123     {{{   -13,    -13,      0}, 0, {     0,   2012}, {0xff, 0xff, 0xff, 0xff}}},
    124     {{{     0,    -13,      0}, 0, {   990,   2012}, {0xff, 0xff, 0xff, 0xff}}},
    125     {{{   -13,     13,      0}, 0, {     0,      0}, {0xff, 0xff, 0xff, 0xff}}},
    126 };
    127 
    128 // 0x0800A120
    129 static const Vtx chuckya_seg8_vertex_0800A120[] = {
    130     {{{    13,     13,      0}, 0, {   990,      0}, {0xff, 0xff, 0xff, 0xff}}},
    131     {{{     0,    -13,      0}, 0, {     0,   2012}, {0xff, 0xff, 0xff, 0xff}}},
    132     {{{    13,    -13,      0}, 0, {   990,   2012}, {0xff, 0xff, 0xff, 0xff}}},
    133     {{{     0,     13,      0}, 0, {     0,      0}, {0xff, 0xff, 0xff, 0xff}}},
    134 };
    135 
    136 // 0x0800A160 - 0x0800A198
    137 const Gfx chuckya_seg8_dl_0800A160[] = {
    138     gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, chuckya_seg8_texture_08007F78),
    139     gsDPLoadSync(),
    140     gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
    141     gsSPVertex(chuckya_seg8_vertex_0800A0E0, 4, 0),
    142     gsSP2Triangles( 0,  1,  2, 0x0,  0,  3,  1, 0x0),
    143     gsSPEndDisplayList(),
    144 };
    145 
    146 // 0x0800A198 - 0x0800A1D0
    147 const Gfx chuckya_seg8_dl_0800A198[] = {
    148     gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, chuckya_seg8_texture_08008F78),
    149     gsDPLoadSync(),
    150     gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
    151     gsSPVertex(chuckya_seg8_vertex_0800A120, 4, 0),
    152     gsSP2Triangles( 0,  1,  2, 0x0,  0,  3,  1, 0x0),
    153     gsSPEndDisplayList(),
    154 };
    155 
    156 // 0x0800A1D0 - 0x0800A248
    157 const Gfx chuckya_seg8_dl_0800A1D0[] = {
    158     gsDPPipeSync(),
    159     gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
    160     gsSPClearGeometryMode(G_LIGHTING),
    161     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),
    162     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
    163     gsDPTileSync(),
    164     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),
    165     gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (64 - 1) << G_TEXTURE_IMAGE_FRAC),
    166     gsSPDisplayList(chuckya_seg8_dl_0800A160),
    167     gsSPDisplayList(chuckya_seg8_dl_0800A198),
    168     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
    169     gsDPPipeSync(),
    170     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    171     gsSPSetGeometryMode(G_LIGHTING),
    172     gsSPEndDisplayList(),
    173 };
    174 
    175 // 0x0800A248
    176 static const Vtx chuckya_seg8_vertex_0800A248[] = {
    177     {{{     0,     13,      0}, 0, {   990,      0}, {0xff, 0xff, 0xff, 0xff}}},
    178     {{{   -13,    -13,      0}, 0, {     0,   2012}, {0xff, 0xff, 0xff, 0xff}}},
    179     {{{     0,    -13,      0}, 0, {   990,   2012}, {0xff, 0xff, 0xff, 0xff}}},
    180     {{{   -13,     13,      0}, 0, {     0,      0}, {0xff, 0xff, 0xff, 0xff}}},
    181 };
    182 
    183 // 0x0800A288
    184 static const Vtx chuckya_seg8_vertex_0800A288[] = {
    185     {{{    13,     13,      0}, 0, {   990,      0}, {0xff, 0xff, 0xff, 0xff}}},
    186     {{{     0,    -13,      0}, 0, {     0,   2012}, {0xff, 0xff, 0xff, 0xff}}},
    187     {{{    13,    -13,      0}, 0, {   990,   2012}, {0xff, 0xff, 0xff, 0xff}}},
    188     {{{     0,     13,      0}, 0, {     0,      0}, {0xff, 0xff, 0xff, 0xff}}},
    189 };
    190 
    191 // 0x0800A2C8 - 0x0800A300
    192 const Gfx chuckya_seg8_dl_0800A2C8[] = {
    193     gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, chuckya_seg8_texture_08007F78),
    194     gsDPLoadSync(),
    195     gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
    196     gsSPVertex(chuckya_seg8_vertex_0800A248, 4, 0),
    197     gsSP2Triangles( 0,  1,  2, 0x0,  0,  3,  1, 0x0),
    198     gsSPEndDisplayList(),
    199 };
    200 
    201 // 0x0800A300 - 0x0800A338
    202 const Gfx chuckya_seg8_dl_0800A300[] = {
    203     gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, chuckya_seg8_texture_08008F78),
    204     gsDPLoadSync(),
    205     gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
    206     gsSPVertex(chuckya_seg8_vertex_0800A288, 4, 0),
    207     gsSP2Triangles( 0,  1,  2, 0x0,  0,  3,  1, 0x0),
    208     gsSPEndDisplayList(),
    209 };
    210 
    211 // 0x0800A338 - 0x0800A3B0
    212 const Gfx chuckya_seg8_dl_0800A338[] = {
    213     gsDPPipeSync(),
    214     gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
    215     gsSPClearGeometryMode(G_LIGHTING),
    216     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),
    217     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
    218     gsDPTileSync(),
    219     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),
    220     gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (64 - 1) << G_TEXTURE_IMAGE_FRAC),
    221     gsSPDisplayList(chuckya_seg8_dl_0800A2C8),
    222     gsSPDisplayList(chuckya_seg8_dl_0800A300),
    223     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
    224     gsDPPipeSync(),
    225     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    226     gsSPSetGeometryMode(G_LIGHTING),
    227     gsSPEndDisplayList(),
    228 };
    229 
    230 // 0x0800A3B0
    231 static const Vtx chuckya_seg8_vertex_0800A3B0[] = {
    232     {{{    23,     23,      0}, 0, {   990,      0}, {0xff, 0xff, 0xff, 0xff}}},
    233     {{{   -22,     23,      0}, 0, {     0,      0}, {0xff, 0xff, 0xff, 0xff}}},
    234     {{{   -22,    -22,      0}, 0, {     0,    990}, {0xff, 0xff, 0xff, 0xff}}},
    235     {{{    23,    -22,      0}, 0, {   990,    990}, {0xff, 0xff, 0xff, 0xff}}},
    236 };
    237 
    238 // 0x0800A3F0 - 0x0800A428
    239 const Gfx chuckya_seg8_dl_0800A3F0[] = {
    240     gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, chuckya_seg8_texture_08007778),
    241     gsDPLoadSync(),
    242     gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
    243     gsSPVertex(chuckya_seg8_vertex_0800A3B0, 4, 0),
    244     gsSP2Triangles( 0,  1,  2, 0x0,  0,  2,  3, 0x0),
    245     gsSPEndDisplayList(),
    246 };
    247 
    248 // 0x0800A428 - 0x0800A498
    249 const Gfx chuckya_seg8_dl_0800A428[] = {
    250     gsDPPipeSync(),
    251     gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
    252     gsSPClearGeometryMode(G_LIGHTING),
    253     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),
    254     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
    255     gsDPTileSync(),
    256     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),
    257     gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
    258     gsSPDisplayList(chuckya_seg8_dl_0800A3F0),
    259     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
    260     gsDPPipeSync(),
    261     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    262     gsSPSetGeometryMode(G_LIGHTING),
    263     gsSPEndDisplayList(),
    264 };
    265 
    266 // 0x0800A498
    267 static const Vtx chuckya_seg8_vertex_0800A498[] = {
    268     {{{    23,     23,      0}, 0, {   990,      0}, {0xff, 0xff, 0xff, 0xff}}},
    269     {{{   -22,     23,      0}, 0, {     0,      0}, {0xff, 0xff, 0xff, 0xff}}},
    270     {{{   -22,    -22,      0}, 0, {     0,    990}, {0xff, 0xff, 0xff, 0xff}}},
    271     {{{    23,    -22,      0}, 0, {   990,    990}, {0xff, 0xff, 0xff, 0xff}}},
    272 };
    273 
    274 // 0x0800A4D8 - 0x0800A510
    275 const Gfx chuckya_seg8_dl_0800A4D8[] = {
    276     gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, chuckya_seg8_texture_08007778),
    277     gsDPLoadSync(),
    278     gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
    279     gsSPVertex(chuckya_seg8_vertex_0800A498, 4, 0),
    280     gsSP2Triangles( 0,  1,  2, 0x0,  0,  2,  3, 0x0),
    281     gsSPEndDisplayList(),
    282 };
    283 
    284 // 0x0800A510 - 0x0800A580
    285 const Gfx chuckya_seg8_dl_0800A510[] = {
    286     gsDPPipeSync(),
    287     gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
    288     gsSPClearGeometryMode(G_LIGHTING),
    289     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),
    290     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
    291     gsDPTileSync(),
    292     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),
    293     gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
    294     gsSPDisplayList(chuckya_seg8_dl_0800A4D8),
    295     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
    296     gsDPPipeSync(),
    297     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    298     gsSPSetGeometryMode(G_LIGHTING),
    299     gsSPEndDisplayList(),
    300 };
    301 
    302 // 0x0800A580
    303 static const Vtx chuckya_seg8_vertex_0800A580[] = {
    304     {{{    25,     25,      0}, 0, {   990,      0}, {0xff, 0xff, 0xff, 0xff}}},
    305     {{{   -25,     25,      0}, 0, {     0,      0}, {0xff, 0xff, 0xff, 0xff}}},
    306     {{{   -25,    -25,      0}, 0, {     0,    990}, {0xff, 0xff, 0xff, 0xff}}},
    307     {{{    25,    -25,      0}, 0, {   990,    990}, {0xff, 0xff, 0xff, 0xff}}},
    308 };
    309 
    310 // 0x0800A5C0 - 0x0800A5F8
    311 const Gfx chuckya_seg8_dl_0800A5C0[] = {
    312     gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, chuckya_seg8_texture_08007778),
    313     gsDPLoadSync(),
    314     gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
    315     gsSPVertex(chuckya_seg8_vertex_0800A580, 4, 0),
    316     gsSP2Triangles( 0,  1,  2, 0x0,  0,  2,  3, 0x0),
    317     gsSPEndDisplayList(),
    318 };
    319 
    320 // 0x0800A5F8 - 0x0800A668
    321 const Gfx chuckya_seg8_dl_0800A5F8[] = {
    322     gsDPPipeSync(),
    323     gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
    324     gsSPClearGeometryMode(G_LIGHTING),
    325     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),
    326     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
    327     gsDPTileSync(),
    328     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),
    329     gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
    330     gsSPDisplayList(chuckya_seg8_dl_0800A5C0),
    331     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
    332     gsDPPipeSync(),
    333     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    334     gsSPSetGeometryMode(G_LIGHTING),
    335     gsSPEndDisplayList(),
    336 };
    337 
    338 // 0x0800A668
    339 static const Lights1 chuckya_seg8_lights_0800A668 = gdSPDefLights1(
    340     0x66, 0x66, 0x66,
    341     0xff, 0xff, 0xff, 0x28, 0x28, 0x28
    342 );
    343 
    344 // 0x0800A680
    345 static const Vtx chuckya_seg8_vertex_0800A680[] = {
    346     {{{    33,    237,      0}, 0, {   480,   1016}, {0x40, 0x65, 0x28, 0xff}}},
    347     {{{    27,    198,    107}, 0, {  1012,    932}, {0x40, 0x65, 0x28, 0xff}}},
    348     {{{   196,    134,      0}, 0, {   480,    -66}, {0x40, 0x65, 0x28, 0xff}}},
    349     {{{   163,    112,    107}, 0, {  1012,     22}, {0x40, 0x65, 0x28, 0xff}}},
    350     {{{   196,    134,      0}, 0, {   480,    -66}, {0x40, 0x65, 0xd7, 0xff}}},
    351     {{{    27,    198,   -106}, 0, {   -52,    928}, {0x40, 0x65, 0xd7, 0xff}}},
    352     {{{    33,    237,      0}, 0, {   480,   1016}, {0x40, 0x65, 0xd7, 0xff}}},
    353     {{{   163,    112,   -106}, 0, {   -52,     20}, {0x40, 0x65, 0xd7, 0xff}}},
    354 };
    355 
    356 // 0x0800A700 - 0x0800A758
    357 const Gfx chuckya_seg8_dl_0800A700[] = {
    358     gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, chuckya_seg8_texture_08006778),
    359     gsDPLoadSync(),
    360     gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
    361     gsSPLight(&chuckya_seg8_lights_0800A668.l, 1),
    362     gsSPLight(&chuckya_seg8_lights_0800A668.a, 2),
    363     gsSPVertex(chuckya_seg8_vertex_0800A680, 8, 0),
    364     gsSP2Triangles( 0,  1,  2, 0x0,  1,  3,  2, 0x0),
    365     gsSP2Triangles( 4,  5,  6, 0x0,  4,  7,  5, 0x0),
    366     gsSPEndDisplayList(),
    367 };
    368 
    369 // 0x0800A758 - 0x0800A7C8
    370 const Gfx chuckya_seg8_dl_0800A758[] = {
    371     gsDPPipeSync(),
    372     gsDPSetCombineMode(G_CC_MODULATERGBA, G_CC_MODULATERGBA),
    373     gsSPClearGeometryMode(G_SHADING_SMOOTH),
    374     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),
    375     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
    376     gsDPTileSync(),
    377     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),
    378     gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
    379     gsSPDisplayList(chuckya_seg8_dl_0800A700),
    380     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
    381     gsDPPipeSync(),
    382     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    383     gsSPSetGeometryMode(G_SHADING_SMOOTH),
    384     gsSPEndDisplayList(),
    385 };
    386 
    387 // 0x0800A7C8
    388 static const Lights1 chuckya_seg8_lights_0800A7C8 = gdSPDefLights1(
    389     0x29, 0x29, 0x29,
    390     0x89, 0x89, 0x8a, 0x28, 0x28, 0x28
    391 );
    392 
    393 // 0x0800A7E0
    394 static const Vtx chuckya_seg8_vertex_0800A7E0[] = {
    395     {{{    87,     41,    -41}, 0, {     0,      0}, {0xb8, 0x49, 0xb7, 0xff}}},
    396     {{{    87,      0,    -58}, 0, {     0,      0}, {0xb8, 0x00, 0x98, 0xff}}},
    397     {{{     3,     -1,      0}, 0, {     0,      0}, {0x82, 0x00, 0x00, 0xff}}},
    398     {{{    87,     58,      0}, 0, {     0,      0}, {0xb8, 0x67, 0x00, 0xff}}},
    399     {{{    87,    -42,    -41}, 0, {     0,      0}, {0xb8, 0xb6, 0xb7, 0xff}}},
    400     {{{    87,    -42,     42}, 0, {     0,      0}, {0xb8, 0xb6, 0x49, 0xff}}},
    401     {{{    87,      0,     59}, 0, {     0,      0}, {0xb8, 0x00, 0x67, 0xff}}},
    402     {{{    87,     41,     42}, 0, {     0,      0}, {0xb7, 0x49, 0x48, 0xff}}},
    403     {{{    88,    -59,      0}, 0, {     0,      0}, {0xb9, 0x98, 0x00, 0xff}}},
    404 };
    405 
    406 // 0x0800A870 - 0x0800A8D0
    407 const Gfx chuckya_seg8_dl_0800A870[] = {
    408     gsSPLight(&chuckya_seg8_lights_0800A7C8.l, 1),
    409     gsSPLight(&chuckya_seg8_lights_0800A7C8.a, 2),
    410     gsSPVertex(chuckya_seg8_vertex_0800A7E0, 9, 0),
    411     gsSP2Triangles( 0,  1,  2, 0x0,  3,  0,  2, 0x0),
    412     gsSP2Triangles( 1,  4,  2, 0x0,  5,  6,  2, 0x0),
    413     gsSP2Triangles( 6,  7,  2, 0x0,  8,  5,  2, 0x0),
    414     gsSP2Triangles( 7,  3,  2, 0x0,  4,  8,  2, 0x0),
    415     gsSPEndDisplayList(),
    416 };
    417 
    418 // 0x0800A8D0 - 0x0800A8F0
    419 const Gfx chuckya_seg8_dl_0800A8D0[] = {
    420     gsDPPipeSync(),
    421     gsSPDisplayList(chuckya_seg8_dl_0800A870),
    422     gsDPPipeSync(),
    423     gsSPEndDisplayList(),
    424 };
    425 
    426 // 0x0800A8F0
    427 static const Lights1 chuckya_seg8_lights_0800A8F0 = gdSPDefLights1(
    428     0x4c, 0x4c, 0x00,
    429     0xff, 0xff, 0x00, 0x28, 0x28, 0x28
    430 );
    431 
    432 // 0x0800A908
    433 static const Vtx chuckya_seg8_vertex_0800A908[] = {
    434     {{{    -9,      2,      0}, 0, {     0,      0}, {0x82, 0xfd, 0x00, 0xff}}},
    435     {{{    79,     26,      0}, 0, {     0,      0}, {0xdf, 0x7a, 0x00, 0xff}}},
    436     {{{    79,      1,    -33}, 0, {     0,      0}, {0xd4, 0xff, 0x8a, 0xff}}},
    437     {{{    80,    -23,      0}, 0, {     0,      0}, {0xde, 0x86, 0x00, 0xff}}},
    438     {{{    79,      1,     33}, 0, {     0,      0}, {0xd4, 0xff, 0x76, 0xff}}},
    439 };
    440 
    441 // 0x0800A958 - 0x0800A998
    442 const Gfx chuckya_seg8_dl_0800A958[] = {
    443     gsSPLight(&chuckya_seg8_lights_0800A8F0.l, 1),
    444     gsSPLight(&chuckya_seg8_lights_0800A8F0.a, 2),
    445     gsSPVertex(chuckya_seg8_vertex_0800A908, 5, 0),
    446     gsSP2Triangles( 0,  1,  2, 0x0,  0,  3,  4, 0x0),
    447     gsSP2Triangles( 0,  2,  3, 0x0,  0,  4,  1, 0x0),
    448     gsSPEndDisplayList(),
    449 };
    450 
    451 // 0x0800A998 - 0x0800A9B8
    452 const Gfx chuckya_seg8_dl_0800A998[] = {
    453     gsDPPipeSync(),
    454     gsSPDisplayList(chuckya_seg8_dl_0800A958),
    455     gsDPPipeSync(),
    456     gsSPEndDisplayList(),
    457 };
    458 
    459 // 0x0800A9B8
    460 static const Lights1 chuckya_seg8_lights_0800A9B8 = gdSPDefLights1(
    461     0x0c, 0x0c, 0x0c,
    462     0x32, 0x32, 0x32, 0x28, 0x28, 0x28
    463 );
    464 
    465 // 0x0800A9D0
    466 static const Vtx chuckya_seg8_vertex_0800A9D0[] = {
    467     {{{   -99,   -129,    130}, 0, {     0,      0}, {0x24, 0xa9, 0x54, 0xff}}},
    468     {{{  -135,   -173,    100}, 0, {     0,      0}, {0x24, 0xa9, 0x54, 0xff}}},
    469     {{{   -55,   -236,      0}, 0, {     0,      0}, {0x24, 0xa9, 0x54, 0xff}}},
    470     {{{  -135,   -173,    100}, 0, {     0,      0}, {0xa3, 0x11, 0x54, 0xff}}},
    471     {{{  -202,    -49,      0}, 0, {     0,      0}, {0xa3, 0x11, 0x54, 0xff}}},
    472     {{{  -213,   -113,      1}, 0, {     0,      0}, {0xa3, 0x11, 0x54, 0xff}}},
    473     {{{  -135,   -173,    100}, 0, {     0,      0}, {0xa4, 0x12, 0x54, 0xff}}},
    474     {{{   -99,   -129,    130}, 0, {     0,      0}, {0xa4, 0x12, 0x54, 0xff}}},
    475     {{{  -202,    -49,      0}, 0, {     0,      0}, {0xa4, 0x12, 0x54, 0xff}}},
    476     {{{  -135,   -173,    100}, 0, {     0,      0}, {0xb2, 0x9d, 0x00, 0xff}}},
    477     {{{  -132,   -175,   -100}, 0, {     0,      0}, {0xb2, 0x9d, 0x00, 0xff}}},
    478     {{{   -55,   -236,      0}, 0, {     0,      0}, {0xb2, 0x9d, 0x00, 0xff}}},
    479     {{{  -135,   -173,    100}, 0, {     0,      0}, {0xb3, 0x9c, 0x00, 0xff}}},
    480     {{{  -213,   -113,      1}, 0, {     0,      0}, {0xb3, 0x9c, 0x00, 0xff}}},
    481     {{{  -132,   -175,   -100}, 0, {     0,      0}, {0xb3, 0x9c, 0x00, 0xff}}},
    482 };
    483 
    484 // 0x0800AAC0
    485 static const Vtx chuckya_seg8_vertex_0800AAC0[] = {
    486     {{{  -213,   -113,      1}, 0, {     0,      0}, {0xa3, 0x0e, 0xac, 0xff}}},
    487     {{{  -202,    -49,      0}, 0, {     0,      0}, {0xa3, 0x0e, 0xac, 0xff}}},
    488     {{{   -98,   -130,   -130}, 0, {     0,      0}, {0xa3, 0x0e, 0xac, 0xff}}},
    489     {{{  -132,   -175,   -100}, 0, {     0,      0}, {0xa3, 0x0e, 0xac, 0xff}}},
    490     {{{   -99,   -129,    130}, 0, {     0,      0}, {0x25, 0xa9, 0x54, 0xff}}},
    491     {{{   -55,   -236,      0}, 0, {     0,      0}, {0x25, 0xa9, 0x54, 0xff}}},
    492     {{{     3,   -210,      1}, 0, {     0,      0}, {0x25, 0xa9, 0x54, 0xff}}},
    493     {{{  -132,   -175,   -100}, 0, {     0,      0}, {0x28, 0xaa, 0xad, 0xff}}},
    494     {{{     3,   -210,      1}, 0, {     0,      0}, {0x28, 0xaa, 0xad, 0xff}}},
    495     {{{   -55,   -236,      0}, 0, {     0,      0}, {0x28, 0xaa, 0xad, 0xff}}},
    496     {{{   -98,   -130,   -130}, 0, {     0,      0}, {0x28, 0xaa, 0xad, 0xff}}},
    497 };
    498 
    499 // 0x0800AB70 - 0x0800ABE8
    500 const Gfx chuckya_seg8_dl_0800AB70[] = {
    501     gsSPLight(&chuckya_seg8_lights_0800A9B8.l, 1),
    502     gsSPLight(&chuckya_seg8_lights_0800A9B8.a, 2),
    503     gsSPVertex(chuckya_seg8_vertex_0800A9D0, 15, 0),
    504     gsSP2Triangles( 0,  1,  2, 0x0,  3,  4,  5, 0x0),
    505     gsSP2Triangles( 6,  7,  8, 0x0,  9, 10, 11, 0x0),
    506     gsSP1Triangle(12, 13, 14, 0x0),
    507     gsSPVertex(chuckya_seg8_vertex_0800AAC0, 11, 0),
    508     gsSP2Triangles( 0,  1,  2, 0x0,  0,  2,  3, 0x0),
    509     gsSP2Triangles( 4,  5,  6, 0x0,  7,  8,  9, 0x0),
    510     gsSP1Triangle( 7, 10,  8, 0x0),
    511     gsSPEndDisplayList(),
    512 };
    513 
    514 // 0x0800ABE8 - 0x0800AC18
    515 const Gfx chuckya_seg8_dl_0800ABE8[] = {
    516     gsDPPipeSync(),
    517     gsSPClearGeometryMode(G_SHADING_SMOOTH),
    518     gsSPDisplayList(chuckya_seg8_dl_0800AB70),
    519     gsDPPipeSync(),
    520     gsSPSetGeometryMode(G_SHADING_SMOOTH),
    521     gsSPEndDisplayList(),
    522 };