mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-03 06:24:30 +00:00
Migrate .bss for fault drawer and .data for item00 (#823)
* Item00 and fault drawer * Test * Test2 * test3 * test4 * remove .data file for item00 * revert hex * WHY * PLEASE * PR fixes (Roman) and run clang-format version 10 * Fault_drawer was swapped ...again)
This commit is contained in:
parent
c644aaa2ee
commit
23dc339882
6 changed files with 316 additions and 101 deletions
|
@ -349,7 +349,7 @@ void EnVali_FloatIdle(EnVali* this, GlobalContext* globalCtx) {
|
|||
|
||||
curFrame = ((curFrame > 40) ? (80 - curFrame) : curFrame);
|
||||
|
||||
this->actor.shape.rot.y += (s16)((curFrame + 4) * 0.4f * ( 0x10000 / 360.0f ));
|
||||
this->actor.shape.rot.y += (s16)((curFrame + 4) * 0.4f * (0x10000 / 360.0f));
|
||||
if (this->actor.xzDistToPlayer > 250.0f) {
|
||||
EnVali_SetupReturnToLurk(this);
|
||||
}
|
||||
|
@ -422,11 +422,9 @@ void EnVali_DivideAndDie(EnVali* this, GlobalContext* globalCtx) {
|
|||
scale = Rand_S16Offset(40, 40);
|
||||
|
||||
if (Rand_ZeroOne() < 0.7f) {
|
||||
EffectSsDtBubble_SpawnColorProfile(globalCtx, &pos, &velocity, &accel, scale, 25, 2,
|
||||
1);
|
||||
EffectSsDtBubble_SpawnColorProfile(globalCtx, &pos, &velocity, &accel, scale, 25, 2, 1);
|
||||
} else {
|
||||
EffectSsDtBubble_SpawnColorProfile(globalCtx, &pos, &velocity, &accel, scale, 25, 0,
|
||||
1);
|
||||
EffectSsDtBubble_SpawnColorProfile(globalCtx, &pos, &velocity, &accel, scale, 25, 0, 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue