Fix some relocation mismatches

This commit is contained in:
LagoLunatic
2025-05-19 15:29:25 -04:00
parent bad1a7c7b2
commit d906d5cf96
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ namespace JAInter {
/* 0x0660 */ MoveParaSet mTrackPitches[32];
/* 0x0860 */ MoveParaSetInitZero mTrackFxmixes[32];
/* 0x0A60 */ MoveParaSetInitZero mTrackDolbys[32];
/* 0x0C60 */ MoveParaSet field_0xc60[32];
/* 0x0C60 */ MoveParaSetInitZero field_0xc60[32];
/* 0x0E60 */ u8 field_0xe60[0x1261 - 0xe60];
/* 0x1261 */ u8 field_0x1261;
/* 0x1262 */ u8 field_0x1262[0x1268 - 0x1262];
+2 -2
View File
@@ -2029,7 +2029,7 @@ void drawPoison(Mtx drawMtx, u8** pImg) {
for (s32 i = 0; i < dKy_getEnvlight().mPoisonCount; i++) {
f32 size = pPkt->mEff[i].mSize;
if (pPkt->mEff[i].mAlpha <= 0.0f)
if (pPkt->mEff[i].mAlpha <= 0.000001f)
continue;
GXLoadTexObj(&texObj, GX_TEXMAP0);
@@ -2203,7 +2203,7 @@ void drawWave(Mtx drawMtx, u8** pImg) {
f32 scaleBottom = dKy_getEnvlight().mWaveChan.mWaveScaleBottom * scale;
f32 strength = pPkt->mEff[i].mStrengthEnv;
f32 height = strength * scale;
f32 width = scaleBottom * (strength - 0.000015f * (i * 32) * height);
f32 width = scaleBottom * (strength - 0.00000015f * (i * 32) * height);
if (height <= 0.0f)
continue;