1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-17 05:15:16 +00:00

Update Room Documentation (#2015)

* Update Room Documentation

* Write more complete documentation, implement suggestions.

* Function name changes; minor comment tweaks

* nit

* Resolve Dragorn fixes

* Resolve Fig suggestions, fix comment wording

* fix bss, fig suggestion

* bss
This commit is contained in:
mzxrules 2024-09-05 08:08:21 -04:00 committed by GitHub
parent dbb059c6a7
commit acb5c7f20c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 243 additions and 195 deletions

View file

@ -310,8 +310,8 @@ void CutsceneCmd_Misc(PlayState* play, CutsceneContext* csCtx, CsCmdMisc* cmd) {
break;
case CS_MISC_FADE_KOKIRI_GRASS_ENV_ALPHA:
if (play->roomCtx.unk_74[0] <= 127) {
play->roomCtx.unk_74[0] += 4;
if (play->roomCtx.drawParams[0] <= 127) {
play->roomCtx.drawParams[0] += 4;
}
break;
@ -324,14 +324,14 @@ void CutsceneCmd_Misc(PlayState* play, CutsceneContext* csCtx, CsCmdMisc* cmd) {
break;
case CS_MISC_DEKU_TREE_DEATH:
if (play->roomCtx.unk_74[0] < 1650) {
play->roomCtx.unk_74[0] += 20;
if (play->roomCtx.drawParams[0] < 1650) {
play->roomCtx.drawParams[0] += 20;
}
if (csCtx->curFrame == 783) {
Sfx_PlaySfxCentered(NA_SE_EV_DEKU_DEATH);
} else if (csCtx->curFrame == 717) {
play->roomCtx.unk_74[0] = 0;
play->roomCtx.drawParams[0] = 0;
}
break;
@ -344,12 +344,12 @@ void CutsceneCmd_Misc(PlayState* play, CutsceneContext* csCtx, CsCmdMisc* cmd) {
break;
case CS_MISC_TRIFORCE_FLASH:
if (play->roomCtx.unk_74[1] == 0) {
if (play->roomCtx.drawParams[1] == 0) {
Sfx_PlaySfxCentered(NA_SE_EV_TRIFORCE_FLASH);
}
if (play->roomCtx.unk_74[1] < 255) {
play->roomCtx.unk_74[1] += 5;
if (play->roomCtx.drawParams[1] < 255) {
play->roomCtx.drawParams[1] += 5;
}
break;