sm64

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

model.inc.c (21789B)


      1 // Sushi (Shark)
      2 
      3 // Could be a duplicate binid of the previous actor, but i'm putting it here for
      4 // macro reasons so I don't have to clutter the macros.inc with a new macro for this
      5 // case.
      6 UNUSED static const u64 sushi_unused_1 = 1;
      7 
      8 // 0x05008ED0
      9 ALIGNED8 static const Texture sushi_seg5_texture_05008ED0[] = {
     10 #include "actors/sushi/sushi_snout.rgba16.inc.c"
     11 };
     12 
     13 // 0x050096D0
     14 ALIGNED8 static const Texture sushi_seg5_texture_050096D0[] = {
     15 #include "actors/sushi/sushi_eye.rgba16.inc.c"
     16 };
     17 
     18 // 0x05009AD0
     19 ALIGNED8 static const Texture sushi_seg5_texture_05009AD0[] = {
     20 #include "actors/sushi/sushi_tooth.rgba16.inc.c"
     21 };
     22 
     23 // 0x05009B50
     24 static const Vtx sushi_seg5_vertex_05009B50[] = {
     25     {{{     0,      4,   -257}, 0, {   528,    804}, {0xff, 0xff, 0xff, 0xff}}},
     26     {{{   416,      3,   -203}, 0, {   694,    704}, {0xff, 0xff, 0xff, 0xff}}},
     27     {{{   416,   -104,   -154}, 0, {   694,    616}, {0xff, 0xff, 0xff, 0xff}}},
     28     {{{   416,    144,     67}, 0, {   694,    210}, {0xff, 0xff, 0xff, 0xff}}},
     29     {{{   416,      3,    120}, 0, {   694,    114}, {0xff, 0xff, 0xff, 0xff}}},
     30     {{{   416,    112,   -154}, 0, {   694,    616}, {0xff, 0xff, 0xff, 0xff}}},
     31     {{{     0,    197,   -187}, 0, {   528,    676}, {0xff, 0xff, 0xff, 0xff}}},
     32     {{{     0,      4,    161}, 0, {   528,     40}, {0xff, 0xff, 0xff, 0xff}}},
     33     {{{     0,    208,     90}, 0, {   528,    170}, {0xff, 0xff, 0xff, 0xff}}},
     34     {{{     0,   -188,   -187}, 0, {   528,    676}, {0xff, 0xff, 0xff, 0xff}}},
     35     {{{   416,   -136,     67}, 0, {   694,    210}, {0xff, 0xff, 0xff, 0xff}}},
     36     {{{     0,   -199,     90}, 0, {   528,    170}, {0xff, 0xff, 0xff, 0xff}}},
     37     {{{   -82,    188,     76}, 0, {   494,    194}, {0xff, 0xff, 0xff, 0xff}}},
     38     {{{   -82,      4,    140}, 0, {   494,     78}, {0xff, 0xff, 0xff, 0xff}}},
     39     {{{   -82,   -178,     76}, 0, {   494,    194}, {0xff, 0xff, 0xff, 0xff}}},
     40 };
     41 
     42 // 0x05009C40
     43 static const Vtx sushi_seg5_vertex_05009C40[] = {
     44     {{{     0,      4,   -257}, 0, {   528,    804}, {0xff, 0xff, 0xff, 0xff}}},
     45     {{{   -82,      4,   -237}, 0, {   494,    768}, {0xff, 0xff, 0xff, 0xff}}},
     46     {{{   -82,    178,   -172}, 0, {   494,    650}, {0xff, 0xff, 0xff, 0xff}}},
     47     {{{   -82,   -169,   -172}, 0, {   494,    650}, {0xff, 0xff, 0xff, 0xff}}},
     48     {{{     0,   -188,   -187}, 0, {   528,    676}, {0xff, 0xff, 0xff, 0xff}}},
     49     {{{     0,    197,   -187}, 0, {   528,    676}, {0xff, 0xff, 0xff, 0xff}}},
     50     {{{   -82,    188,     76}, 0, {   494,    194}, {0xff, 0xff, 0xff, 0xff}}},
     51     {{{   -82,   -178,     76}, 0, {   494,    194}, {0xff, 0xff, 0xff, 0xff}}},
     52 };
     53 
     54 // 0x05009CC0 - 0x05009DD0
     55 const Gfx sushi_seg5_dl_05009CC0[] = {
     56     gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sushi_seg5_texture_05008ED0),
     57     gsDPLoadSync(),
     58     gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
     59     gsSPVertex(sushi_seg5_vertex_05009B50, 15, 0),
     60     gsSP2Triangles( 0,  1,  2, 0x0,  1,  3,  4, 0x0),
     61     gsSP2Triangles( 2,  1,  4, 0x0,  5,  1,  0, 0x0),
     62     gsSP2Triangles( 1,  5,  3, 0x0,  3,  5,  6, 0x0),
     63     gsSP2Triangles( 5,  0,  6, 0x0,  7,  4,  3, 0x0),
     64     gsSP2Triangles( 6,  8,  3, 0x0,  3,  8,  7, 0x0),
     65     gsSP2Triangles( 9,  2, 10, 0x0,  2,  4, 10, 0x0),
     66     gsSP2Triangles( 2,  9,  0, 0x0, 10,  4,  7, 0x0),
     67     gsSP2Triangles(10, 11,  9, 0x0,  7, 11, 10, 0x0),
     68     gsSP2Triangles(12, 13,  7, 0x0,  7, 13, 14, 0x0),
     69     gsSP2Triangles( 7, 14, 11, 0x0,  8, 12,  7, 0x0),
     70     gsSP2Triangles(11, 14,  9, 0x0,  6, 12,  8, 0x0),
     71     gsSPVertex(sushi_seg5_vertex_05009C40, 8, 0),
     72     gsSP2Triangles( 0,  1,  2, 0x0,  3,  1,  0, 0x0),
     73     gsSP2Triangles( 4,  3,  0, 0x0,  0,  2,  5, 0x0),
     74     gsSP2Triangles( 5,  2,  6, 0x0,  7,  3,  4, 0x0),
     75     gsSPEndDisplayList(),
     76 };
     77 
     78 // 0x05009DD0 - 0x05009E40
     79 const Gfx sushi_seg5_dl_05009DD0[] = {
     80     gsDPPipeSync(),
     81     gsDPSetCombineMode(G_CC_DECALRGB, G_CC_DECALRGB),
     82     gsSPClearGeometryMode(G_LIGHTING),
     83     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),
     84     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
     85     gsDPTileSync(),
     86     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),
     87     gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
     88     gsSPDisplayList(sushi_seg5_dl_05009CC0),
     89     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
     90     gsDPPipeSync(),
     91     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
     92     gsSPSetGeometryMode(G_LIGHTING),
     93     gsSPEndDisplayList(),
     94 };
     95 
     96 // 0x05009E40
     97 static const Vtx sushi_seg5_vertex_05009E40[] = {
     98     {{{     0,    112,   -154}, 0, {   694,    616}, {0xff, 0xff, 0xff, 0xff}}},
     99     {{{   -82,    122,     52}, 0, {   660,    238}, {0xff, 0xff, 0xff, 0xff}}},
    100     {{{     0,    144,     67}, 0, {   694,    210}, {0xff, 0xff, 0xff, 0xff}}},
    101     {{{     0,   -104,   -154}, 0, {   694,    616}, {0xff, 0xff, 0xff, 0xff}}},
    102     {{{   -84,    -86,   -138}, 0, {   660,    586}, {0xff, 0xff, 0xff, 0xff}}},
    103     {{{     0,      3,   -203}, 0, {   694,    704}, {0xff, 0xff, 0xff, 0xff}}},
    104     {{{   -83,      4,   -181}, 0, {   660,    664}, {0xff, 0xff, 0xff, 0xff}}},
    105     {{{   -82,     95,   -138}, 0, {   660,    586}, {0xff, 0xff, 0xff, 0xff}}},
    106     {{{   494,      0,    -79}, 0, {   890,    478}, {0xff, 0xff, 0xff, 0xff}}},
    107     {{{   495,     45,     66}, 0, {   890,    212}, {0xff, 0xff, 0xff, 0xff}}},
    108     {{{   494,    -44,     66}, 0, {   890,    212}, {0xff, 0xff, 0xff, 0xff}}},
    109     {{{     0,      3,    120}, 0, {   694,    114}, {0xff, 0xff, 0xff, 0xff}}},
    110     {{{     0,   -136,     67}, 0, {   694,    210}, {0xff, 0xff, 0xff, 0xff}}},
    111     {{{   -84,   -113,     52}, 0, {   660,    238}, {0xff, 0xff, 0xff, 0xff}}},
    112     {{{   -83,      4,     97}, 0, {   660,    156}, {0xff, 0xff, 0xff, 0xff}}},
    113 };
    114 
    115 // 0x05009F30 - 0x0500A008
    116 const Gfx sushi_seg5_dl_05009F30[] = {
    117     gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sushi_seg5_texture_05008ED0),
    118     gsDPLoadSync(),
    119     gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
    120     gsSPVertex(sushi_seg5_vertex_05009E40, 15, 0),
    121     gsSP2Triangles( 0,  1,  2, 0x0,  3,  4,  5, 0x0),
    122     gsSP2Triangles( 4,  6,  5, 0x0,  5,  7,  0, 0x0),
    123     gsSP2Triangles( 8,  3,  5, 0x0,  5,  6,  7, 0x0),
    124     gsSP2Triangles( 8,  5,  0, 0x0,  0,  7,  1, 0x0),
    125     gsSP2Triangles( 8,  9, 10, 0x0,  8,  0,  9, 0x0),
    126     gsSP2Triangles( 3,  8, 10, 0x0,  0,  2,  9, 0x0),
    127     gsSP2Triangles( 9,  2, 11, 0x0, 10,  9, 11, 0x0),
    128     gsSP2Triangles( 3, 10, 12, 0x0, 11, 12, 10, 0x0),
    129     gsSP2Triangles( 2,  1, 11, 0x0, 13,  4,  3, 0x0),
    130     gsSP2Triangles(11, 13, 12, 0x0,  1, 14, 11, 0x0),
    131     gsSP2Triangles(11, 14, 13, 0x0, 12, 13,  3, 0x0),
    132     gsSPEndDisplayList(),
    133 };
    134 
    135 // 0x0500A008 - 0x0500A078
    136 const Gfx sushi_seg5_dl_0500A008[] = {
    137     gsDPPipeSync(),
    138     gsDPSetCombineMode(G_CC_DECALRGB, G_CC_DECALRGB),
    139     gsSPClearGeometryMode(G_LIGHTING),
    140     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),
    141     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
    142     gsDPTileSync(),
    143     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),
    144     gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
    145     gsSPDisplayList(sushi_seg5_dl_05009F30),
    146     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
    147     gsDPPipeSync(),
    148     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    149     gsSPSetGeometryMode(G_LIGHTING),
    150     gsSPEndDisplayList(),
    151 };
    152 
    153 // 0x0500A078
    154 static const Vtx sushi_seg5_vertex_0500A078[] = {
    155     {{{     6,    -34,     71}, 0, {   890,    204}, {0xff, 0xff, 0xff, 0xff}}},
    156     {{{     5,      0,    -89}, 0, {   890,    498}, {0xff, 0xff, 0xff, 0xff}}},
    157     {{{   241,    -41,      7}, 0, {   984,    320}, {0xff, 0xff, 0xff, 0xff}}},
    158     {{{     5,     35,     71}, 0, {   890,    204}, {0xff, 0xff, 0xff, 0xff}}},
    159     {{{   239,     54,      7}, 0, {   984,    320}, {0xff, 0xff, 0xff, 0xff}}},
    160     {{{   423,     11,   -362}, 0, {  1056,    994}, {0xff, 0xff, 0xff, 0xff}}},
    161     {{{   462,     12,    649}, 0, {  1072,   -852}, {0xff, 0xff, 0xff, 0xff}}},
    162 };
    163 
    164 // 0x0500A0E8 - 0x0500A160
    165 const Gfx sushi_seg5_dl_0500A0E8[] = {
    166     gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sushi_seg5_texture_05008ED0),
    167     gsDPLoadSync(),
    168     gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
    169     gsSPVertex(sushi_seg5_vertex_0500A078, 7, 0),
    170     gsSP2Triangles( 0,  1,  2, 0x0,  1,  3,  4, 0x0),
    171     gsSP2Triangles( 1,  0,  3, 0x0,  1,  4,  5, 0x0),
    172     gsSP2Triangles( 1,  5,  2, 0x0,  2,  6,  0, 0x0),
    173     gsSP2Triangles( 6,  3,  0, 0x0,  6,  4,  3, 0x0),
    174     gsSP2Triangles( 5,  4,  2, 0x0,  4,  6,  2, 0x0),
    175     gsSPEndDisplayList(),
    176 };
    177 
    178 // 0x0500A160 - 0x0500A1D0
    179 const Gfx sushi_seg5_dl_0500A160[] = {
    180     gsDPPipeSync(),
    181     gsDPSetCombineMode(G_CC_DECALRGB, G_CC_DECALRGB),
    182     gsSPClearGeometryMode(G_LIGHTING),
    183     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),
    184     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
    185     gsDPTileSync(),
    186     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),
    187     gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
    188     gsSPDisplayList(sushi_seg5_dl_0500A0E8),
    189     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
    190     gsDPPipeSync(),
    191     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    192     gsSPSetGeometryMode(G_LIGHTING),
    193     gsSPEndDisplayList(),
    194 };
    195 
    196 // 0x0500A1D0
    197 static const Vtx sushi_seg5_vertex_0500A1D0[] = {
    198     {{{   201,   -199,     90}, 0, {   528,    170}, {0xff, 0xff, 0xff, 0xff}}},
    199     {{{   201,   -188,   -187}, 0, {   528,    676}, {0xff, 0xff, 0xff, 0xff}}},
    200     {{{   201,      4,   -257}, 0, {   528,    804}, {0xff, 0xff, 0xff, 0xff}}},
    201     {{{   226,   -558,   -378}, 0, {   538,   1024}, {0xff, 0xff, 0xff, 0xff}}},
    202     {{{  -206,   -223,   -158}, 0, {   364,    624}, {0xff, 0xff, 0xff, 0xff}}},
    203     {{{    30,   -123,   -199}, 0, {   460,    698}, {0xff, 0xff, 0xff, 0xff}}},
    204     {{{   100,   -175,   -123}, 0, {   486,    558}, {0xff, 0xff, 0xff, 0xff}}},
    205     {{{  -477,     -3,   -355}, 0, {   256,    982}, {0xff, 0xff, 0xff, 0xff}}},
    206     {{{  -221,     -3,   -300}, 0, {   358,    882}, {0xff, 0xff, 0xff, 0xff}}},
    207     {{{  -221,   -239,   -200}, 0, {   358,    700}, {0xff, 0xff, 0xff, 0xff}}},
    208     {{{  -221,    231,   -200}, 0, {   358,    700}, {0xff, 0xff, 0xff, 0xff}}},
    209     {{{  -221,   -239,    121}, 0, {   358,    112}, {0xff, 0xff, 0xff, 0xff}}},
    210     {{{  -645,   -214,    120}, 0, {   188,    114}, {0xff, 0xff, 0xff, 0xff}}},
    211     {{{  -645,   -166,   -144}, 0, {   188,    598}, {0xff, 0xff, 0xff, 0xff}}},
    212     {{{  -547,     -3,   -300}, 0, {   228,    882}, {0xff, 0xff, 0xff, 0xff}}},
    213 };
    214 
    215 // 0x0500A2C0
    216 static const Vtx sushi_seg5_vertex_0500A2C0[] = {
    217     {{{  -221,    231,   -200}, 0, {   358,    700}, {0xff, 0xff, 0xff, 0xff}}},
    218     {{{  -645,    159,   -144}, 0, {   190,    598}, {0xff, 0xff, 0xff, 0xff}}},
    219     {{{  -645,    207,    120}, 0, {   190,    114}, {0xff, 0xff, 0xff, 0xff}}},
    220     {{{  -547,     -3,   -300}, 0, {   228,    882}, {0xff, 0xff, 0xff, 0xff}}},
    221     {{{  -863,     -3,   -194}, 0, {   102,    688}, {0xff, 0xff, 0xff, 0xff}}},
    222     {{{ -1181,     -3,     26}, 0, {   -24,    286}, {0xff, 0xff, 0xff, 0xff}}},
    223     {{{ -1174,     57,     95}, 0, {   -22,    160}, {0xff, 0xff, 0xff, 0xff}}},
    224     {{{  -645,   -166,   -144}, 0, {   188,    598}, {0xff, 0xff, 0xff, 0xff}}},
    225     {{{ -1174,    -64,     95}, 0, {   -22,    160}, {0xff, 0xff, 0xff, 0xff}}},
    226     {{{  -645,   -214,    120}, 0, {   188,    114}, {0xff, 0xff, 0xff, 0xff}}},
    227     {{{  -191,     -4,    172}, 0, {   370,     18}, {0xff, 0xff, 0xff, 0xff}}},
    228     {{{   266,      4,    552}, 0, {   554,   -674}, {0xff, 0xff, 0xff, 0xff}}},
    229     {{{   181,     73,    120}, 0, {   520,    114}, {0xff, 0xff, 0xff, 0xff}}},
    230     {{{   183,    -67,    120}, 0, {   520,    114}, {0xff, 0xff, 0xff, 0xff}}},
    231     {{{  -645,     -3,    185}, 0, {   190,     -4}, {0xff, 0xff, 0xff, 0xff}}},
    232     {{{  -221,   -239,    121}, 0, {   358,    112}, {0xff, 0xff, 0xff, 0xff}}},
    233 };
    234 
    235 // 0x0500A3C0
    236 static const Vtx sushi_seg5_vertex_0500A3C0[] = {
    237     {{{  -645,     -3,    185}, 0, {   190,     -4}, {0xff, 0xff, 0xff, 0xff}}},
    238     {{{  -221,    231,    121}, 0, {   358,    112}, {0xff, 0xff, 0xff, 0xff}}},
    239     {{{  -645,    207,    120}, 0, {   190,    114}, {0xff, 0xff, 0xff, 0xff}}},
    240     {{{  -221,   -239,    121}, 0, {   358,    112}, {0xff, 0xff, 0xff, 0xff}}},
    241     {{{  -221,     -4,    184}, 0, {   358,     -4}, {0xff, 0xff, 0xff, 0xff}}},
    242     {{{  -221,    231,   -200}, 0, {   358,    700}, {0xff, 0xff, 0xff, 0xff}}},
    243     {{{   201,    208,     90}, 0, {   528,    170}, {0xff, 0xff, 0xff, 0xff}}},
    244     {{{   201,      4,   -257}, 0, {   528,    804}, {0xff, 0xff, 0xff, 0xff}}},
    245     {{{   201,    197,   -187}, 0, {   528,    676}, {0xff, 0xff, 0xff, 0xff}}},
    246     {{{   201,      4,    161}, 0, {   528,     40}, {0xff, 0xff, 0xff, 0xff}}},
    247     {{{   106,    176,   -124}, 0, {   490,    562}, {0xff, 0xff, 0xff, 0xff}}},
    248     {{{    32,    124,   -201}, 0, {   460,    700}, {0xff, 0xff, 0xff, 0xff}}},
    249     {{{   212,    569,   -380}, 0, {   532,   1026}, {0xff, 0xff, 0xff, 0xff}}},
    250     {{{  -208,    212,   -160}, 0, {   364,    626}, {0xff, 0xff, 0xff, 0xff}}},
    251 };
    252 
    253 // 0x0500A4A0
    254 static const Vtx sushi_seg5_vertex_0500A4A0[] = {
    255     {{{   212,    569,   -380}, 0, {   452,    396}, {0xff, 0xff, 0xff, 0xff}}},
    256     {{{  -208,    212,   -160}, 0, {   340,    640}, {0xff, 0xff, 0xff, 0xff}}},
    257     {{{   106,    176,   -124}, 0, {   460,    652}, {0xff, 0xff, 0xff, 0xff}}},
    258     {{{  -221,   -239,    121}, 0, {   358,    112}, {0xff, 0xff, 0xff, 0xff}}},
    259     {{{   201,   -199,     90}, 0, {   528,    170}, {0xff, 0xff, 0xff, 0xff}}},
    260     {{{   201,      4,    161}, 0, {   528,     40}, {0xff, 0xff, 0xff, 0xff}}},
    261     {{{   201,      4,   -257}, 0, {   528,    804}, {0xff, 0xff, 0xff, 0xff}}},
    262     {{{   226,   -558,   -378}, 0, {   728,    330}, {0xff, 0xff, 0xff, 0xff}}},
    263     {{{   100,   -175,   -123}, 0, {   524,    612}, {0xff, 0xff, 0xff, 0xff}}},
    264     {{{  -206,   -223,   -158}, 0, {   728,    548}, {0xff, 0xff, 0xff, 0xff}}},
    265 };
    266 
    267 // 0x0500A540
    268 static const Vtx sushi_seg5_vertex_0500A540[] = {
    269     {{{  -221,    231,   -200}, 0, {     0,      0}, {0xff, 0x00, 0x00, 0xff}}},
    270     {{{  -477,     -3,   -355}, 0, {     0,      0}, {0xff, 0x00, 0x00, 0xff}}},
    271     {{{  -221,   -239,   -200}, 0, {     0,      0}, {0xff, 0x00, 0x00, 0xff}}},
    272     {{{  -547,     -3,   -300}, 0, {     0,      0}, {0xff, 0x00, 0x00, 0xff}}},
    273 };
    274 
    275 // 0x0500A580 - 0x0500A748
    276 const Gfx sushi_seg5_dl_0500A580[] = {
    277     gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sushi_seg5_texture_05008ED0),
    278     gsDPLoadSync(),
    279     gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
    280     gsSPVertex(sushi_seg5_vertex_0500A1D0, 15, 0),
    281     gsSP2Triangles( 0,  1,  2, 0x0,  3,  4,  5, 0x0),
    282     gsSP2Triangles( 5,  6,  3, 0x0,  7,  8,  9, 0x0),
    283     gsSP2Triangles(10,  8,  7, 0x0,  8,  2,  9, 0x0),
    284     gsSP2Triangles( 2,  8, 10, 0x0,  1,  9,  2, 0x0),
    285     gsSP2Triangles( 1,  0,  9, 0x0,  9, 11, 12, 0x0),
    286     gsSP2Triangles(12, 13,  9, 0x0, 11,  9,  0, 0x0),
    287     gsSP1Triangle(13, 14,  9, 0x0),
    288     gsSPVertex(sushi_seg5_vertex_0500A2C0, 16, 0),
    289     gsSP2Triangles( 0,  1,  2, 0x0,  0,  3,  1, 0x0),
    290     gsSP2Triangles( 1,  3,  4, 0x0,  4,  5,  1, 0x0),
    291     gsSP2Triangles( 2,  1,  6, 0x0,  5,  6,  1, 0x0),
    292     gsSP2Triangles( 7,  4,  3, 0x0,  4,  7,  5, 0x0),
    293     gsSP2Triangles( 5,  7,  8, 0x0,  8,  7,  9, 0x0),
    294     gsSP2Triangles( 5,  8,  6, 0x0, 10, 11, 12, 0x0),
    295     gsSP2Triangles(10, 13, 11, 0x0, 12, 11, 13, 0x0),
    296     gsSP2Triangles( 9, 14,  8, 0x0,  8, 14,  6, 0x0),
    297     gsSP2Triangles( 6, 14,  2, 0x0, 15, 14,  9, 0x0),
    298     gsSPVertex(sushi_seg5_vertex_0500A3C0, 14, 0),
    299     gsSP2Triangles( 0,  1,  2, 0x0,  0,  3,  4, 0x0),
    300     gsSP2Triangles( 4,  1,  0, 0x0,  2,  1,  5, 0x0),
    301     gsSP2Triangles( 6,  5,  1, 0x0,  7,  5,  8, 0x0),
    302     gsSP2Triangles( 5,  6,  8, 0x0,  7,  8,  6, 0x0),
    303     gsSP2Triangles( 6,  9,  7, 0x0,  9,  6,  1, 0x0),
    304     gsSP2Triangles( 1,  4,  9, 0x0,  3,  9,  4, 0x0),
    305     gsSP2Triangles(10, 11, 12, 0x0, 12, 11, 13, 0x0),
    306     gsSPVertex(sushi_seg5_vertex_0500A4A0, 10, 0),
    307     gsSP2Triangles( 0,  1,  2, 0x0,  3,  4,  5, 0x0),
    308     gsSP2Triangles( 6,  5,  4, 0x0,  7,  8,  9, 0x0),
    309     gsSPEndDisplayList(),
    310 };
    311 
    312 // 0x0500A748 - 0x0500A768
    313 const Gfx sushi_seg5_dl_0500A748[] = {
    314     gsSPVertex(sushi_seg5_vertex_0500A540, 4, 0),
    315     gsSP2Triangles( 0,  1,  2, 0x0,  0,  2,  3, 0x0),
    316     gsSPEndDisplayList(),
    317 };
    318 
    319 // 0x0500A768 - 0x0500A7E0
    320 const Gfx sushi_seg5_dl_0500A768[] = {
    321     gsDPPipeSync(),
    322     gsDPSetCombineMode(G_CC_DECALRGB, G_CC_DECALRGB),
    323     gsSPClearGeometryMode(G_LIGHTING),
    324     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),
    325     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
    326     gsDPTileSync(),
    327     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),
    328     gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
    329     gsSPDisplayList(sushi_seg5_dl_0500A580),
    330     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
    331     gsDPPipeSync(),
    332     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    333     gsSPDisplayList(sushi_seg5_dl_0500A748),
    334     gsSPSetGeometryMode(G_LIGHTING),
    335     gsSPEndDisplayList(),
    336 };
    337 
    338 // 0x0500A7E0
    339 static const Vtx sushi_seg5_vertex_0500A7E0[] = {
    340     {{{  -645,    221,    120}, 0, {   -24,  -2137}, {0xff, 0xff, 0xff, 0xff}}},
    341     {{{  -221,    246,    121}, 0, {  1672,   -830}, {0xff, 0xff, 0xff, 0xff}}},
    342     {{{  -221,    246,   -200}, 0, {   678,    847}, {0xff, 0xff, 0xff, 0xff}}},
    343     {{{  -645,    173,   -144}, 0, {  -906,   -738}, {0xff, 0xff, 0xff, 0xff}}},
    344     {{{  -645,   -220,    120}, 0, {   -24,  -2137}, {0xff, 0xff, 0xff, 0xff}}},
    345     {{{  -645,   -172,   -144}, 0, {  -906,   -738}, {0xff, 0xff, 0xff, 0xff}}},
    346     {{{  -221,   -245,   -200}, 0, {   678,    847}, {0xff, 0xff, 0xff, 0xff}}},
    347     {{{  -221,   -245,    121}, 0, {  1672,   -830}, {0xff, 0xff, 0xff, 0xff}}},
    348 };
    349 
    350 // 0x0500A860 - 0x0500A8A8
    351 const Gfx sushi_seg5_dl_0500A860[] = {
    352     gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sushi_seg5_texture_050096D0),
    353     gsDPLoadSync(),
    354     gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 16 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
    355     gsSPVertex(sushi_seg5_vertex_0500A7E0, 8, 0),
    356     gsSP2Triangles( 0,  1,  2, 0x0,  2,  3,  0, 0x0),
    357     gsSP2Triangles( 4,  5,  6, 0x0,  6,  7,  4, 0x0),
    358     gsSPEndDisplayList(),
    359 };
    360 
    361 // 0x0500A8A8 - 0x0500A918
    362 const Gfx sushi_seg5_dl_0500A8A8[] = {
    363     gsDPPipeSync(),
    364     gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
    365     gsSPClearGeometryMode(G_LIGHTING),
    366     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),
    367     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
    368     gsDPTileSync(),
    369     gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP, 4, G_TX_NOLOD, G_TX_CLAMP, 5, G_TX_NOLOD),
    370     gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (16 - 1) << G_TEXTURE_IMAGE_FRAC),
    371     gsSPDisplayList(sushi_seg5_dl_0500A860),
    372     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
    373     gsDPPipeSync(),
    374     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    375     gsSPSetGeometryMode(G_LIGHTING),
    376     gsSPEndDisplayList(),
    377 };
    378 
    379 // 0x0500A918
    380 static const Vtx sushi_seg5_vertex_0500A918[] = {
    381     {{{  -505,      0,   -304}, 0, {   -32,      2}, {0xff, 0xff, 0xff, 0xff}}},
    382     {{{  -221,    231,   -200}, 0, {  1592,    -14}, {0xff, 0xff, 0xff, 0xff}}},
    383     {{{  -477,     -3,   -355}, 0, {     0,    166}, {0xff, 0xff, 0xff, 0xff}}},
    384     {{{  -221,   -239,   -200}, 0, {  1592,    -14}, {0xff, 0xff, 0xff, 0xff}}},
    385 };
    386 
    387 // 0x0500A958 - 0x0500A990
    388 const Gfx sushi_seg5_dl_0500A958[] = {
    389     gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sushi_seg5_texture_05009AD0),
    390     gsDPLoadSync(),
    391     gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 8 * 8 - 1, CALC_DXT(8, G_IM_SIZ_16b_BYTES)),
    392     gsSPVertex(sushi_seg5_vertex_0500A918, 4, 0),
    393     gsSP2Triangles( 0,  1,  2, 0x0,  3,  0,  2, 0x0),
    394     gsSPEndDisplayList(),
    395 };
    396 
    397 // 0x0500A990 - 0x0500AA00
    398 const Gfx sushi_seg5_dl_0500A990[] = {
    399     gsDPPipeSync(),
    400     gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
    401     gsSPClearGeometryMode(G_LIGHTING | G_CULL_BACK),
    402     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),
    403     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
    404     gsDPTileSync(),
    405     gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 2, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP, 3, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 3, G_TX_NOLOD),
    406     gsDPSetTileSize(0, 0, 0, (8 - 1) << G_TEXTURE_IMAGE_FRAC, (8 - 1) << G_TEXTURE_IMAGE_FRAC),
    407     gsSPDisplayList(sushi_seg5_dl_0500A958),
    408     gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
    409     gsDPPipeSync(),
    410     gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    411     gsSPSetGeometryMode(G_LIGHTING | G_CULL_BACK),
    412     gsSPEndDisplayList(),
    413 };