mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-02-02 16:23:57 +03:00
Fixed ending texture
This commit is contained in:
parent
a184cdb76a
commit
deabc05047
@ -81,16 +81,10 @@ void Ending_80187520(s32 arg0) {
|
||||
|
||||
switch (arg0) {
|
||||
case 0:
|
||||
for (j = 0, i = 0; i < 67; j += 316 * 4, i++) {
|
||||
Lib_TextureRect_RGBA16(&gMasterDisp, gEndingAwardBack + j, 316, 4, 0.0f, 4 * i, 1.0f, 1.0f);
|
||||
}
|
||||
Lib_TextureRect_RGBA16(&gMasterDisp, gEndingAwardBack + j, 316, 3, 0.0f, 4 * i, 1.0f, 1.0f);
|
||||
TextureRect_RGBA16(&gMasterDisp, gEndingAwardBack, 316, 270, 0.0f, 0.0f, 1.0f, 1.0f);
|
||||
break;
|
||||
|
||||
case 1:
|
||||
for (j = 0, i = 0; i < 60; j += 316 * 4, i++) {
|
||||
Lib_TextureRect_RGBA16(&gMasterDisp, gEndingAwardFront + j, 316, 4, 0.0f, 4 * i, 1.0f, 1.0f);
|
||||
}
|
||||
TextureRect_RGBA16(&gMasterDisp, gEndingAwardFront, 316, 240, 0.0f, 0.0f, 1.0f, 1.0f);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -156,12 +156,10 @@ void Ending_8018D638(u32 arg0, AssetInfo* asset) {
|
||||
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 255, 255);
|
||||
|
||||
if (gExpertMode != 0) {
|
||||
for (i = 0; i < 240; i += 4) {
|
||||
if (gVenomHardClear == 0) {
|
||||
Lib_TextureRect_RGBA16(&gMasterDisp, gEndingNormalReward + 316 * i, 316, 4, 0.0f, i, 1.0f, 1.0f);
|
||||
} else {
|
||||
Lib_TextureRect_RGBA16(&gMasterDisp, gEndingExpertReward + 316 * i, 316, 4, 0.0f, i, 1.0f, 1.0f);
|
||||
}
|
||||
if (gVenomHardClear == 0) {
|
||||
Lib_TextureRect_RGBA16(&gMasterDisp, gEndingNormalReward, 316, 240, 0.0f, 0.0f, 1.0f, 1.0f);
|
||||
} else {
|
||||
Lib_TextureRect_RGBA16(&gMasterDisp, gEndingExpertReward, 316, 240, 0.0f, 0.0f, 1.0f, 1.0f);
|
||||
}
|
||||
} else {
|
||||
D_ending_80192E70 = 7200;
|
||||
|
Loading…
Reference in New Issue
Block a user