mirror of
https://github.com/zeldaret/oot.git
synced 2024-12-05 01:06:37 +00:00
ugh, and fix a typo with blinking
rushing is no good
This commit is contained in:
parent
df4900477d
commit
f5e61f96d3
1 changed files with 2 additions and 2 deletions
|
@ -545,9 +545,9 @@ u8 EnMd_ShouldSpawn(EnMd* this, PlayState* play) {
|
||||||
void EnMd_UpdateEyes(EnMd* this) {
|
void EnMd_UpdateEyes(EnMd* this) {
|
||||||
if (DECR(this->blinkTimer) == 0) {
|
if (DECR(this->blinkTimer) == 0) {
|
||||||
this->eyeTexIndex++;
|
this->eyeTexIndex++;
|
||||||
if (this->eyeTexIndex > 0) {
|
if (this->eyeTexIndex > 2) {
|
||||||
this->blinkTimer = Rand_S16Offset(30, 30);
|
this->blinkTimer = Rand_S16Offset(30, 30);
|
||||||
this->eyeTexIndex = 2;
|
this->eyeTexIndex = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue