1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-12-04 16:55:56 +00:00

ugh, and fix a typo with blinking

rushing is no good
This commit is contained in:
feacur 2024-11-10 13:20:35 +01:00
parent df4900477d
commit f5e61f96d3

View file

@ -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;
} }
} }
} }