mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-28 22:33:53 +01:00
Phase2_Ripple_Func2
This commit is contained in:
parent
9aaf498471
commit
405384de89
@ -1961,9 +1961,10 @@ static bool8 Phase2_Ripple_Func2(struct Task *task)
|
|||||||
|
|
||||||
for (i = 0; i < 160; i++, r4 += r8)
|
for (i = 0; i < 160; i++, r4 += r8)
|
||||||
{
|
{
|
||||||
// todo: fix the asm
|
|
||||||
s16 var = r4 >> 8;
|
s16 var = r4 >> 8;
|
||||||
asm("");
|
|
||||||
|
++var;
|
||||||
|
--var;
|
||||||
gScanlineEffectRegBuffers[0][i] = sTransitionStructPtr->field_16 + Sin(var, r3);
|
gScanlineEffectRegBuffers[0][i] = sTransitionStructPtr->field_16 + Sin(var, r3);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user