mirror of
https://github.com/zeldaret/tww.git
synced 2026-07-11 14:38:38 -04:00
Fix some relocation mismatches
This commit is contained in:
@@ -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];
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user