mirror of
https://github.com/zeldaret/oot.git
synced 2025-02-21 22:35:23 +00:00
Fix some negative values written as u16 instead of s16 in ichains
This commit is contained in:
parent
09529e36f8
commit
20755fef96
3 changed files with 4 additions and 4 deletions
|
@ -69,7 +69,7 @@ static BgSpot18ObjInitFunc D_808B910C[] = {
|
|||
};
|
||||
|
||||
static InitChainEntry sInitChain1[] = {
|
||||
ICHAIN_F32(minVelocityY, 65526, ICHAIN_CONTINUE), ICHAIN_F32(gravity, 65532, ICHAIN_CONTINUE),
|
||||
ICHAIN_F32(minVelocityY, -10, ICHAIN_CONTINUE), ICHAIN_F32(gravity, -4, ICHAIN_CONTINUE),
|
||||
ICHAIN_F32(uncullZoneForward, 1400, ICHAIN_CONTINUE), ICHAIN_F32(uncullZoneScale, 500, ICHAIN_CONTINUE),
|
||||
ICHAIN_F32(uncullZoneDownward, 800, ICHAIN_STOP),
|
||||
};
|
||||
|
|
|
@ -54,7 +54,7 @@ static ColliderQuadInit sColliderInit = {
|
|||
};
|
||||
|
||||
static InitChainEntry sInitChain[] = {
|
||||
ICHAIN_F32(minVelocityY, 65386, ICHAIN_STOP),
|
||||
ICHAIN_F32(minVelocityY, -150, ICHAIN_STOP),
|
||||
};
|
||||
|
||||
void EnArrow_SetupAction(EnArrow* this, EnArrowActionFunc actionFunc) {
|
||||
|
|
|
@ -153,8 +153,8 @@ static DamageTable sDamageTable[] = {
|
|||
static InitChainEntry sInitChain[] = {
|
||||
ICHAIN_S8(naviEnemyId, 0x45, ICHAIN_CONTINUE),
|
||||
ICHAIN_F32(targetArrowOffset, 2000, ICHAIN_CONTINUE),
|
||||
ICHAIN_F32(minVelocityY, 65496, ICHAIN_CONTINUE),
|
||||
ICHAIN_F32_DIV1000(gravity, 64536, ICHAIN_STOP),
|
||||
ICHAIN_F32(minVelocityY, -40, ICHAIN_CONTINUE),
|
||||
ICHAIN_F32_DIV1000(gravity, -1000, ICHAIN_STOP),
|
||||
};
|
||||
|
||||
static AnimationHeader* D_80B1B634[] = {
|
||||
|
|
Loading…
Add table
Reference in a new issue