sm64

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

model.inc.c (39787B)


      1 // Possible Removed Actor File
      2 
      3 // Bin ID? What is this?
      4 UNUSED static const u64 klepto_unused_1 = 0;
      5 
      6 // Klepto
      7 
      8 // 0x05000008
      9 ALIGNED8 static const Texture klepto_seg5_texture_05000008[] = {
     10 #include "actors/klepto/klepto_chest_tuft.rgba16.inc.c"
     11 };
     12 
     13 // 0x05000808
     14 ALIGNED8 static const Texture klepto_seg5_texture_05000808[] = {
     15 #include "actors/klepto/klepto_eye.rgba16.inc.c"
     16 };
     17 
     18 // 0x05001008
     19 ALIGNED8 static const Texture klepto_seg5_texture_05001008[] = {
     20 #include "actors/klepto/klepto_beak.rgba16.inc.c"
     21 };
     22 
     23 // 0x05002008
     24 ALIGNED8 static const Texture klepto_seg5_texture_05002008[] = {
     25 #include "actors/klepto/klepto_wing.rgba16.inc.c"
     26 };
     27 
     28 // 0x05003008
     29 ALIGNED8 static const Texture klepto_seg5_texture_05003008[] = {
     30 #include "actors/klepto/klepto_wing_flap.rgba16.inc.c"
     31 };
     32 
     33 // 0x05003808
     34 static const Lights1 klepto_seg5_lights_05003808 = gdSPDefLights1(
     35     0x3f, 0x3f, 0x3f,
     36     0xff, 0xff, 0xff, 0x28, 0x28, 0x28
     37 );
     38 
     39 // 0x05003820
     40 static const Lights1 klepto_seg5_lights_05003820 = gdSPDefLights1(
     41     0x3f, 0x1d, 0x08,
     42     0xff, 0x75, 0x21, 0x28, 0x28, 0x28
     43 );
     44 
     45 // 0x05003838
     46 static const Vtx klepto_seg5_vertex_05003838[] = {
     47     {{{    14,    -62,     52}, 0, {  1058,   -314}, {0x0e, 0xc0, 0x6c, 0xff}}},
     48     {{{    65,    -69,      0}, 0, {    80,   -454}, {0x56, 0xa3, 0x00, 0xff}}},
     49     {{{    76,    -43,      0}, 0, {   -36,    532}, {0x5b, 0xa9, 0x00, 0xff}}},
     50     {{{    26,     -6,     56}, 0, {   942,   1784}, {0x0e, 0x06, 0x7e, 0xff}}},
     51     {{{    14,    -62,    -51}, 0, {  1058,   -314}, {0x0e, 0xc0, 0x94, 0xff}}},
     52     {{{    26,     -6,    -55}, 0, {   942,   1784}, {0x0e, 0x06, 0x82, 0xff}}},
     53 };
     54 
     55 // 0x05003898
     56 static const Vtx klepto_seg5_vertex_05003898[] = {
     57     {{{   134,     -7,     32}, 0, {   496,   1112}, {0x1b, 0x59, 0x55, 0xff}}},
     58     {{{   134,     -7,    -31}, 0, {   224,   1048}, {0x1a, 0x59, 0xab, 0xff}}},
     59     {{{     0,     16,      0}, 0, {   454,   -308}, {0xf5, 0x7e, 0x00, 0xff}}},
     60     {{{     0,     16,      0}, 0, {   480,   -328}, {0xf5, 0x7e, 0x00, 0xff}}},
     61     {{{   134,     -7,    -31}, 0, {   684,   1248}, {0x1a, 0x59, 0xab, 0xff}}},
     62     {{{    26,     -6,    -55}, 0, {   836,    324}, {0x0e, 0x06, 0x82, 0xff}}},
     63     {{{    26,     -6,     56}, 0, {   836,    324}, {0x0e, 0x06, 0x7e, 0xff}}},
     64     {{{   134,     -7,     32}, 0, {   684,   1248}, {0x1b, 0x59, 0x55, 0xff}}},
     65     {{{   183,     18,      0}, 0, {   -34,   1968}, {0x72, 0x35, 0xff, 0xff}}},
     66     {{{   134,     -7,     32}, 0, {   550,   1664}, {0x1b, 0x59, 0x55, 0xff}}},
     67     {{{   158,    -40,      0}, 0, {   -34,   1564}, {0x36, 0x8e, 0x00, 0xff}}},
     68     {{{    26,     -6,     56}, 0, {   982,    280}, {0x0e, 0x06, 0x7e, 0xff}}},
     69     {{{    76,    -43,      0}, 0, {   -34,    256}, {0x5b, 0xa9, 0x00, 0xff}}},
     70     {{{    26,     -6,    -55}, 0, {   982,    280}, {0x0e, 0x06, 0x82, 0xff}}},
     71     {{{   134,     -7,    -31}, 0, {   550,   1664}, {0x1a, 0x59, 0xab, 0xff}}},
     72 };
     73 
     74 // 0x05003988
     75 static const Vtx klepto_seg5_vertex_05003988[] = {
     76     {{{   134,     -7,    -31}, 0, {   558,   1256}, {0x1a, 0x59, 0xab, 0xff}}},
     77     {{{   134,     -7,     32}, 0, {   318,   1032}, {0x1b, 0x59, 0x55, 0xff}}},
     78     {{{   183,     18,      0}, 0, {   326,   1572}, {0x72, 0x35, 0xff, 0xff}}},
     79 };
     80 
     81 // 0x050039B8
     82 static const Vtx klepto_seg5_vertex_050039B8[] = {
     83     {{{    14,    -62,    -51}, 0, {     0,      0}, {0x0e, 0xc0, 0x94, 0xff}}},
     84     {{{    65,    -69,      0}, 0, {     0,      0}, {0x56, 0xa3, 0x00, 0xff}}},
     85     {{{    21,    -88,      0}, 0, {     0,      0}, {0xf8, 0x82, 0x00, 0xff}}},
     86     {{{    14,    -62,     52}, 0, {     0,      0}, {0x0e, 0xc0, 0x6c, 0xff}}},
     87     {{{   -42,     -8,     32}, 0, {     0,      0}, {0xa8, 0x2f, 0x4d, 0xff}}},
     88     {{{   -32,    -61,     23}, 0, {     0,      0}, {0x9f, 0xb8, 0x25, 0xff}}},
     89     {{{    26,     -6,     56}, 0, {     0,      0}, {0x0e, 0x06, 0x7e, 0xff}}},
     90     {{{   -32,    -61,    -22}, 0, {     0,      0}, {0xac, 0xae, 0xd2, 0xff}}},
     91     {{{   -42,     -8,    -31}, 0, {     0,      0}, {0x99, 0x21, 0xbf, 0xff}}},
     92     {{{    26,     -6,    -55}, 0, {     0,      0}, {0x0e, 0x06, 0x82, 0xff}}},
     93     {{{     0,     16,      0}, 0, {     0,      0}, {0xf5, 0x7e, 0x00, 0xff}}},
     94 };
     95 
     96 // 0x05003A68 - 0x05003AC0
     97 const Gfx klepto_seg5_dl_05003A68[] = {
     98     gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, klepto_seg5_texture_05000808),
     99     gsDPLoadSync(),
    100     gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
    101     gsSPLight(&klepto_seg5_lights_05003808.l, 1),
    102     gsSPLight(&klepto_seg5_lights_05003808.a, 2),
    103     gsSPVertex(klepto_seg5_vertex_05003838, 6, 0),
    104     gsSP2Triangles( 0,  1,  2, 0x0,  2,  3,  0, 0x0),
    105     gsSP2Triangles( 2,  1,  4, 0x0,  4,  5,  2, 0x0),
    106     gsSPEndDisplayList(),
    107 };
    108 
    109 // 0x05003AC0 - 0x05003B40
    110 const Gfx klepto_seg5_dl_05003AC0[] = {
    111     gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, klepto_seg5_texture_05001008),
    112     gsDPLoadSync(),
    113     gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
    114     gsSPVertex(klepto_seg5_vertex_05003898, 15, 0),
    115     gsSP2Triangles( 0,  1,  2, 0x0,  3,  4,  5, 0x0),
    116     gsSP2Triangles( 6,  7,  3, 0x0,  8,  9, 10, 0x0),
    117     gsSP2Triangles(10,  9, 11, 0x0, 11, 12, 10, 0x0),
    118     gsSP2Triangles(13, 14, 10, 0x0, 10, 12, 13, 0x0),
    119     gsSP1Triangle(10, 14,  8, 0x0),
    120     gsSPVertex(klepto_seg5_vertex_05003988, 3, 0),
    121     gsSP1Triangle( 0,  1,  2, 0x0),
    122     gsSPEndDisplayList(),
    123 };
    124 
    125 // 0x05003B40 - 0x05003BD0
    126 const Gfx klepto_seg5_dl_05003B40[] = {
    127     gsSPLight(&klepto_seg5_lights_05003820.l, 1),
    128     gsSPLight(&klepto_seg5_lights_05003820.a, 2),
    129     gsSPVertex(klepto_seg5_vertex_050039B8, 11, 0),
    130     gsSP2Triangles( 0,  1,  2, 0x0,  1,  3,  2, 0x0),
    131     gsSP2Triangles( 4,  5,  3, 0x0,  3,  6,  4, 0x0),
    132     gsSP2Triangles( 3,  5,  2, 0x0,  2,  5,  7, 0x0),
    133     gsSP2Triangles( 7,  0,  2, 0x0,  0,  7,  8, 0x0),
    134     gsSP2Triangles( 8,  9,  0, 0x0,  8,  7,  5, 0x0),
    135     gsSP2Triangles(10,  8,  4, 0x0,  4,  8,  5, 0x0),
    136     gsSP2Triangles(10,  9,  8, 0x0, 10,  4,  6, 0x0),
    137     gsSPEndDisplayList(),
    138 };
    139 
    140 // 0x05003BD0 - 0x05003C58
    141 const Gfx klepto_seg5_dl_05003BD0[] = {
    142     gsDPPipeSync(),
    143     gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB),
    144     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),
    145     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
    146     gsDPTileSync(),
    147     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),
    148     gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
    149     gsSPDisplayList(klepto_seg5_dl_05003A68),
    150     gsDPTileSync(),
    151     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),
    152     gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (64 - 1) << G_TEXTURE_IMAGE_FRAC),
    153     gsSPDisplayList(klepto_seg5_dl_05003AC0),
    154     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
    155     gsDPPipeSync(),
    156     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    157     gsSPDisplayList(klepto_seg5_dl_05003B40),
    158     gsSPEndDisplayList(),
    159 };
    160 
    161 // 0x05003C58
    162 static const Lights1 klepto_seg5_lights_05003C58 = gdSPDefLights1(
    163     0x3f, 0x1d, 0x08,
    164     0xff, 0x75, 0x21, 0x28, 0x28, 0x28
    165 );
    166 
    167 // 0x05003C70
    168 static const Vtx klepto_seg5_vertex_05003C70[] = {
    169     {{{    65,    -11,    -11}, 0, {     0,      0}, {0x0d, 0xa7, 0xa7, 0xff}}},
    170     {{{    65,    -11,     12}, 0, {     0,      0}, {0x0c, 0xa6, 0x58, 0xff}}},
    171     {{{     6,    -19,      0}, 0, {     0,      0}, {0xd5, 0x89, 0xff, 0xff}}},
    172     {{{     6,      1,    -20}, 0, {     0,      0}, {0xd5, 0x00, 0x89, 0xff}}},
    173     {{{   -10,      1,      0}, 0, {     0,      0}, {0x82, 0x00, 0xff, 0xff}}},
    174     {{{     6,      1,     21}, 0, {     0,      0}, {0xd4, 0x00, 0x76, 0xff}}},
    175     {{{    65,     13,    -11}, 0, {     0,      0}, {0x0d, 0x59, 0xa7, 0xff}}},
    176     {{{     6,     21,      0}, 0, {     0,      0}, {0xd5, 0x77, 0xff, 0xff}}},
    177     {{{    65,     13,     12}, 0, {     0,      0}, {0x0c, 0x5a, 0x58, 0xff}}},
    178 };
    179 
    180 // 0x05003D00 - 0x05003D80
    181 const Gfx klepto_seg5_dl_05003D00[] = {
    182     gsSPLight(&klepto_seg5_lights_05003C58.l, 1),
    183     gsSPLight(&klepto_seg5_lights_05003C58.a, 2),
    184     gsSPVertex(klepto_seg5_vertex_05003C70, 9, 0),
    185     gsSP2Triangles( 0,  1,  2, 0x0,  2,  3,  0, 0x0),
    186     gsSP2Triangles( 4,  2,  5, 0x0,  2,  4,  3, 0x0),
    187     gsSP2Triangles( 5,  2,  1, 0x0,  6,  0,  3, 0x0),
    188     gsSP2Triangles( 3,  7,  6, 0x0,  4,  7,  3, 0x0),
    189     gsSP2Triangles( 7,  4,  5, 0x0,  1,  8,  5, 0x0),
    190     gsSP2Triangles( 7,  5,  8, 0x0,  8,  6,  7, 0x0),
    191     gsSPEndDisplayList(),
    192 };
    193 
    194 // 0x05003D80 - 0x05003DB0
    195 const Gfx klepto_seg5_dl_05003D80[] = {
    196     gsDPPipeSync(),
    197     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    198     gsDPPipeSync(),
    199     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    200     gsSPDisplayList(klepto_seg5_dl_05003D00),
    201     gsSPEndDisplayList(),
    202 };
    203 
    204 // 0x05003DB0
    205 static const Lights1 klepto_seg5_lights_05003DB0 = gdSPDefLights1(
    206     0x3f, 0x3f, 0x3f,
    207     0xff, 0xff, 0xff, 0x28, 0x28, 0x28
    208 );
    209 
    210 // 0x05003DC8
    211 static const Vtx klepto_seg5_vertex_05003DC8[] = {
    212     {{{   -10,      0,      0}, 0, {   478,    974}, {0x82, 0xf2, 0x00, 0xff}}},
    213     {{{    10,     24,    -20}, 0, {   186,    654}, {0xc1, 0x4b, 0xb1, 0xff}}},
    214     {{{    17,    -23,    -20}, 0, {   186,    650}, {0xc2, 0xb5, 0xb0, 0xff}}},
    215     {{{    44,    -40,      0}, 0, {   480,    314}, {0x29, 0x89, 0x00, 0xff}}},
    216     {{{    17,    -23,     21}, 0, {   772,    650}, {0xc2, 0xb4, 0x4f, 0xff}}},
    217     {{{    51,      7,    -33}, 0, {   -10,    134}, {0x32, 0x00, 0x8c, 0xff}}},
    218     {{{    51,     35,      0}, 0, {   478,     84}, {0x39, 0x71, 0x00, 0xff}}},
    219     {{{    72,     -9,      0}, 0, {   480,   -110}, {0x7e, 0xf6, 0x00, 0xff}}},
    220     {{{    51,      7,     34}, 0, {   968,    134}, {0x33, 0x00, 0x74, 0xff}}},
    221     {{{    10,     24,     21}, 0, {   772,    654}, {0xc0, 0x4b, 0x4e, 0xff}}},
    222 };
    223 
    224 // 0x05003E68 - 0x05003F20
    225 const Gfx klepto_seg5_dl_05003E68[] = {
    226     gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, klepto_seg5_texture_05000008),
    227     gsDPLoadSync(),
    228     gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
    229     gsSPLight(&klepto_seg5_lights_05003DB0.l, 1),
    230     gsSPLight(&klepto_seg5_lights_05003DB0.a, 2),
    231     gsSPVertex(klepto_seg5_vertex_05003DC8, 10, 0),
    232     gsSP2Triangles( 0,  1,  2, 0x0,  3,  4,  2, 0x0),
    233     gsSP2Triangles( 5,  2,  1, 0x0,  2,  5,  3, 0x0),
    234     gsSP2Triangles( 4,  0,  2, 0x0,  6,  7,  5, 0x0),
    235     gsSP2Triangles( 1,  6,  5, 0x0,  7,  3,  5, 0x0),
    236     gsSP2Triangles( 4,  3,  8, 0x0,  3,  7,  8, 0x0),
    237     gsSP2Triangles( 1,  0,  9, 0x0,  6,  1,  9, 0x0),
    238     gsSP2Triangles( 9,  8,  6, 0x0,  7,  6,  8, 0x0),
    239     gsSP2Triangles( 8,  9,  4, 0x0,  0,  4,  9, 0x0),
    240     gsSPEndDisplayList(),
    241 };
    242 
    243 // 0x05003F20 - 0x05003F80
    244 const Gfx klepto_seg5_dl_05003F20[] = {
    245     gsDPPipeSync(),
    246     gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB),
    247     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),
    248     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
    249     gsDPTileSync(),
    250     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),
    251     gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
    252     gsSPDisplayList(klepto_seg5_dl_05003E68),
    253     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
    254     gsDPPipeSync(),
    255     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    256     gsSPEndDisplayList(),
    257 };
    258 
    259 // 0x05003F80
    260 static const Lights1 klepto_seg5_lights_05003F80 = gdSPDefLights1(
    261     0x07, 0x01, 0x01,
    262     0x1e, 0x05, 0x04, 0x28, 0x28, 0x28
    263 );
    264 
    265 // 0x05003F98
    266 static const Vtx klepto_seg5_vertex_05003F98[] = {
    267     {{{    54,     19,    -37}, 0, {     0,      0}, {0x38, 0x13, 0x91, 0xff}}},
    268     {{{    86,     16,      0}, 0, {     0,      0}, {0x78, 0x27, 0xfc, 0xff}}},
    269     {{{    76,    -14,      0}, 0, {     0,      0}, {0x67, 0xb7, 0xfd, 0xff}}},
    270     {{{    54,     19,     43}, 0, {     0,      0}, {0x38, 0x12, 0x70, 0xff}}},
    271     {{{    42,    -26,     26}, 0, {     0,      0}, {0x05, 0x9e, 0x50, 0xff}}},
    272     {{{    42,    -26,    -25}, 0, {     0,      0}, {0x0a, 0xa2, 0xad, 0xff}}},
    273     {{{    19,     17,    -33}, 0, {     0,      0}, {0xdc, 0x1a, 0x8a, 0xff}}},
    274     {{{   -34,    -10,      0}, 0, {     0,      0}, {0x8b, 0xcf, 0x00, 0xff}}},
    275     {{{    47,     50,      0}, 0, {     0,      0}, {0x04, 0x7e, 0xfe, 0xff}}},
    276     {{{    19,     17,     34}, 0, {     0,      0}, {0xd6, 0x19, 0x74, 0xff}}},
    277     {{{    -5,     25,     20}, 0, {     0,      0}, {0xb9, 0x57, 0x3a, 0xff}}},
    278     {{{    -5,     25,    -19}, 0, {     0,      0}, {0xb9, 0x57, 0xc6, 0xff}}},
    279 };
    280 
    281 // 0x05004058 - 0x05004118
    282 const Gfx klepto_seg5_dl_05004058[] = {
    283     gsSPLight(&klepto_seg5_lights_05003F80.l, 1),
    284     gsSPLight(&klepto_seg5_lights_05003F80.a, 2),
    285     gsSPVertex(klepto_seg5_vertex_05003F98, 12, 0),
    286     gsSP2Triangles( 0,  1,  2, 0x0,  2,  1,  3, 0x0),
    287     gsSP2Triangles( 2,  4,  5, 0x0,  2,  5,  0, 0x0),
    288     gsSP2Triangles( 3,  4,  2, 0x0,  6,  5,  7, 0x0),
    289     gsSP2Triangles( 4,  7,  5, 0x0,  0,  5,  6, 0x0),
    290     gsSP2Triangles( 8,  1,  0, 0x0,  8,  0,  6, 0x0),
    291     gsSP2Triangles( 7,  4,  9, 0x0,  3,  9,  4, 0x0),
    292     gsSP2Triangles( 3,  8,  9, 0x0,  9,  8, 10, 0x0),
    293     gsSP2Triangles( 9, 10,  7, 0x0,  8, 11, 10, 0x0),
    294     gsSP2Triangles( 6, 11,  8, 0x0,  3,  1,  8, 0x0),
    295     gsSP2Triangles(10, 11,  7, 0x0,  7, 11,  6, 0x0),
    296     gsSPEndDisplayList(),
    297 };
    298 
    299 // 0x05004118 - 0x05004148
    300 const Gfx klepto_seg5_dl_05004118[] = {
    301     gsDPPipeSync(),
    302     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    303     gsDPPipeSync(),
    304     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    305     gsSPDisplayList(klepto_seg5_dl_05004058),
    306     gsSPEndDisplayList(),
    307 };
    308 
    309 // 0x05004148
    310 static const Lights1 klepto_seg5_lights_05004148 = gdSPDefLights1(
    311     0x3f, 0x3f, 0x3f,
    312     0xff, 0xff, 0xff, 0x28, 0x28, 0x28
    313 );
    314 
    315 // 0x05004160
    316 static const Vtx klepto_seg5_vertex_05004160[] = {
    317     {{{     5,     -3,      0}, 0, {     0,    992}, {0x37, 0x8e, 0x00, 0xff}}},
    318     {{{   -81,    -45,      0}, 0, {     0,      0}, {0x37, 0x8e, 0x00, 0xff}}},
    319     {{{   -77,      2,    -47}, 0, {  1700,    224}, {0x2a, 0xaa, 0xae, 0xff}}},
    320     {{{   -77,      2,     48}, 0, {  1700,    224}, {0x2a, 0xa9, 0x51, 0xff}}},
    321 };
    322 
    323 // 0x050041A0 - 0x050041E8
    324 const Gfx klepto_seg5_dl_050041A0[] = {
    325     gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, klepto_seg5_texture_05003008),
    326     gsDPLoadSync(),
    327     gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
    328     gsSPLight(&klepto_seg5_lights_05004148.l, 1),
    329     gsSPLight(&klepto_seg5_lights_05004148.a, 2),
    330     gsSPVertex(klepto_seg5_vertex_05004160, 4, 0),
    331     gsSP2Triangles( 0,  1,  2, 0x0,  3,  1,  0, 0x0),
    332     gsSPEndDisplayList(),
    333 };
    334 
    335 // 0x050041E8 - 0x05004258
    336 const Gfx klepto_seg5_dl_050041E8[] = {
    337     gsDPPipeSync(),
    338     gsDPSetCombineMode(G_CC_MODULATERGBA, G_CC_MODULATERGBA),
    339     gsSPClearGeometryMode(G_CULL_BACK),
    340     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),
    341     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
    342     gsDPTileSync(),
    343     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),
    344     gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
    345     gsSPDisplayList(klepto_seg5_dl_050041A0),
    346     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
    347     gsDPPipeSync(),
    348     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    349     gsSPSetGeometryMode(G_CULL_BACK),
    350     gsSPEndDisplayList(),
    351 };
    352 
    353 // 0x05004258
    354 static const Lights1 klepto_seg5_lights_05004258 = gdSPDefLights1(
    355     0x3f, 0x1d, 0x08,
    356     0xff, 0x75, 0x21, 0x28, 0x28, 0x28
    357 );
    358 
    359 // 0x05004270
    360 static const Vtx klepto_seg5_vertex_05004270[] = {
    361     {{{     9,     27,      3}, 0, {     0,      0}, {0xd5, 0x50, 0x57, 0xff}}},
    362     {{{     0,      0,      0}, 0, {     0,      0}, {0x86, 0xe0, 0xfd, 0xff}}},
    363     {{{    14,      9,      8}, 0, {     0,      0}, {0x01, 0xb1, 0x62, 0xff}}},
    364     {{{     9,     27,     -3}, 0, {     0,      0}, {0xd6, 0x4d, 0xa5, 0xff}}},
    365     {{{    69,      0,      0}, 0, {     0,      0}, {0x62, 0x50, 0xfd, 0xff}}},
    366     {{{    14,      9,     -7}, 0, {     0,      0}, {0x03, 0xb0, 0x9f, 0xff}}},
    367 };
    368 
    369 // 0x050042D0 - 0x05004330
    370 const Gfx klepto_seg5_dl_050042D0[] = {
    371     gsSPLight(&klepto_seg5_lights_05004258.l, 1),
    372     gsSPLight(&klepto_seg5_lights_05004258.a, 2),
    373     gsSPVertex(klepto_seg5_vertex_05004270, 6, 0),
    374     gsSP2Triangles( 0,  1,  2, 0x0,  1,  0,  3, 0x0),
    375     gsSP2Triangles( 4,  0,  2, 0x0,  0,  4,  3, 0x0),
    376     gsSP2Triangles( 5,  1,  3, 0x0,  1,  5,  2, 0x0),
    377     gsSP2Triangles( 5,  4,  2, 0x0,  4,  5,  3, 0x0),
    378     gsSPEndDisplayList(),
    379 };
    380 
    381 // 0x05004330 - 0x05004360
    382 const Gfx klepto_seg5_dl_05004330[] = {
    383     gsDPPipeSync(),
    384     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    385     gsDPPipeSync(),
    386     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    387     gsSPDisplayList(klepto_seg5_dl_050042D0),
    388     gsSPEndDisplayList(),
    389 };
    390 
    391 // 0x05004360
    392 static const Lights1 klepto_seg5_lights_05004360 = gdSPDefLights1(
    393     0x3f, 0x1d, 0x08,
    394     0xff, 0x75, 0x21, 0x28, 0x28, 0x28
    395 );
    396 
    397 // 0x05004378
    398 static const Vtx klepto_seg5_vertex_05004378[] = {
    399     {{{     9,     27,      3}, 0, {     0,      0}, {0xd5, 0x50, 0x57, 0xff}}},
    400     {{{     0,      0,      0}, 0, {     0,      0}, {0x86, 0xe0, 0xfd, 0xff}}},
    401     {{{    14,      9,      8}, 0, {     0,      0}, {0x01, 0xb1, 0x62, 0xff}}},
    402     {{{     9,     27,     -3}, 0, {     0,      0}, {0xd6, 0x4d, 0xa5, 0xff}}},
    403     {{{    69,      0,      0}, 0, {     0,      0}, {0x62, 0x50, 0xfd, 0xff}}},
    404     {{{    14,      9,     -7}, 0, {     0,      0}, {0x03, 0xb0, 0x9f, 0xff}}},
    405 };
    406 
    407 // 0x050043D8 - 0x05004438
    408 const Gfx klepto_seg5_dl_050043D8[] = {
    409     gsSPLight(&klepto_seg5_lights_05004360.l, 1),
    410     gsSPLight(&klepto_seg5_lights_05004360.a, 2),
    411     gsSPVertex(klepto_seg5_vertex_05004378, 6, 0),
    412     gsSP2Triangles( 0,  1,  2, 0x0,  1,  0,  3, 0x0),
    413     gsSP2Triangles( 4,  0,  2, 0x0,  0,  4,  3, 0x0),
    414     gsSP2Triangles( 5,  1,  3, 0x0,  1,  5,  2, 0x0),
    415     gsSP2Triangles( 5,  4,  2, 0x0,  4,  5,  3, 0x0),
    416     gsSPEndDisplayList(),
    417 };
    418 
    419 // 0x05004438 - 0x05004468
    420 const Gfx klepto_seg5_dl_05004438[] = {
    421     gsDPPipeSync(),
    422     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    423     gsDPPipeSync(),
    424     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    425     gsSPDisplayList(klepto_seg5_dl_050043D8),
    426     gsSPEndDisplayList(),
    427 };
    428 
    429 // 0x05004468
    430 static const Lights1 klepto_seg5_lights_05004468 = gdSPDefLights1(
    431     0x02, 0x00, 0x00,
    432     0x08, 0x00, 0x00, 0x28, 0x28, 0x28
    433 );
    434 
    435 // 0x05004480
    436 static const Lights1 klepto_seg5_lights_05004480 = gdSPDefLights1(
    437     0x3f, 0x1d, 0x08,
    438     0xff, 0x75, 0x21, 0x28, 0x28, 0x28
    439 );
    440 
    441 // 0x05004498
    442 static const Vtx klepto_seg5_vertex_05004498[] = {
    443     {{{    38,      7,     24}, 0, {     0,      0}, {0x10, 0x7d, 0x00, 0xff}}},
    444     {{{    24,    -12,     28}, 0, {     0,      0}, {0xb4, 0x24, 0x5e, 0xff}}},
    445     {{{    43,    -19,     30}, 0, {     0,      0}, {0x50, 0xae, 0x35, 0xff}}},
    446     {{{    48,      7,      0}, 0, {     0,      0}, {0x09, 0x7e, 0xfe, 0xff}}},
    447     {{{    34,    -14,     -7}, 0, {     0,      0}, {0xf6, 0x1d, 0x85, 0xff}}},
    448     {{{    34,    -14,      9}, 0, {     0,      0}, {0xf0, 0x1c, 0x7a, 0xff}}},
    449     {{{    51,    -21,      1}, 0, {     0,      0}, {0x55, 0xa2, 0xfc, 0xff}}},
    450     {{{    24,    -12,    -25}, 0, {     0,      0}, {0xb4, 0x24, 0xa2, 0xff}}},
    451     {{{    38,      7,    -23}, 0, {     0,      0}, {0x08, 0x7e, 0x0a, 0xff}}},
    452     {{{    44,    -19,    -28}, 0, {     0,      0}, {0x49, 0xaa, 0xc7, 0xff}}},
    453     {{{    33,    -14,    -11}, 0, {     0,      0}, {0x34, 0x11, 0x72, 0xff}}},
    454     {{{    33,    -13,     13}, 0, {     0,      0}, {0x35, 0x11, 0x8f, 0xff}}},
    455 };
    456 
    457 // 0x05004558
    458 static const Vtx klepto_seg5_vertex_05004558[] = {
    459     {{{     7,     -1,      6}, 0, {     0,      0}, {0xac, 0x4a, 0xc6, 0xff}}},
    460     {{{    33,    -13,     13}, 0, {     0,      0}, {0x35, 0x11, 0x8f, 0xff}}},
    461     {{{    20,    -24,     16}, 0, {     0,      0}, {0xdd, 0x87, 0xf3, 0xff}}},
    462     {{{    34,    -14,      9}, 0, {     0,      0}, {0xf0, 0x1c, 0x7a, 0xff}}},
    463     {{{    24,    -25,      0}, 0, {     0,      0}, {0xd9, 0x88, 0xfa, 0xff}}},
    464     {{{    51,    -21,      1}, 0, {     0,      0}, {0x55, 0xa2, 0xfc, 0xff}}},
    465     {{{    34,    -14,     -7}, 0, {     0,      0}, {0xf6, 0x1d, 0x85, 0xff}}},
    466     {{{     8,     -2,      0}, 0, {     0,      0}, {0xa6, 0x57, 0xf4, 0xff}}},
    467     {{{    33,    -14,    -11}, 0, {     0,      0}, {0x34, 0x11, 0x72, 0xff}}},
    468     {{{    20,    -24,    -14}, 0, {     0,      0}, {0xda, 0x88, 0x09, 0xff}}},
    469     {{{    44,    -19,    -28}, 0, {     0,      0}, {0x49, 0xaa, 0xc7, 0xff}}},
    470     {{{    24,    -12,    -25}, 0, {     0,      0}, {0xb4, 0x24, 0xa2, 0xff}}},
    471     {{{     7,     -1,     -4}, 0, {     0,      0}, {0xaf, 0x4b, 0x3d, 0xff}}},
    472     {{{    24,    -12,     28}, 0, {     0,      0}, {0xb4, 0x24, 0x5e, 0xff}}},
    473     {{{    43,    -19,     30}, 0, {     0,      0}, {0x50, 0xae, 0x35, 0xff}}},
    474 };
    475 
    476 // 0x05004648
    477 static const Vtx klepto_seg5_vertex_05004648[] = {
    478     {{{   -22,      7,      0}, 0, {     0,      0}, {0x9a, 0x4a, 0xf4, 0xff}}},
    479     {{{     2,    -10,      0}, 0, {     0,      0}, {0xe8, 0x84, 0xfe, 0xff}}},
    480     {{{    15,     -3,     17}, 0, {     0,      0}, {0x4b, 0x0d, 0x65, 0xff}}},
    481     {{{    15,     -3,    -15}, 0, {     0,      0}, {0x48, 0x0e, 0x99, 0xff}}},
    482     {{{     6,      5,      0}, 0, {     0,      0}, {0x25, 0x79, 0xfe, 0xff}}},
    483 };
    484 
    485 // 0x05004698 - 0x050047C8
    486 const Gfx klepto_seg5_dl_05004698[] = {
    487     gsSPLight(&klepto_seg5_lights_05004468.l, 1),
    488     gsSPLight(&klepto_seg5_lights_05004468.a, 2),
    489     gsSPVertex(klepto_seg5_vertex_05004498, 12, 0),
    490     gsSP2Triangles( 0,  1,  2, 0x0,  3,  4,  5, 0x0),
    491     gsSP2Triangles( 4,  3,  6, 0x0,  3,  5,  6, 0x0),
    492     gsSP2Triangles( 7,  8,  9, 0x0,  8,  7, 10, 0x0),
    493     gsSP2Triangles( 8, 10,  9, 0x0,  0, 11,  1, 0x0),
    494     gsSP1Triangle(11,  0,  2, 0x0),
    495     gsSPLight(&klepto_seg5_lights_05004480.l, 1),
    496     gsSPLight(&klepto_seg5_lights_05004480.a, 2),
    497     gsSPVertex(klepto_seg5_vertex_05004558, 15, 0),
    498     gsSP2Triangles( 0,  1,  2, 0x0,  3,  4,  5, 0x0),
    499     gsSP2Triangles( 6,  7,  3, 0x0,  7,  4,  3, 0x0),
    500     gsSP2Triangles( 5,  4,  6, 0x0,  7,  6,  4, 0x0),
    501     gsSP2Triangles( 8,  9, 10, 0x0, 11, 12,  8, 0x0),
    502     gsSP2Triangles(12,  9,  8, 0x0, 12, 11,  9, 0x0),
    503     gsSP2Triangles(10,  9, 11, 0x0,  0,  2, 13, 0x0),
    504     gsSP2Triangles( 1,  0, 13, 0x0, 13,  2, 14, 0x0),
    505     gsSP1Triangle(14,  2,  1, 0x0),
    506     gsSPVertex(klepto_seg5_vertex_05004648, 5, 0),
    507     gsSP2Triangles( 0,  1,  2, 0x0,  1,  0,  3, 0x0),
    508     gsSP2Triangles( 3,  2,  1, 0x0,  4,  2,  3, 0x0),
    509     gsSP2Triangles( 2,  4,  0, 0x0,  3,  0,  4, 0x0),
    510     gsSPEndDisplayList(),
    511 };
    512 
    513 // 0x050047C8 - 0x050047F8
    514 const Gfx klepto_seg5_dl_050047C8[] = {
    515     gsDPPipeSync(),
    516     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    517     gsDPPipeSync(),
    518     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    519     gsSPDisplayList(klepto_seg5_dl_05004698),
    520     gsSPEndDisplayList(),
    521 };
    522 
    523 // 0x050047F8
    524 static const Lights1 klepto_seg5_lights_050047F8 = gdSPDefLights1(
    525     0x02, 0x00, 0x00,
    526     0x08, 0x00, 0x00, 0x28, 0x28, 0x28
    527 );
    528 
    529 // 0x05004810
    530 static const Lights1 klepto_seg5_lights_05004810 = gdSPDefLights1(
    531     0x3f, 0x1d, 0x08,
    532     0xff, 0x75, 0x21, 0x28, 0x28, 0x28
    533 );
    534 
    535 // 0x05004828
    536 static const Vtx klepto_seg5_vertex_05004828[] = {
    537     {{{    38,      7,     24}, 0, {     0,      0}, {0x10, 0x7d, 0x00, 0xff}}},
    538     {{{    24,    -12,     28}, 0, {     0,      0}, {0xb4, 0x24, 0x5e, 0xff}}},
    539     {{{    43,    -19,     30}, 0, {     0,      0}, {0x50, 0xae, 0x35, 0xff}}},
    540     {{{    48,      7,      0}, 0, {     0,      0}, {0x09, 0x7e, 0xfe, 0xff}}},
    541     {{{    34,    -14,     -7}, 0, {     0,      0}, {0xf6, 0x1d, 0x85, 0xff}}},
    542     {{{    34,    -14,      9}, 0, {     0,      0}, {0xf0, 0x1c, 0x7a, 0xff}}},
    543     {{{    51,    -21,      1}, 0, {     0,      0}, {0x55, 0xa2, 0xfc, 0xff}}},
    544     {{{    24,    -12,    -25}, 0, {     0,      0}, {0xb4, 0x24, 0xa2, 0xff}}},
    545     {{{    38,      7,    -23}, 0, {     0,      0}, {0x08, 0x7e, 0x0a, 0xff}}},
    546     {{{    44,    -19,    -28}, 0, {     0,      0}, {0x49, 0xaa, 0xc7, 0xff}}},
    547     {{{    33,    -14,    -11}, 0, {     0,      0}, {0x34, 0x11, 0x72, 0xff}}},
    548     {{{    33,    -13,     13}, 0, {     0,      0}, {0x35, 0x11, 0x8f, 0xff}}},
    549 };
    550 
    551 // 0x050048E8
    552 static const Vtx klepto_seg5_vertex_050048E8[] = {
    553     {{{     7,     -1,      6}, 0, {     0,      0}, {0xac, 0x4a, 0xc6, 0xff}}},
    554     {{{    33,    -13,     13}, 0, {     0,      0}, {0x35, 0x11, 0x8f, 0xff}}},
    555     {{{    20,    -24,     16}, 0, {     0,      0}, {0xdd, 0x87, 0xf3, 0xff}}},
    556     {{{    34,    -14,      9}, 0, {     0,      0}, {0xf0, 0x1c, 0x7a, 0xff}}},
    557     {{{    24,    -25,      0}, 0, {     0,      0}, {0xd9, 0x88, 0xfa, 0xff}}},
    558     {{{    51,    -21,      1}, 0, {     0,      0}, {0x55, 0xa2, 0xfc, 0xff}}},
    559     {{{    34,    -14,     -7}, 0, {     0,      0}, {0xf6, 0x1d, 0x85, 0xff}}},
    560     {{{     8,     -2,      0}, 0, {     0,      0}, {0xa6, 0x57, 0xf4, 0xff}}},
    561     {{{    33,    -14,    -11}, 0, {     0,      0}, {0x34, 0x11, 0x72, 0xff}}},
    562     {{{    20,    -24,    -14}, 0, {     0,      0}, {0xda, 0x88, 0x09, 0xff}}},
    563     {{{    44,    -19,    -28}, 0, {     0,      0}, {0x49, 0xaa, 0xc7, 0xff}}},
    564     {{{    24,    -12,    -25}, 0, {     0,      0}, {0xb4, 0x24, 0xa2, 0xff}}},
    565     {{{     7,     -1,     -4}, 0, {     0,      0}, {0xaf, 0x4b, 0x3d, 0xff}}},
    566     {{{    24,    -12,     28}, 0, {     0,      0}, {0xb4, 0x24, 0x5e, 0xff}}},
    567     {{{    43,    -19,     30}, 0, {     0,      0}, {0x50, 0xae, 0x35, 0xff}}},
    568 };
    569 
    570 // 0x050049D8
    571 static const Vtx klepto_seg5_vertex_050049D8[] = {
    572     {{{   -22,      7,      0}, 0, {     0,      0}, {0x9a, 0x4a, 0xf4, 0xff}}},
    573     {{{     2,    -10,      0}, 0, {     0,      0}, {0xe8, 0x84, 0xfe, 0xff}}},
    574     {{{    15,     -3,     17}, 0, {     0,      0}, {0x4b, 0x0d, 0x65, 0xff}}},
    575     {{{    15,     -3,    -15}, 0, {     0,      0}, {0x48, 0x0e, 0x99, 0xff}}},
    576     {{{     6,      5,      0}, 0, {     0,      0}, {0x25, 0x79, 0xfe, 0xff}}},
    577 };
    578 
    579 // 0x05004A28 - 0x05004B58
    580 const Gfx klepto_seg5_dl_05004A28[] = {
    581     gsSPLight(&klepto_seg5_lights_050047F8.l, 1),
    582     gsSPLight(&klepto_seg5_lights_050047F8.a, 2),
    583     gsSPVertex(klepto_seg5_vertex_05004828, 12, 0),
    584     gsSP2Triangles( 0,  1,  2, 0x0,  3,  4,  5, 0x0),
    585     gsSP2Triangles( 4,  3,  6, 0x0,  3,  5,  6, 0x0),
    586     gsSP2Triangles( 7,  8,  9, 0x0,  8,  7, 10, 0x0),
    587     gsSP2Triangles( 8, 10,  9, 0x0,  0, 11,  1, 0x0),
    588     gsSP1Triangle(11,  0,  2, 0x0),
    589     gsSPLight(&klepto_seg5_lights_05004810.l, 1),
    590     gsSPLight(&klepto_seg5_lights_05004810.a, 2),
    591     gsSPVertex(klepto_seg5_vertex_050048E8, 15, 0),
    592     gsSP2Triangles( 0,  1,  2, 0x0,  3,  4,  5, 0x0),
    593     gsSP2Triangles( 6,  7,  3, 0x0,  7,  4,  3, 0x0),
    594     gsSP2Triangles( 5,  4,  6, 0x0,  7,  6,  4, 0x0),
    595     gsSP2Triangles( 8,  9, 10, 0x0, 11, 12,  8, 0x0),
    596     gsSP2Triangles(12,  9,  8, 0x0, 12, 11,  9, 0x0),
    597     gsSP2Triangles(10,  9, 11, 0x0,  0,  2, 13, 0x0),
    598     gsSP2Triangles( 1,  0, 13, 0x0, 13,  2, 14, 0x0),
    599     gsSP1Triangle(14,  2,  1, 0x0),
    600     gsSPVertex(klepto_seg5_vertex_050049D8, 5, 0),
    601     gsSP2Triangles( 0,  1,  2, 0x0,  1,  0,  3, 0x0),
    602     gsSP2Triangles( 3,  2,  1, 0x0,  4,  2,  3, 0x0),
    603     gsSP2Triangles( 2,  4,  0, 0x0,  3,  0,  4, 0x0),
    604     gsSPEndDisplayList(),
    605 };
    606 
    607 // 0x05004B58 - 0x05004B88
    608 const Gfx klepto_seg5_dl_05004B58[] = {
    609     gsDPPipeSync(),
    610     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    611     gsDPPipeSync(),
    612     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    613     gsSPDisplayList(klepto_seg5_dl_05004A28),
    614     gsSPEndDisplayList(),
    615 };
    616 
    617 // 0x05004B88
    618 static const Lights1 klepto_seg5_lights_05004B88 = gdSPDefLights1(
    619     0x3f, 0x3f, 0x3f,
    620     0xff, 0xff, 0xff, 0x28, 0x28, 0x28
    621 );
    622 
    623 // 0x05004BA0
    624 static const Vtx klepto_seg5_vertex_05004BA0[] = {
    625     {{{    -2,    -13,      0}, 0, {  1992,    528}, {0x00, 0x00, 0x81, 0xff}}},
    626     {{{    -2,     14,      0}, 0, {  1992,    272}, {0x00, 0x00, 0x81, 0xff}}},
    627     {{{    34,     24,      0}, 0, {  1640,    176}, {0x00, 0x00, 0x81, 0xff}}},
    628     {{{    34,    -33,      0}, 0, {  1640,    722}, {0x00, 0x00, 0x81, 0xff}}},
    629 };
    630 
    631 // 0x05004BE0 - 0x05004C28
    632 const Gfx klepto_seg5_dl_05004BE0[] = {
    633     gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, klepto_seg5_texture_05002008),
    634     gsDPLoadSync(),
    635     gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)),
    636     gsSPLight(&klepto_seg5_lights_05004B88.l, 1),
    637     gsSPLight(&klepto_seg5_lights_05004B88.a, 2),
    638     gsSPVertex(klepto_seg5_vertex_05004BA0, 4, 0),
    639     gsSP2Triangles( 0,  1,  2, 0x0,  0,  2,  3, 0x0),
    640     gsSPEndDisplayList(),
    641 };
    642 
    643 // 0x05004C28 - 0x05004C98
    644 const Gfx klepto_seg5_dl_05004C28[] = {
    645     gsDPPipeSync(),
    646     gsDPSetCombineMode(G_CC_MODULATERGBA, G_CC_MODULATERGBA),
    647     gsSPClearGeometryMode(G_CULL_BACK),
    648     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),
    649     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
    650     gsDPTileSync(),
    651     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),
    652     gsDPSetTileSize(0, 0, 0, (64 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
    653     gsSPDisplayList(klepto_seg5_dl_05004BE0),
    654     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
    655     gsDPPipeSync(),
    656     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    657     gsSPSetGeometryMode(G_CULL_BACK),
    658     gsSPEndDisplayList(),
    659 };
    660 
    661 // 0x05004C98
    662 static const Lights1 klepto_seg5_lights_05004C98 = gdSPDefLights1(
    663     0x3f, 0x3f, 0x3f,
    664     0xff, 0xff, 0xff, 0x28, 0x28, 0x28
    665 );
    666 
    667 // 0x05004CB0
    668 static const Vtx klepto_seg5_vertex_05004CB0[] = {
    669     {{{    34,    -33,      0}, 0, {  1640,    722}, {0x00, 0x00, 0x7f, 0xff}}},
    670     {{{    34,     24,      0}, 0, {  1640,    176}, {0x00, 0x00, 0x7f, 0xff}}},
    671     {{{    -2,    -13,      0}, 0, {  1992,    528}, {0x00, 0x00, 0x7f, 0xff}}},
    672     {{{    -2,     14,      0}, 0, {  1992,    272}, {0x00, 0x00, 0x7f, 0xff}}},
    673 };
    674 
    675 // 0x05004CF0 - 0x05004D38
    676 const Gfx klepto_seg5_dl_05004CF0[] = {
    677     gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, klepto_seg5_texture_05002008),
    678     gsDPLoadSync(),
    679     gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)),
    680     gsSPLight(&klepto_seg5_lights_05004C98.l, 1),
    681     gsSPLight(&klepto_seg5_lights_05004C98.a, 2),
    682     gsSPVertex(klepto_seg5_vertex_05004CB0, 4, 0),
    683     gsSP2Triangles( 0,  1,  2, 0x0,  1,  3,  2, 0x0),
    684     gsSPEndDisplayList(),
    685 };
    686 
    687 // 0x05004D38 - 0x05004DA8
    688 const Gfx klepto_seg5_dl_05004D38[] = {
    689     gsDPPipeSync(),
    690     gsDPSetCombineMode(G_CC_MODULATERGBA, G_CC_MODULATERGBA),
    691     gsSPClearGeometryMode(G_CULL_BACK),
    692     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),
    693     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
    694     gsDPTileSync(),
    695     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),
    696     gsDPSetTileSize(0, 0, 0, (64 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
    697     gsSPDisplayList(klepto_seg5_dl_05004CF0),
    698     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
    699     gsDPPipeSync(),
    700     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    701     gsSPSetGeometryMode(G_CULL_BACK),
    702     gsSPEndDisplayList(),
    703 };
    704 
    705 // 0x05004DA8
    706 static const Lights1 klepto_seg5_lights_05004DA8 = gdSPDefLights1(
    707     0x3f, 0x3f, 0x3f,
    708     0xff, 0xff, 0xff, 0x28, 0x28, 0x28
    709 );
    710 
    711 // 0x05004DC0
    712 static const Vtx klepto_seg5_vertex_05004DC0[] = {
    713     {{{     0,    -33,      0}, 0, {  1640,    716}, {0x00, 0x00, 0x81, 0xff}}},
    714     {{{     0,     24,      0}, 0, {  1640,    172}, {0x00, 0x00, 0x81, 0xff}}},
    715     {{{    79,     34,      0}, 0, {   904,     76}, {0x00, 0x00, 0x81, 0xff}}},
    716     {{{    79,    -58,      0}, 0, {   904,    940}, {0x00, 0x00, 0x81, 0xff}}},
    717 };
    718 
    719 // 0x05004E00 - 0x05004E48
    720 const Gfx klepto_seg5_dl_05004E00[] = {
    721     gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, klepto_seg5_texture_05002008),
    722     gsDPLoadSync(),
    723     gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)),
    724     gsSPLight(&klepto_seg5_lights_05004DA8.l, 1),
    725     gsSPLight(&klepto_seg5_lights_05004DA8.a, 2),
    726     gsSPVertex(klepto_seg5_vertex_05004DC0, 4, 0),
    727     gsSP2Triangles( 0,  1,  2, 0x0,  0,  2,  3, 0x0),
    728     gsSPEndDisplayList(),
    729 };
    730 
    731 // 0x05004E48 - 0x05004EB8
    732 const Gfx klepto_seg5_dl_05004E48[] = {
    733     gsDPPipeSync(),
    734     gsDPSetCombineMode(G_CC_MODULATERGBA, G_CC_MODULATERGBA),
    735     gsSPClearGeometryMode(G_CULL_BACK),
    736     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),
    737     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
    738     gsDPTileSync(),
    739     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),
    740     gsDPSetTileSize(0, 0, 0, (64 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
    741     gsSPDisplayList(klepto_seg5_dl_05004E00),
    742     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
    743     gsDPPipeSync(),
    744     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    745     gsSPSetGeometryMode(G_CULL_BACK),
    746     gsSPEndDisplayList(),
    747 };
    748 
    749 // 0x05004EB8
    750 static const Lights1 klepto_seg5_lights_05004EB8 = gdSPDefLights1(
    751     0x3f, 0x3f, 0x3f,
    752     0xff, 0xff, 0xff, 0x28, 0x28, 0x28
    753 );
    754 
    755 // 0x05004ED0
    756 static const Vtx klepto_seg5_vertex_05004ED0[] = {
    757     {{{    79,    -58,      0}, 0, {   904,    940}, {0x00, 0x00, 0x7f, 0xff}}},
    758     {{{    79,     34,      0}, 0, {   904,     76}, {0x00, 0x00, 0x7f, 0xff}}},
    759     {{{     0,    -33,      0}, 0, {  1640,    716}, {0x00, 0x00, 0x7f, 0xff}}},
    760     {{{     0,     24,      0}, 0, {  1640,    172}, {0x00, 0x00, 0x7f, 0xff}}},
    761 };
    762 
    763 // 0x05004F10 - 0x05004F58
    764 const Gfx klepto_seg5_dl_05004F10[] = {
    765     gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, klepto_seg5_texture_05002008),
    766     gsDPLoadSync(),
    767     gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)),
    768     gsSPLight(&klepto_seg5_lights_05004EB8.l, 1),
    769     gsSPLight(&klepto_seg5_lights_05004EB8.a, 2),
    770     gsSPVertex(klepto_seg5_vertex_05004ED0, 4, 0),
    771     gsSP2Triangles( 0,  1,  2, 0x0,  1,  3,  2, 0x0),
    772     gsSPEndDisplayList(),
    773 };
    774 
    775 // 0x05004F58 - 0x05004FC8
    776 const Gfx klepto_seg5_dl_05004F58[] = {
    777     gsDPPipeSync(),
    778     gsDPSetCombineMode(G_CC_MODULATERGBA, G_CC_MODULATERGBA),
    779     gsSPClearGeometryMode(G_CULL_BACK),
    780     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),
    781     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
    782     gsDPTileSync(),
    783     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),
    784     gsDPSetTileSize(0, 0, 0, (64 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
    785     gsSPDisplayList(klepto_seg5_dl_05004F10),
    786     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
    787     gsDPPipeSync(),
    788     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    789     gsSPSetGeometryMode(G_CULL_BACK),
    790     gsSPEndDisplayList(),
    791 };
    792 
    793 // 0x05004FC8
    794 static const Lights1 klepto_seg5_lights_05004FC8 = gdSPDefLights1(
    795     0x3f, 0x3f, 0x3f,
    796     0xff, 0xff, 0xff, 0x28, 0x28, 0x28
    797 );
    798 
    799 // 0x05004FE0
    800 static const Vtx klepto_seg5_vertex_05004FE0[] = {
    801     {{{     0,    -58,      0}, 0, {   904,    942}, {0x00, 0x00, 0x81, 0xff}}},
    802     {{{     0,     34,      0}, 0, {   904,     78}, {0x00, 0x00, 0x81, 0xff}}},
    803     {{{   108,     52,      0}, 0, {   -96,    -86}, {0x00, 0x00, 0x81, 0xff}}},
    804     {{{    65,    -68,      0}, 0, {   296,   1036}, {0x00, 0x00, 0x81, 0xff}}},
    805 };
    806 
    807 // 0x05005020 - 0x05005068
    808 const Gfx klepto_seg5_dl_05005020[] = {
    809     gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, klepto_seg5_texture_05002008),
    810     gsDPLoadSync(),
    811     gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)),
    812     gsSPLight(&klepto_seg5_lights_05004FC8.l, 1),
    813     gsSPLight(&klepto_seg5_lights_05004FC8.a, 2),
    814     gsSPVertex(klepto_seg5_vertex_05004FE0, 4, 0),
    815     gsSP2Triangles( 0,  1,  2, 0x0,  0,  2,  3, 0x0),
    816     gsSPEndDisplayList(),
    817 };
    818 
    819 // 0x05005068 - 0x050050D8
    820 const Gfx klepto_seg5_dl_05005068[] = {
    821     gsDPPipeSync(),
    822     gsDPSetCombineMode(G_CC_MODULATERGBA, G_CC_MODULATERGBA),
    823     gsSPClearGeometryMode(G_CULL_BACK),
    824     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),
    825     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
    826     gsDPTileSync(),
    827     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),
    828     gsDPSetTileSize(0, 0, 0, (64 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
    829     gsSPDisplayList(klepto_seg5_dl_05005020),
    830     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
    831     gsDPPipeSync(),
    832     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    833     gsSPSetGeometryMode(G_CULL_BACK),
    834     gsSPEndDisplayList(),
    835 };
    836 
    837 // 0x050050D8
    838 static const Lights1 klepto_seg5_lights_050050D8 = gdSPDefLights1(
    839     0x3f, 0x3f, 0x3f,
    840     0xff, 0xff, 0xff, 0x28, 0x28, 0x28
    841 );
    842 
    843 // 0x050050F0
    844 static const Vtx klepto_seg5_vertex_050050F0[] = {
    845     {{{    65,    -68,      0}, 0, {   296,   1036}, {0x00, 0x00, 0x7f, 0xff}}},
    846     {{{   108,     52,      0}, 0, {   -96,    -86}, {0x00, 0x00, 0x7f, 0xff}}},
    847     {{{     0,    -58,      0}, 0, {   904,    942}, {0x00, 0x00, 0x7f, 0xff}}},
    848     {{{     0,     34,      0}, 0, {   904,     78}, {0x00, 0x00, 0x7f, 0xff}}},
    849 };
    850 
    851 // 0x05005130 - 0x05005178
    852 const Gfx klepto_seg5_dl_05005130[] = {
    853     gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, klepto_seg5_texture_05002008),
    854     gsDPLoadSync(),
    855     gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)),
    856     gsSPLight(&klepto_seg5_lights_050050D8.l, 1),
    857     gsSPLight(&klepto_seg5_lights_050050D8.a, 2),
    858     gsSPVertex(klepto_seg5_vertex_050050F0, 4, 0),
    859     gsSP2Triangles( 0,  1,  2, 0x0,  1,  3,  2, 0x0),
    860     gsSPEndDisplayList(),
    861 };
    862 
    863 // 0x05005178 - 0x050051E8
    864 const Gfx klepto_seg5_dl_05005178[] = {
    865     gsDPPipeSync(),
    866     gsDPSetCombineMode(G_CC_MODULATERGBA, G_CC_MODULATERGBA),
    867     gsSPClearGeometryMode(G_CULL_BACK),
    868     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),
    869     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
    870     gsDPTileSync(),
    871     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),
    872     gsDPSetTileSize(0, 0, 0, (64 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
    873     gsSPDisplayList(klepto_seg5_dl_05005130),
    874     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
    875     gsDPPipeSync(),
    876     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    877     gsSPSetGeometryMode(G_CULL_BACK),
    878     gsSPEndDisplayList(),
    879 };