mirror of
https://github.com/izzy2lost/2ship2harkinian-Android.git
synced 2026-06-19 01:20:08 -07:00
cleanup
This commit is contained in:
+19
-49
@@ -1651,7 +1651,7 @@ s16 func_80105318(void);
|
||||
void func_8010549C(PlayState* play, void* segmentAddress);
|
||||
void func_8010565C(PlayState* play, u8 num, void* segmentAddress);
|
||||
void func_80105818(PlayState* play, u32 uParm2, TransitionActorEntry* puParm3);
|
||||
void func_80105A40(void);
|
||||
void func_80105A40(PlayState* play);
|
||||
void func_80105B34(PlayState* play);
|
||||
void func_80105C40(s16 arg0);
|
||||
// void func_80105FE0(void);
|
||||
@@ -1728,7 +1728,7 @@ s32 func_8010A0A4(PlayState* play);
|
||||
// void func_8010A2AC(PlayState* play);
|
||||
void Minimap_SavePlayerRoomInitInfo(PlayState* play);
|
||||
void Map_InitRoomData(PlayState* play, s16 room);
|
||||
void Map_Destroy(void);
|
||||
void Map_Destroy(PlayState* play);
|
||||
void Map_Init(PlayState* play);
|
||||
void Minimap_Draw(PlayState* play);
|
||||
void Map_Update(PlayState* play);
|
||||
@@ -1806,31 +1806,23 @@ Vec3f* OLib_Vec3fDiffDegF(Vec3f* dest, Vec3f* a, Vec3f* b);
|
||||
Vec3s* OLib_Vec3fDiffBinAng(Vec3s* dest, Vec3f* a, Vec3f* b);
|
||||
void OLib_DbCameraVec3fDiff(PosRot* a, Vec3f* b, Vec3f* dest, s16 mode);
|
||||
void OLib_DbCameraVec3fSum(PosRot* a, Vec3f* b, Vec3f* dest, s16 mode);
|
||||
// void Gfx_DrawRectTextureRGBA16(UNK_TYPE1 param_1, UNK_TYPE1 param_2, UNK_TYPE1 param_3, UNK_TYPE1 param_4, UNK_TYPE2 param_5, UNK_TYPE2 param_6, UNK_TYPE2 param_7, UNK_TYPE2 param_8, UNK_TYPE2 param_9, UNK_TYPE2 param_10);
|
||||
// void Gfx_DrawRectTextureIA8(UNK_TYPE1 param_1, UNK_TYPE1 param_2, UNK_TYPE1 param_3, UNK_TYPE1 param_4, UNK_TYPE2 param_5, UNK_TYPE2 param_6, UNK_TYPE2 param_7, UNK_TYPE2 param_8, UNK_TYPE2 param_9, UNK_TYPE2 param_10);
|
||||
// void Gfx_DrawRectTextureIA8_DropShadow(UNK_TYPE1 param_1, UNK_TYPE1 param_2, UNK_TYPE1 param_3, UNK_TYPE1 param_4, UNK_TYPE2 param_5, UNK_TYPE2 param_6, UNK_TYPE2 param_7, UNK_TYPE2 param_8, UNK_TYPE2 param_9, UNK_TYPE2 param_10, UNK_TYPE2 param_11, UNK_TYPE2 param_12, UNK_TYPE2 param_13, UNK_TYPE2 param_14);
|
||||
// void Gfx_DrawRect_DropShadow(UNK_TYPE1 param_1, UNK_TYPE1 param_2, UNK_TYPE1 param_3, UNK_TYPE1 param_4, UNK_TYPE2 param_5, UNK_TYPE2 param_6, UNK_TYPE2 param_7, UNK_TYPE2 param_8, UNK_TYPE2 param_9, UNK_TYPE2 param_10, UNK_TYPE2 param_11);
|
||||
// void Gfx_DrawRectTextureIA8_DropShadowOffset(UNK_TYPE1 param_1, UNK_TYPE1 param_2, UNK_TYPE1 param_3, UNK_TYPE1 param_4, UNK_TYPE2 param_5, UNK_TYPE2 param_6, UNK_TYPE2 param_7, UNK_TYPE2 param_8, UNK_TYPE2 param_9, UNK_TYPE2 param_10, UNK_TYPE2 param_11, UNK_TYPE2 param_12, UNK_TYPE2 param_13, UNK_TYPE2 param_14, UNK_TYPE4 param_15, UNK_TYPE4 param_16);
|
||||
// void Gfx_DrawRectTextureI8(UNK_TYPE1 param_1, UNK_TYPE1 param_2, UNK_TYPE1 param_3, UNK_TYPE1 param_4, UNK_TYPE2 param_5, UNK_TYPE2 param_6, UNK_TYPE2 param_7, UNK_TYPE2 param_8, UNK_TYPE2 param_9, UNK_TYPE2 param_10);
|
||||
// void Gfx_DrawRectTexture(UNK_TYPE1 param_1, UNK_TYPE1 param_2, UNK_TYPE1 param_3, UNK_TYPE1 param_4, UNK_TYPE2 param_5, UNK_TYPE2 param_6, UNK_TYPE2 param_7, UNK_TYPE2 param_8, UNK_TYPE2 param_9, UNK_TYPE4 param_10, UNK_TYPE4 param_11, UNK_TYPE4 param_12, UNK_TYPE2 param_13, UNK_TYPE2 param_14);
|
||||
// void Gfx_DrawQuadTextureIA8(UNK_TYPE1 param_1, UNK_TYPE1 param_2, UNK_TYPE1 param_3, UNK_TYPE1 param_4, UNK_TYPE2 param_5);
|
||||
// void Gfx_DrawQuadTexture(UNK_TYPE1 param_1, UNK_TYPE1 param_2, UNK_TYPE1 param_3, UNK_TYPE1 param_4, UNK_TYPE2 param_5, UNK_TYPE2 param_6);
|
||||
// void Interface_InitVertices(void);
|
||||
// void Interface_PostmanTimerCallback(void);
|
||||
|
||||
Gfx* Gfx_DrawRectTextureRGBA16(Gfx* displayListHead, TexturePtr texture, s16 textureWidth, s16 textureHeight, s16 rectLeft, s16 rectTop, s16 rectWidth, s16 rectHeight, u16 dsdx, u16 dtdy);
|
||||
Gfx* Gfx_DrawRectTextureIA8(Gfx* displayListHead, TexturePtr texture, s16 textureWidth, s16 textureHeight, s16 rectLeft, s16 rectTop, s16 rectWidth, s16 rectHeight, u16 dsdx, u16 dtdy);
|
||||
Gfx* Gfx_DrawRectTextureI8(Gfx* displayListHead, TexturePtr texture, s16 textureWidth, s16 textureHeight, s16 rectLeft, s16 rectTop, s16 rectWidth, s16 rectHeight, u16 dsdx, u16 dtdy);
|
||||
Gfx* Gfx_DrawQuadTextureIA8(Gfx* displayListHead, TexturePtr texture, s16 textureWidth, s16 textureHeight, u16 point);
|
||||
Gfx* Gfx_DrawQuadTexture(Gfx* displayListHead, TexturePtr texture, s32 fmt, s16 textureWidth, s16 textureHeight, u16 point);
|
||||
|
||||
void Interface_StartTimer(s16 timerId, s16 timeLimit);
|
||||
void Interface_StartPostmanTimer(s16 timeLimit, s16 bunnyHoodState);
|
||||
// void Interface_StartGoronRaceTimer(void);
|
||||
// void Interface_StartBottleTimer(void);
|
||||
// void Interface_GetCompressedTimerDigits(void);
|
||||
void Interface_NewDay(PlayState* play, s32 day);
|
||||
void Interface_SetHudVisibility(u16 hudVisibility);
|
||||
// void func_80110038(void);
|
||||
// void func_80111CB4(void);
|
||||
// void Interface_SetSceneRestrictions(void);
|
||||
void func_80110038(PlayState* play);
|
||||
void Interface_SetSceneRestrictions(PlayState* play);
|
||||
void Interface_InitMinigame(PlayState* play);
|
||||
void Interface_LoadItemIconImpl(PlayState* play, u8 btn);
|
||||
void Interface_LoadItemIcon(PlayState* play, u8 btn);
|
||||
// void func_80112C0C(void);
|
||||
void func_80112C0C(PlayState* play, u16 flag);
|
||||
u8 Item_Give(PlayState* play, u8 item);
|
||||
u8 Item_CheckObtainability(u8 item);
|
||||
void Inventory_DeleteItem(s16 item, s16 slot);
|
||||
@@ -1842,11 +1834,10 @@ s32 Inventory_HasItemInBottle(u8 item);
|
||||
void Inventory_UpdateBottleItem(PlayState* play, u8 item, u8 btn);
|
||||
s32 Inventory_ConsumeFairy(PlayState* play);
|
||||
void Inventory_UpdateItem(PlayState* play, s16 slot, s16 item);
|
||||
// void func_801153C8(void);
|
||||
void Interface_SetDoAction(PlayState* play, u16 action);
|
||||
// void func_801155B4(void);
|
||||
// void Interface_SetNaviCall(void);
|
||||
void func_80115844(PlayState* play, s16 param_2);
|
||||
void Interface_SetAButtonDoAction(PlayState* play, u16 action);
|
||||
void Interface_SetBButtonDoAction(PlayState* play, s16 bButtonDoAction);
|
||||
void Interface_SetTatlCall(PlayState* play, u16 tatlCallState);
|
||||
void func_80115844(PlayState* play, s16 arg1);
|
||||
s32 Health_ChangeBy(PlayState* play, s16 healthChange);
|
||||
void Health_GiveHearts(s16 hearts);
|
||||
void Rupees_ChangeBy(s16 rupeeChange);
|
||||
@@ -1854,32 +1845,11 @@ void Inventory_ChangeAmmo(s16 item, s16 ammoChange);
|
||||
void Magic_Add(PlayState* play, s16 magicToAdd);
|
||||
void Magic_Reset(PlayState* play);
|
||||
s32 Magic_Consume(PlayState* play, s16 magicToConsume, s16 type);
|
||||
// void Interface_SetView1(UNK_TYPE1 param_1, UNK_TYPE1 param_2, UNK_TYPE1 param_3, UNK_TYPE1 param_4, UNK_TYPE4 param_5);
|
||||
// void Interface_SetView2(void);
|
||||
// void Interface_DrawItemButtons(void);
|
||||
// void Interface_DrawItemIconTexture(void);
|
||||
// void Interface_DrawAmmoCount(void);
|
||||
// void func_80118084(void);
|
||||
// void func_80118890(void);
|
||||
// void func_80118BA4(void);
|
||||
// void func_80119030(void);
|
||||
// void Interface_DrawClock(void);
|
||||
void Interface_SetPerfectMinigame(PlayState* play, s16 rewardType);
|
||||
// void func_8011B5C0(void);
|
||||
// void func_8011B9E0(void);
|
||||
// void func_8011BF70(void);
|
||||
// void Interface_DrawMinigamePerfect(void);
|
||||
void Interface_StartMoonCrash(PlayState* play);
|
||||
// void Interface_GetTimerDigits(void);
|
||||
// void Interface_DrawTimers(void);
|
||||
// void Interface_UpdateBottleTimers(void);
|
||||
// void Interface_DrawMinigameIcons(void);
|
||||
// void Interface_Draw(UNK_TYPE4 ctxt);
|
||||
// void Interface_LoadStory(void);
|
||||
// void func_80121000(UNK_TYPE1 param_1, UNK_TYPE1 param_2, UNK_TYPE1 param_3, UNK_TYPE1 param_4, UNK_TYPE4 param_5, UNK_TYPE4 param_6, UNK_TYPE4 param_7, UNK_TYPE1 param_8, UNK_TYPE1 param_9, UNK_TYPE1 param_10, UNK_TYPE4 param_11, UNK_TYPE4 param_12, UNK_TYPE4 param_13, UNK_TYPE4 param_14);
|
||||
// void Interface_AllocStory(void);
|
||||
// void Interface_Update(void);
|
||||
// void Interface_Destroy(void);
|
||||
void Interface_Draw(PlayState* play);
|
||||
void Interface_Update(PlayState* play);
|
||||
void Interface_Destroy(PlayState* play);
|
||||
void Interface_Init(PlayState* play);
|
||||
Path* Path_GetByIndex(PlayState* play, s16 index, s16 max);
|
||||
f32 Path_OrientAndGetDistSq(Actor* actor, Path* path, s16 waypoint, s16* yaw);
|
||||
|
||||
+1
-1
@@ -566,7 +566,7 @@ typedef struct {
|
||||
/* 0x218 */ f32 unk_218;
|
||||
/* 0x21C */ s16 unk_21C;
|
||||
/* 0x21E */ s16 bButtonDoAction;
|
||||
/* 0x220 */ s16 naviCalling; // tatlCalling?
|
||||
/* 0x220 */ s16 tatlCalling;
|
||||
/* 0x222 */ s16 unk_222;
|
||||
/* 0x224 */ s16 unk_224;
|
||||
/* 0x226 */ s16 lifeColorChange;
|
||||
|
||||
@@ -169,8 +169,8 @@ void Map_InitRoomData(PlayState* play, s16 room) {
|
||||
}
|
||||
}
|
||||
|
||||
void Map_Destroy(void) {
|
||||
func_80105A40();
|
||||
void Map_Destroy(PlayState* play) {
|
||||
func_80105A40(play);
|
||||
}
|
||||
|
||||
void Map_Init(PlayState* play) {
|
||||
|
||||
@@ -321,9 +321,9 @@ void func_80151938(PlayState* play, u16 textId) {
|
||||
|
||||
if (interfaceCtx->unk_222 == 0) {
|
||||
if (textId != 0x1B93) {
|
||||
Interface_SetDoAction(play, DO_ACTION_NEXT);
|
||||
Interface_SetAButtonDoAction(play, DO_ACTION_NEXT);
|
||||
} else if (textId != 0xF8) {
|
||||
Interface_SetDoAction(play, DO_ACTION_DECIDE);
|
||||
Interface_SetAButtonDoAction(play, DO_ACTION_DECIDE);
|
||||
}
|
||||
}
|
||||
msgCtx->unk1203C = msgCtx->unk1203A;
|
||||
|
||||
+30
-28
@@ -242,8 +242,8 @@ s16 sFinalHoursClockFrameEnvBlue = 0;
|
||||
s16 sFinalHoursClockColorTimer = 15;
|
||||
s16 sFinalHoursClockColorTargetIndex = 0;
|
||||
|
||||
Gfx* Gfx_DrawRectTextureRGBA16(Gfx* displayListHead, void* texture, s16 textureWidth, s16 textureHeight, s16 rectLeft,
|
||||
s16 rectTop, s16 rectWidth, s16 rectHeight, u16 dsdx, u16 dtdy) {
|
||||
Gfx* Gfx_DrawRectTextureRGBA16(Gfx* displayListHead, TexturePtr texture, s16 textureWidth, s16 textureHeight,
|
||||
s16 rectLeft, s16 rectTop, s16 rectWidth, s16 rectHeight, u16 dsdx, u16 dtdy) {
|
||||
gDPLoadTextureBlock(displayListHead++, texture, G_IM_FMT_RGBA, G_IM_SIZ_16b, textureWidth, textureHeight, 0,
|
||||
G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMASK, G_TX_NOMASK, G_TX_NOLOD,
|
||||
G_TX_NOLOD);
|
||||
@@ -254,7 +254,7 @@ Gfx* Gfx_DrawRectTextureRGBA16(Gfx* displayListHead, void* texture, s16 textureW
|
||||
return displayListHead;
|
||||
}
|
||||
|
||||
Gfx* Gfx_DrawRectTextureIA8(Gfx* displayListHead, void* texture, s16 textureWidth, s16 textureHeight, s16 rectLeft,
|
||||
Gfx* Gfx_DrawRectTextureIA8(Gfx* displayListHead, TexturePtr texture, s16 textureWidth, s16 textureHeight, s16 rectLeft,
|
||||
s16 rectTop, s16 rectWidth, s16 rectHeight, u16 dsdx, u16 dtdy) {
|
||||
gDPLoadTextureBlock(displayListHead++, texture, G_IM_FMT_IA, G_IM_SIZ_8b, textureWidth, textureHeight, 0,
|
||||
G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMASK, G_TX_NOMASK, G_TX_NOLOD,
|
||||
@@ -266,7 +266,7 @@ Gfx* Gfx_DrawRectTextureIA8(Gfx* displayListHead, void* texture, s16 textureWidt
|
||||
return displayListHead;
|
||||
}
|
||||
|
||||
Gfx* Gfx_DrawRectTextureIA8_DropShadow(Gfx* displayListHead, void* texture, s16 textureWidth, s16 textureHeight,
|
||||
Gfx* Gfx_DrawRectTextureIA8_DropShadow(Gfx* displayListHead, TexturePtr texture, s16 textureWidth, s16 textureHeight,
|
||||
s16 rectLeft, s16 rectTop, s16 rectWidth, s16 rectHeight, u16 dsdx, u16 dtdy,
|
||||
s16 r, s16 g, s16 b, s16 a) {
|
||||
s16 dropShadowAlpha = a;
|
||||
@@ -316,9 +316,10 @@ Gfx* Gfx_DrawRect_DropShadow(Gfx* displayListHead, s16 rectLeft, s16 rectTop, s1
|
||||
return displayListHead;
|
||||
}
|
||||
|
||||
Gfx* Gfx_DrawRectTextureIA8_DropShadowOffset(Gfx* displayListHead, void* texture, s16 textureWidth, s16 textureHeight,
|
||||
s16 rectLeft, s16 rectTop, s16 rectWidth, s16 rectHeight, u16 dsdx,
|
||||
u16 dtdy, s16 r, s16 g, s16 b, s16 a, s32 masks, s32 rectS) {
|
||||
Gfx* Gfx_DrawRectTextureIA8_DropShadowOffset(Gfx* displayListHead, TexturePtr texture, s16 textureWidth,
|
||||
s16 textureHeight, s16 rectLeft, s16 rectTop, s16 rectWidth,
|
||||
s16 rectHeight, u16 dsdx, u16 dtdy, s16 r, s16 g, s16 b, s16 a, s32 masks,
|
||||
s32 rectS) {
|
||||
s16 dropShadowAlpha = a;
|
||||
|
||||
if (a > 100) {
|
||||
@@ -343,7 +344,7 @@ Gfx* Gfx_DrawRectTextureIA8_DropShadowOffset(Gfx* displayListHead, void* texture
|
||||
return displayListHead;
|
||||
}
|
||||
|
||||
Gfx* Gfx_DrawRectTextureI8(Gfx* displayListHead, void* texture, s16 textureWidth, s16 textureHeight, s16 rectLeft,
|
||||
Gfx* Gfx_DrawRectTextureI8(Gfx* displayListHead, TexturePtr texture, s16 textureWidth, s16 textureHeight, s16 rectLeft,
|
||||
s16 rectTop, s16 rectWidth, s16 rectHeight, u16 dsdx, u16 dtdy) {
|
||||
gDPLoadTextureBlock(displayListHead++, texture, G_IM_FMT_I, G_IM_SIZ_8b, textureWidth, textureHeight, 0,
|
||||
G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMASK, G_TX_NOMASK, G_TX_NOLOD,
|
||||
@@ -355,7 +356,7 @@ Gfx* Gfx_DrawRectTextureI8(Gfx* displayListHead, void* texture, s16 textureWidth
|
||||
return displayListHead;
|
||||
}
|
||||
|
||||
Gfx* Gfx_DrawRectTexture(Gfx* displayListHead, void* texture, s32 fmt, s16 textureWidth, s16 textureHeight,
|
||||
Gfx* Gfx_DrawRectTexture(Gfx* displayListHead, TexturePtr texture, s32 fmt, s16 textureWidth, s16 textureHeight,
|
||||
s16 rectLeft, s16 rectTop, s16 rectWidth, s16 rectHeight, s32 cms, s32 masks, s32 s, u16 dsdx,
|
||||
u16 dtdy) {
|
||||
gDPLoadTextureBlock_4b(displayListHead++, texture, fmt, textureWidth, textureHeight, 0, cms,
|
||||
@@ -367,7 +368,7 @@ Gfx* Gfx_DrawRectTexture(Gfx* displayListHead, void* texture, s32 fmt, s16 textu
|
||||
return displayListHead;
|
||||
}
|
||||
|
||||
Gfx* Gfx_DrawQuadTextureIA8(Gfx* displayListHead, void* texture, s16 textureWidth, s16 textureHeight, u16 point) {
|
||||
Gfx* Gfx_DrawQuadTextureIA8(Gfx* displayListHead, TexturePtr texture, s16 textureWidth, s16 textureHeight, u16 point) {
|
||||
gDPLoadTextureBlock(displayListHead++, texture, G_IM_FMT_IA, G_IM_SIZ_8b, textureWidth, textureHeight, 0,
|
||||
G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMASK, G_TX_NOMASK, G_TX_NOLOD,
|
||||
G_TX_NOLOD);
|
||||
@@ -377,7 +378,8 @@ Gfx* Gfx_DrawQuadTextureIA8(Gfx* displayListHead, void* texture, s16 textureWidt
|
||||
return displayListHead;
|
||||
}
|
||||
|
||||
Gfx* Gfx_DrawQuadTexture(Gfx* displayListHead, void* texture, s32 fmt, s16 textureWidth, s16 textureHeight, u16 point) {
|
||||
Gfx* Gfx_DrawQuadTexture(Gfx* displayListHead, TexturePtr texture, s32 fmt, s16 textureWidth, s16 textureHeight,
|
||||
u16 point) {
|
||||
gDPLoadTextureBlock_4b(displayListHead++, texture, fmt, textureWidth, textureHeight, 0, G_TX_NOMIRROR | G_TX_WRAP,
|
||||
G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMASK, G_TX_NOMASK, G_TX_NOLOD, G_TX_NOLOD);
|
||||
|
||||
@@ -3036,22 +3038,22 @@ void Interface_LoadActionLabel(InterfaceContext* interfaceCtx, u16 action, s16 l
|
||||
func_801153C8(Lib_SegmentedToVirtual(sDoActionTextures[loadOffset]), 0x60);
|
||||
}
|
||||
|
||||
void Interface_SetDoAction(PlayState* play, u16 action) {
|
||||
void Interface_SetAButtonDoAction(PlayState* play, u16 aButtonDoAction) {
|
||||
InterfaceContext* interfaceCtx = &play->interfaceCtx;
|
||||
PauseContext* pauseCtx = &play->pauseCtx;
|
||||
|
||||
if (interfaceCtx->unk_214 != action) {
|
||||
interfaceCtx->unk_214 = action;
|
||||
if (interfaceCtx->unk_214 != aButtonDoAction) {
|
||||
interfaceCtx->unk_214 = aButtonDoAction;
|
||||
interfaceCtx->unk_210 = 1;
|
||||
interfaceCtx->unk_218 = 0.0f;
|
||||
Interface_LoadActionLabel(interfaceCtx, action, 1);
|
||||
Interface_LoadActionLabel(interfaceCtx, aButtonDoAction, 1);
|
||||
if (pauseCtx->state != 0) {
|
||||
interfaceCtx->unk_210 = 3;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void func_801155B4(PlayState* play, s16 bButtonDoAction) {
|
||||
void Interface_SetBButtonDoAction(PlayState* play, s16 bButtonDoAction) {
|
||||
InterfaceContext* interfaceCtx = &play->interfaceCtx;
|
||||
|
||||
if (((BUTTON_ITEM_EQUIP(CUR_FORM, EQUIP_SLOT_B) >= ITEM_SWORD_KOKIRI) &&
|
||||
@@ -3078,23 +3080,23 @@ void func_801155B4(PlayState* play, s16 bButtonDoAction) {
|
||||
}
|
||||
}
|
||||
|
||||
void Interface_SetNaviCall(PlayState* play, u16 naviCallState) {
|
||||
void Interface_SetTatlCall(PlayState* play, u16 tatlCallState) {
|
||||
InterfaceContext* interfaceCtx = &play->interfaceCtx;
|
||||
|
||||
if (((naviCallState == 0x2A) || (naviCallState == 0x2B)) && !interfaceCtx->naviCalling &&
|
||||
if (((tatlCallState == 0x2A) || (tatlCallState == 0x2B)) && !interfaceCtx->tatlCalling &&
|
||||
(play->csCtx.state == 0)) {
|
||||
if (naviCallState == 0x2B) {
|
||||
if (tatlCallState == 0x2B) {
|
||||
play_sound(NA_SE_VO_NAVY_CALL);
|
||||
}
|
||||
if (naviCallState == 0x2A) {
|
||||
if (tatlCallState == 0x2A) {
|
||||
func_8019FDC8(&gSfxDefaultPos, NA_SE_VO_NA_HELLO_2, 0x20);
|
||||
}
|
||||
interfaceCtx->naviCalling = true;
|
||||
interfaceCtx->tatlCalling = true;
|
||||
sCUpInvisible = 0;
|
||||
sCUpTimer = 10;
|
||||
} else if (naviCallState == 0x2C) {
|
||||
if (interfaceCtx->naviCalling) {
|
||||
interfaceCtx->naviCalling = false;
|
||||
} else if (tatlCallState == 0x2C) {
|
||||
if (interfaceCtx->tatlCalling) {
|
||||
interfaceCtx->tatlCalling = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3765,7 +3767,7 @@ void Interface_DrawItemButtons(PlayState* play) {
|
||||
}
|
||||
}
|
||||
|
||||
if (interfaceCtx->naviCalling && (play->pauseCtx.state == 0) && (play->pauseCtx.debugEditor == DEBUG_EDITOR_NONE) &&
|
||||
if (interfaceCtx->tatlCalling && (play->pauseCtx.state == 0) && (play->pauseCtx.debugEditor == DEBUG_EDITOR_NONE) &&
|
||||
(play->csCtx.state == 0) && (D_801BF884 == 0)) {
|
||||
if (sCUpInvisible == 0) {
|
||||
// C-Up Button Texture, Color & Label (Tatl Text)
|
||||
@@ -3824,7 +3826,7 @@ void Interface_DrawItemButtons(PlayState* play) {
|
||||
CLOSE_DISPS(play->state.gfxCtx);
|
||||
}
|
||||
|
||||
void Interface_DrawItemIconTexture(PlayState* play, void* texture, s16 button) {
|
||||
void Interface_DrawItemIconTexture(PlayState* play, TexturePtr texture, s16 button) {
|
||||
static s16 D_801BFAFC[] = { 30, 24, 24, 24 };
|
||||
|
||||
OPEN_DISPS(play->state.gfxCtx);
|
||||
@@ -6787,8 +6789,8 @@ void Interface_Update(PlayState* play) {
|
||||
}
|
||||
}
|
||||
|
||||
void Interface_Destroy(void) {
|
||||
Map_Destroy();
|
||||
void Interface_Destroy(PlayState* play) {
|
||||
Map_Destroy(play);
|
||||
func_80174F9C(Interface_PostmanTimerCallback, NULL);
|
||||
}
|
||||
|
||||
|
||||
@@ -801,7 +801,7 @@ void EnFsn_BeginInteraction(EnFsn* this, PlayState* play) {
|
||||
ActorCutscene_StartAndSetFlag(this->cutscene, &this->actor);
|
||||
this->cutsceneState = ENFSN_CUTSCENESTATE_PLAYING;
|
||||
if (Player_GetMask(play) == PLAYER_MASK_NONE) {
|
||||
Interface_SetDoAction(play, DO_ACTION_NEXT);
|
||||
Interface_SetAButtonDoAction(play, DO_ACTION_NEXT);
|
||||
if (EnFsn_HasItemsToSell()) {
|
||||
this->actionFunc = EnFsn_AskBuyOrSell;
|
||||
} else {
|
||||
@@ -881,7 +881,7 @@ void EnFsn_AskBuyOrSell(EnFsn* this, PlayState* play) {
|
||||
}
|
||||
}
|
||||
} else if (talkState == TEXT_STATE_CHOICE) {
|
||||
Interface_SetDoAction(play, DO_ACTION_DECIDE);
|
||||
Interface_SetAButtonDoAction(play, DO_ACTION_DECIDE);
|
||||
if (!EnFsn_TestEndInteraction(this, play, CONTROLLER1(&play->state)) && Message_ShouldAdvance(play)) {
|
||||
switch (play->msgCtx.choiceIndex) {
|
||||
case 0:
|
||||
@@ -1056,7 +1056,7 @@ void EnFsn_ResumeShoppingInteraction(EnFsn* this, PlayState* play) {
|
||||
} else if (this->actor.textId != 0x29D6) {
|
||||
this->actionFunc = EnFsn_AskCanBuyAterRunningOutOfItems;
|
||||
} else {
|
||||
Interface_SetDoAction(play, DO_ACTION_DECIDE);
|
||||
Interface_SetAButtonDoAction(play, DO_ACTION_DECIDE);
|
||||
this->stickLeftPrompt.isEnabled = false;
|
||||
this->stickRightPrompt.isEnabled = true;
|
||||
this->actionFunc = EnFsn_FaceShopkeeperSelling;
|
||||
@@ -1107,7 +1107,7 @@ void EnFsn_BrowseShelf(EnFsn* this, PlayState* play) {
|
||||
this->stickLeftPrompt.isEnabled = true;
|
||||
EnFsn_UpdateCursorPos(this, play);
|
||||
if (talkstate == TEXT_STATE_5) {
|
||||
Interface_SetDoAction(play, DO_ACTION_DECIDE);
|
||||
Interface_SetAButtonDoAction(play, DO_ACTION_DECIDE);
|
||||
if (!EnFsn_HasPlayerSelectedItem(this, play, CONTROLLER1(&play->state))) {
|
||||
EnFsn_CursorLeftRight(this);
|
||||
if (this->cursorIdx != prevCursorIdx) {
|
||||
@@ -1209,7 +1209,7 @@ void EnFsn_SelectItem(EnFsn* this, PlayState* play) {
|
||||
u8 talkState = Message_GetState(&play->msgCtx);
|
||||
|
||||
if (EnFsn_TakeItemOffShelf(this) && talkState == TEXT_STATE_CHOICE) {
|
||||
Interface_SetDoAction(play, DO_ACTION_DECIDE);
|
||||
Interface_SetAButtonDoAction(play, DO_ACTION_DECIDE);
|
||||
if (!EnFsn_TestCancelOption(this, play, CONTROLLER1(&play->state)) && Message_ShouldAdvance(play)) {
|
||||
switch (play->msgCtx.choiceIndex) {
|
||||
case 0:
|
||||
@@ -1329,7 +1329,7 @@ void EnFsn_FaceShopkeeperSelling(EnFsn* this, PlayState* play) {
|
||||
u8 cursorIdx;
|
||||
|
||||
if (talkState == TEXT_STATE_CHOICE) {
|
||||
Interface_SetDoAction(play, DO_ACTION_DECIDE);
|
||||
Interface_SetAButtonDoAction(play, DO_ACTION_DECIDE);
|
||||
if (!EnFsn_TestEndInteraction(this, play, CONTROLLER1(&play->state)) &&
|
||||
(!Message_ShouldAdvance(play) || !EnFsn_FacingShopkeeperDialogResult(this, play)) &&
|
||||
this->stickAccumX > 0) {
|
||||
@@ -1337,7 +1337,7 @@ void EnFsn_FaceShopkeeperSelling(EnFsn* this, PlayState* play) {
|
||||
if (cursorIdx != CURSOR_INVALID) {
|
||||
this->cursorIdx = cursorIdx;
|
||||
this->actionFunc = EnFsn_LookToShelf;
|
||||
Interface_SetDoAction(play, DO_ACTION_DECIDE);
|
||||
Interface_SetAButtonDoAction(play, DO_ACTION_DECIDE);
|
||||
this->stickRightPrompt.isEnabled = false;
|
||||
play_sound(NA_SE_SY_CURSOR);
|
||||
}
|
||||
|
||||
@@ -339,7 +339,7 @@ s32 EnOssan_TestCancelOption(EnOssan* this, PlayState* play, Input* input) {
|
||||
}
|
||||
|
||||
void EnOssan_SetupStartShopping(PlayState* play, EnOssan* this, u8 skipHello) {
|
||||
Interface_SetDoAction(play, DO_ACTION_NEXT);
|
||||
Interface_SetAButtonDoAction(play, DO_ACTION_NEXT);
|
||||
if (!skipHello) {
|
||||
EnOssan_SetupAction(this, EnOssan_Hello);
|
||||
} else {
|
||||
@@ -350,7 +350,7 @@ void EnOssan_SetupStartShopping(PlayState* play, EnOssan* this, u8 skipHello) {
|
||||
void EnOssan_StartShopping(PlayState* play, EnOssan* this) {
|
||||
EnOssan_SetupAction(this, EnOssan_FaceShopkeeper);
|
||||
func_80151938(play, 0x640);
|
||||
Interface_SetDoAction(play, DO_ACTION_DECIDE);
|
||||
Interface_SetAButtonDoAction(play, DO_ACTION_DECIDE);
|
||||
this->stickRightPrompt.isEnabled = true;
|
||||
this->stickLeftPrompt.isEnabled = true;
|
||||
}
|
||||
@@ -603,7 +603,7 @@ s32 EnOssan_FacingShopkeeperDialogResult(EnOssan* this, PlayState* play) {
|
||||
}
|
||||
EnOssan_SetupAction(this, EnOssan_TalkToShopkeeper);
|
||||
func_80151938(play, sTalkOptionTextIds[this->actor.params]);
|
||||
Interface_SetDoAction(play, DO_ACTION_DECIDE);
|
||||
Interface_SetAButtonDoAction(play, DO_ACTION_DECIDE);
|
||||
this->stickLeftPrompt.isEnabled = false;
|
||||
this->stickRightPrompt.isEnabled = false;
|
||||
return true;
|
||||
@@ -630,7 +630,7 @@ void EnOssan_FaceShopkeeper(EnOssan* this, PlayState* play) {
|
||||
this->cutsceneState = ENOSSAN_CUTSCENESTATE_WAITING;
|
||||
} else {
|
||||
if (talkState == TEXT_STATE_CHOICE) {
|
||||
Interface_SetDoAction(play, DO_ACTION_DECIDE);
|
||||
Interface_SetAButtonDoAction(play, DO_ACTION_DECIDE);
|
||||
if (!EnOssan_TestEndInteraction(this, play, CONTROLLER1(&play->state)) &&
|
||||
(!Message_ShouldAdvance(play) || !EnOssan_FacingShopkeeperDialogResult(this, play))) {
|
||||
if (this->stickAccumX < 0) {
|
||||
@@ -638,7 +638,7 @@ void EnOssan_FaceShopkeeper(EnOssan* this, PlayState* play) {
|
||||
if (cursorIdx != CURSOR_INVALID) {
|
||||
this->cursorIdx = cursorIdx;
|
||||
EnOssan_SetupAction(this, EnOssan_LookToLeftShelf);
|
||||
Interface_SetDoAction(play, DO_ACTION_DECIDE);
|
||||
Interface_SetAButtonDoAction(play, DO_ACTION_DECIDE);
|
||||
this->stickLeftPrompt.isEnabled = false;
|
||||
play_sound(NA_SE_SY_CURSOR);
|
||||
}
|
||||
@@ -647,7 +647,7 @@ void EnOssan_FaceShopkeeper(EnOssan* this, PlayState* play) {
|
||||
if (cursorIdx != CURSOR_INVALID) {
|
||||
this->cursorIdx = cursorIdx;
|
||||
EnOssan_SetupAction(this, EnOssan_LookToRightShelf);
|
||||
Interface_SetDoAction(play, DO_ACTION_DECIDE);
|
||||
Interface_SetAButtonDoAction(play, DO_ACTION_DECIDE);
|
||||
this->stickRightPrompt.isEnabled = false;
|
||||
play_sound(NA_SE_SY_CURSOR);
|
||||
}
|
||||
@@ -853,7 +853,7 @@ void EnOssan_BrowseLeftShelf(EnOssan* this, PlayState* play) {
|
||||
this->stickRightPrompt.isEnabled = true;
|
||||
EnOssan_UpdateCursorPos(play, this);
|
||||
if (talkState == TEXT_STATE_5) {
|
||||
Interface_SetDoAction(play, DO_ACTION_DECIDE);
|
||||
Interface_SetAButtonDoAction(play, DO_ACTION_DECIDE);
|
||||
if (!EnOssan_HasPlayerSelectedItem(play, this, CONTROLLER1(&play->state))) {
|
||||
if (this->moveHorizontal) {
|
||||
if (this->stickAccumX > 0) {
|
||||
@@ -911,7 +911,7 @@ void EnOssan_BrowseRightShelf(EnOssan* this, PlayState* play) {
|
||||
this->stickLeftPrompt.isEnabled = true;
|
||||
EnOssan_UpdateCursorPos(play, this);
|
||||
if (talkState == TEXT_STATE_5) {
|
||||
Interface_SetDoAction(play, DO_ACTION_DECIDE);
|
||||
Interface_SetAButtonDoAction(play, DO_ACTION_DECIDE);
|
||||
if (!EnOssan_HasPlayerSelectedItem(play, this, CONTROLLER1(&play->state))) {
|
||||
if (this->moveHorizontal != 0) {
|
||||
if (this->stickAccumX < 0) {
|
||||
@@ -1052,7 +1052,7 @@ void EnOssan_SelectItem(EnOssan* this, PlayState* play) {
|
||||
u8 talkState = Message_GetState(&play->msgCtx);
|
||||
|
||||
if (EnOssan_TakeItemOffShelf(this) && (talkState == TEXT_STATE_CHOICE)) {
|
||||
Interface_SetDoAction(play, DO_ACTION_DECIDE);
|
||||
Interface_SetAButtonDoAction(play, DO_ACTION_DECIDE);
|
||||
if (!EnOssan_TestCancelOption(this, play, CONTROLLER1(&play->state)) && Message_ShouldAdvance(play)) {
|
||||
switch (play->msgCtx.choiceIndex) {
|
||||
case 0:
|
||||
@@ -1119,7 +1119,7 @@ void EnOssan_ContinueShopping(EnOssan* this, PlayState* play) {
|
||||
EnGirlA* item;
|
||||
|
||||
if (talkState == TEXT_STATE_CHOICE) {
|
||||
Interface_SetDoAction(play, DO_ACTION_DECIDE);
|
||||
Interface_SetAButtonDoAction(play, DO_ACTION_DECIDE);
|
||||
if (Message_ShouldAdvance(play)) {
|
||||
EnOssan_ResetItemPosition(this);
|
||||
item = this->items[this->cursorIdx];
|
||||
|
||||
@@ -474,7 +474,7 @@ s32 EnSob1_TestCancelOption(EnSob1* this, PlayState* play, Input* input) {
|
||||
}
|
||||
|
||||
void EnSob1_SetupStartShopping(PlayState* play, EnSob1* this, u8 skipHello) {
|
||||
Interface_SetDoAction(play, DO_ACTION_NEXT);
|
||||
Interface_SetAButtonDoAction(play, DO_ACTION_NEXT);
|
||||
if (!skipHello) {
|
||||
EnSob1_SetupAction(this, EnSob1_Hello);
|
||||
} else {
|
||||
@@ -485,7 +485,7 @@ void EnSob1_SetupStartShopping(PlayState* play, EnSob1* this, u8 skipHello) {
|
||||
void EnSob1_StartShopping(PlayState* play, EnSob1* this) {
|
||||
EnSob1_SetupAction(this, EnSob1_FaceShopkeeper);
|
||||
func_80151938(play, sFacingShopkeeperTextIds[this->shopType]);
|
||||
Interface_SetDoAction(play, DO_ACTION_DECIDE);
|
||||
Interface_SetAButtonDoAction(play, DO_ACTION_DECIDE);
|
||||
this->stickLeftPrompt.isEnabled = false;
|
||||
this->stickRightPrompt.isEnabled = true;
|
||||
}
|
||||
@@ -494,7 +494,7 @@ void EnSob1_TalkToShopkeeper(PlayState* play, EnSob1* this) {
|
||||
EnSob1_SetupAction(this, EnSob1_TalkingToShopkeeper);
|
||||
this->talkOptionTextId = EnSob1_GetTalkOption(this, play);
|
||||
func_80151938(play, this->talkOptionTextId);
|
||||
Interface_SetDoAction(play, DO_ACTION_DECIDE);
|
||||
Interface_SetAButtonDoAction(play, DO_ACTION_DECIDE);
|
||||
this->stickLeftPrompt.isEnabled = false;
|
||||
this->stickRightPrompt.isEnabled = false;
|
||||
}
|
||||
@@ -660,7 +660,7 @@ void EnSob1_FaceShopkeeper(EnSob1* this, PlayState* play) {
|
||||
this->cutsceneState = ENSOB1_CUTSCENESTATE_WAITING;
|
||||
} else {
|
||||
if (talkState == TEXT_STATE_CHOICE) {
|
||||
Interface_SetDoAction(play, DO_ACTION_DECIDE);
|
||||
Interface_SetAButtonDoAction(play, DO_ACTION_DECIDE);
|
||||
if (!EnSob1_TestEndInteraction(this, play, CONTROLLER1(&play->state))) {
|
||||
if (!Message_ShouldAdvance(play) || !EnSob1_FacingShopkeeperDialogResult(this, play)) {
|
||||
if (this->stickAccumX > 0) {
|
||||
@@ -668,7 +668,7 @@ void EnSob1_FaceShopkeeper(EnSob1* this, PlayState* play) {
|
||||
if (cursorIndex != CURSOR_INVALID) {
|
||||
this->cursorIndex = cursorIndex;
|
||||
EnSob1_SetupAction(this, EnSob1_LookToShelf);
|
||||
Interface_SetDoAction(play, DO_ACTION_DECIDE);
|
||||
Interface_SetAButtonDoAction(play, DO_ACTION_DECIDE);
|
||||
this->stickRightPrompt.isEnabled = false;
|
||||
play_sound(NA_SE_SY_CURSOR);
|
||||
}
|
||||
@@ -913,7 +913,7 @@ void EnSob1_BrowseShelf(EnSob1* this, PlayState* play) {
|
||||
this->stickLeftPrompt.isEnabled = true;
|
||||
EnSob1_UpdateCursorPos(play, this);
|
||||
if (talkState == TEXT_STATE_5) {
|
||||
Interface_SetDoAction(play, DO_ACTION_DECIDE);
|
||||
Interface_SetAButtonDoAction(play, DO_ACTION_DECIDE);
|
||||
if (!EnSob1_HasPlayerSelectedItem(play, this, CONTROLLER1(&play->state))) {
|
||||
EnSob1_CursorLeftRight(play, this);
|
||||
cursorIndex = this->cursorIndex;
|
||||
@@ -1021,7 +1021,7 @@ void EnSob1_SelectItem(EnSob1* this, PlayState* play) {
|
||||
u8 talkState = Message_GetState(&play->msgCtx);
|
||||
|
||||
if (EnSob1_TakeItemOffShelf(this) && (talkState == TEXT_STATE_CHOICE)) {
|
||||
Interface_SetDoAction(play, DO_ACTION_DECIDE);
|
||||
Interface_SetAButtonDoAction(play, DO_ACTION_DECIDE);
|
||||
if (!EnSob1_TestCancelOption(this, play, CONTROLLER1(&play->state)) && Message_ShouldAdvance(play)) {
|
||||
switch (play->msgCtx.choiceIndex) {
|
||||
case 0:
|
||||
|
||||
@@ -240,7 +240,7 @@ s32 EnTrt_TestCancelOption(EnTrt* this, PlayState* play, Input* input) {
|
||||
}
|
||||
|
||||
void EnTrt_SetupStartShopping(PlayState* play, EnTrt* this, u8 skipHello) {
|
||||
Interface_SetDoAction(play, DO_ACTION_NEXT);
|
||||
Interface_SetAButtonDoAction(play, DO_ACTION_NEXT);
|
||||
if (!skipHello) {
|
||||
this->actionFunc = EnTrt_Hello;
|
||||
} else {
|
||||
@@ -250,7 +250,7 @@ void EnTrt_SetupStartShopping(PlayState* play, EnTrt* this, u8 skipHello) {
|
||||
|
||||
void EnTrt_StartShopping(PlayState* play, EnTrt* this) {
|
||||
func_80151938(play, 0x83E);
|
||||
Interface_SetDoAction(play, DO_ACTION_DECIDE);
|
||||
Interface_SetAButtonDoAction(play, DO_ACTION_DECIDE);
|
||||
this->stickLeftPrompt.isEnabled = false;
|
||||
this->stickRightPrompt.isEnabled = true;
|
||||
this->actionFunc = EnTrt_FaceShopkeeper;
|
||||
@@ -519,7 +519,7 @@ void EnTrt_FaceShopkeeper(EnTrt* this, PlayState* play) {
|
||||
ActorCutscene_SetIntentToPlay(this->cutscene);
|
||||
this->cutsceneState = ENTRT_CUTSCENESTATE_WAITING;
|
||||
} else if (talkState == TEXT_STATE_CHOICE) {
|
||||
Interface_SetDoAction(play, DO_ACTION_DECIDE);
|
||||
Interface_SetAButtonDoAction(play, DO_ACTION_DECIDE);
|
||||
if (!EnTrt_TestEndInteraction(this, play, CONTROLLER1(&play->state))) {
|
||||
if ((!Message_ShouldAdvance(play) || !EnTrt_FacingShopkeeperDialogResult(this, play)) &&
|
||||
(this->stickAccumX > 0)) {
|
||||
@@ -527,7 +527,7 @@ void EnTrt_FaceShopkeeper(EnTrt* this, PlayState* play) {
|
||||
if (cursorIdx != CURSOR_INVALID) {
|
||||
this->cursorIdx = cursorIdx;
|
||||
this->actionFunc = EnTrt_LookToShelf;
|
||||
Interface_SetDoAction(play, DO_ACTION_DECIDE);
|
||||
Interface_SetAButtonDoAction(play, DO_ACTION_DECIDE);
|
||||
this->stickRightPrompt.isEnabled = false;
|
||||
play_sound(NA_SE_SY_CURSOR);
|
||||
}
|
||||
@@ -621,7 +621,7 @@ void EnTrt_BrowseShelf(EnTrt* this, PlayState* play) {
|
||||
this->stickLeftPrompt.isEnabled = true;
|
||||
EnTrt_UpdateCursorPos(play, this);
|
||||
if (talkState == TEXT_STATE_5) {
|
||||
Interface_SetDoAction(play, DO_ACTION_DECIDE);
|
||||
Interface_SetAButtonDoAction(play, DO_ACTION_DECIDE);
|
||||
if (!EnTrt_HasPlayerSelectedItem(play, this, CONTROLLER1(&play->state))) {
|
||||
EnTrt_CursorLeftRight(play, this);
|
||||
if (this->cursorIdx != prevCursorIdx) {
|
||||
@@ -706,7 +706,7 @@ void EnTrt_SelectItem(EnTrt* this, PlayState* play) {
|
||||
|
||||
if (EnTrt_TakeItemOffShelf(this)) {
|
||||
if (talkState == TEXT_STATE_CHOICE) {
|
||||
Interface_SetDoAction(play, DO_ACTION_DECIDE);
|
||||
Interface_SetAButtonDoAction(play, DO_ACTION_DECIDE);
|
||||
if (!EnTrt_TestCancelOption(this, play, CONTROLLER1(&play->state)) && Message_ShouldAdvance(play)) {
|
||||
switch (play->msgCtx.choiceIndex) {
|
||||
case 0:
|
||||
@@ -875,7 +875,7 @@ void EnTrt_BeginInteraction(EnTrt* this, PlayState* play) {
|
||||
case 0x834:
|
||||
if (!(gSaveContext.save.weekEventReg[12] & 8) && !(gSaveContext.save.weekEventReg[84] & 0x40) &&
|
||||
!(gSaveContext.save.weekEventReg[16] & 0x10) && !(gSaveContext.save.weekEventReg[17] & 1)) {
|
||||
Interface_SetDoAction(play, DO_ACTION_DECIDE);
|
||||
Interface_SetAButtonDoAction(play, DO_ACTION_DECIDE);
|
||||
this->stickLeftPrompt.isEnabled = false;
|
||||
this->stickRightPrompt.isEnabled = true;
|
||||
this->actionFunc = EnTrt_Hello;
|
||||
@@ -884,7 +884,7 @@ void EnTrt_BeginInteraction(EnTrt* this, PlayState* play) {
|
||||
}
|
||||
break;
|
||||
case 0x83E:
|
||||
Interface_SetDoAction(play, DO_ACTION_DECIDE);
|
||||
Interface_SetAButtonDoAction(play, DO_ACTION_DECIDE);
|
||||
this->stickLeftPrompt.isEnabled = false;
|
||||
this->stickRightPrompt.isEnabled = true;
|
||||
this->actionFunc = EnTrt_FaceShopkeeper;
|
||||
@@ -1093,7 +1093,7 @@ void EnTrt_ContinueShopping(EnTrt* this, PlayState* play) {
|
||||
EnGirlA* item;
|
||||
|
||||
if (talkState == TEXT_STATE_CHOICE) {
|
||||
Interface_SetDoAction(play, DO_ACTION_DECIDE);
|
||||
Interface_SetAButtonDoAction(play, DO_ACTION_DECIDE);
|
||||
if (Message_ShouldAdvance(play)) {
|
||||
EnTrt_ResetItemPosition(this);
|
||||
item = this->items[this->cursorIdx];
|
||||
@@ -1406,7 +1406,7 @@ void EnTrt_TalkToShopkeeper(EnTrt* this, PlayState* play) {
|
||||
void EnTrt_SetupTalkToShopkeeper(PlayState* play, EnTrt* this) {
|
||||
this->actionFunc = EnTrt_TalkToShopkeeper;
|
||||
func_80151938(play, this->talkOptionTextId);
|
||||
Interface_SetDoAction(play, DO_ACTION_DECIDE);
|
||||
Interface_SetAButtonDoAction(play, DO_ACTION_DECIDE);
|
||||
this->stickLeftPrompt.isEnabled = false;
|
||||
this->stickRightPrompt.isEnabled = false;
|
||||
}
|
||||
|
||||
@@ -2126,9 +2126,9 @@
|
||||
0x801152B8:("Inventory_UpdateItem",),
|
||||
0x801153C8:("func_801153C8",),
|
||||
0x80115428:("Interface_LoadActionLabel",),
|
||||
0x8011552C:("Interface_SetDoAction",),
|
||||
0x801155B4:("func_801155B4",),
|
||||
0x80115764:("Interface_SetNaviCall",),
|
||||
0x8011552C:("Interface_SetAButtonDoAction",),
|
||||
0x801155B4:("Interface_SetBButtonDoAction",),
|
||||
0x80115764:("Interface_SetTatlCall",),
|
||||
0x80115844:("func_80115844",),
|
||||
0x80115908:("Health_ChangeBy",),
|
||||
0x801159C0:("Health_GiveHearts",),
|
||||
|
||||
@@ -1640,9 +1640,9 @@ asm/non_matchings/code/z_parameter/Inventory_ConsumeFairy.s,Inventory_ConsumeFai
|
||||
asm/non_matchings/code/z_parameter/Inventory_UpdateItem.s,Inventory_UpdateItem,0x801152B8,0x44
|
||||
asm/non_matchings/code/z_parameter/func_801153C8.s,func_801153C8,0x801153C8,0x18
|
||||
asm/non_matchings/code/z_parameter/Interface_LoadActionLabel.s,Interface_LoadActionLabel,0x80115428,0x41
|
||||
asm/non_matchings/code/z_parameter/Interface_SetDoAction.s,Interface_SetDoAction,0x8011552C,0x22
|
||||
asm/non_matchings/code/z_parameter/func_801155B4.s,func_801155B4,0x801155B4,0x6C
|
||||
asm/non_matchings/code/z_parameter/Interface_SetNaviCall.s,Interface_SetNaviCall,0x80115764,0x38
|
||||
asm/non_matchings/code/z_parameter/Interface_SetAButtonDoAction.s,Interface_SetAButtonDoAction,0x8011552C,0x22
|
||||
asm/non_matchings/code/z_parameter/Interface_SetBButtonDoAction.s,Interface_SetBButtonDoAction,0x801155B4,0x6C
|
||||
asm/non_matchings/code/z_parameter/Interface_SetTatlCall.s,Interface_SetTatlCall,0x80115764,0x38
|
||||
asm/non_matchings/code/z_parameter/func_80115844.s,func_80115844,0x80115844,0x31
|
||||
asm/non_matchings/code/z_parameter/Health_ChangeBy.s,Health_ChangeBy,0x80115908,0x2E
|
||||
asm/non_matchings/code/z_parameter/Health_GiveHearts.s,Health_GiveHearts,0x801159C0,0xB
|
||||
|
||||
|
Reference in New Issue
Block a user