mirror of
https://github.com/zeldaret/oot.git
synced 2025-10-20 05:30:26 +00:00
Fix misc 22 (#1971)
* remove trailing whitespace * fix/docbug about dright for next page of fault menu * // size = ...; -> // size = ... * access `ColliderJntSph.elements` as an array * fixup doc in PreRender.c * empty line after decl * gdSPDefLights1 xyz arguments for direction are signed 8bit values * doc bug of bad use of free in EffDust actor * decimal for Actor.colorFilterTimer * shopItemEntries -> sShopItemEntries * HEISHI4_AT_KAKRIKO_ENTRANCE -> HEISHI4_AT_KAKARIKO_ENTRANCE * format
This commit is contained in:
parent
4dc70fefee
commit
2ce4742bf6
21 changed files with 49 additions and 42 deletions
|
@ -80,7 +80,7 @@ void EnHeishi4_Init(Actor* thisx, PlayState* play) {
|
|||
this->collider.dim.radius = 15;
|
||||
this->collider.dim.height = 70;
|
||||
switch (this->type) {
|
||||
case HEISHI4_AT_KAKRIKO_ENTRANCE:
|
||||
case HEISHI4_AT_KAKARIKO_ENTRANCE:
|
||||
case HEISHI4_AT_IMPAS_HOUSE:
|
||||
this->actionFunc = func_80A56328;
|
||||
break;
|
||||
|
@ -304,7 +304,7 @@ void func_80A56B40(EnHeishi4* this, PlayState* play) {
|
|||
}
|
||||
if (MaskReaction_GetTextId(play, sMaskReactionSets[reactionOffset]) != 0) {
|
||||
if (this->unk_2B4 == 0) {
|
||||
if ((this->type == HEISHI4_AT_KAKRIKO_ENTRANCE) || (this->type == HEISHI4_AT_IMPAS_HOUSE)) {
|
||||
if ((this->type == HEISHI4_AT_KAKARIKO_ENTRANCE) || (this->type == HEISHI4_AT_IMPAS_HOUSE)) {
|
||||
this->actionFunc = func_80A563BC;
|
||||
return;
|
||||
}
|
||||
|
@ -315,7 +315,7 @@ void func_80A56B40(EnHeishi4* this, PlayState* play) {
|
|||
}
|
||||
} else {
|
||||
if (this->unk_2B4 != 0) {
|
||||
if ((this->type == HEISHI4_AT_KAKRIKO_ENTRANCE) || (this->type == HEISHI4_AT_IMPAS_HOUSE)) {
|
||||
if ((this->type == HEISHI4_AT_KAKARIKO_ENTRANCE) || (this->type == HEISHI4_AT_IMPAS_HOUSE)) {
|
||||
this->actionFunc = func_80A563BC;
|
||||
return;
|
||||
}
|
||||
|
@ -326,7 +326,7 @@ void func_80A56B40(EnHeishi4* this, PlayState* play) {
|
|||
}
|
||||
}
|
||||
if (Actor_TalkOfferAccepted(&this->actor, play)) {
|
||||
if ((this->type == HEISHI4_AT_KAKRIKO_ENTRANCE) || (this->type == HEISHI4_AT_IMPAS_HOUSE)) {
|
||||
if ((this->type == HEISHI4_AT_KAKARIKO_ENTRANCE) || (this->type == HEISHI4_AT_IMPAS_HOUSE)) {
|
||||
this->unk_284 = 1;
|
||||
this->actionFunc = func_80A563BC;
|
||||
return;
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#include "global.h"
|
||||
|
||||
typedef enum {
|
||||
/* 0x00 */ HEISHI4_AT_KAKRIKO_ENTRANCE,
|
||||
/* 0x00 */ HEISHI4_AT_KAKARIKO_ENTRANCE,
|
||||
/* 0x04 */ HEISHI4_AT_IMPAS_HOUSE = 4,
|
||||
/* 0x07 */ HEISHI4_AT_MARKET_DYING = 7,
|
||||
/* 0x08 */ HEISHI4_AT_MARKET_NIGHT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue