The sanctum's services, their prices and their sparkles. More...
Go to the source code of this file.
Functions | |
| s32 | Shop_ServicePrice (s32 unitId, s32 serviceKind) |
| Calculates the existing fee for reviving, curing poison, exorcising or removing a curse. | |
| s32 | Shop_CanServe (s32 unitId, s32 serviceKind) |
| Checks whether a member needs the selected sanctum service. | |
| s32 | Shop_CountUnits (void) |
| Counts party members who need the currently selected sanctum service. | |
| s32 | Shop_MsgByMode (s32 messageId) |
| Selects the matching poison, exorcism or curse-service message from a revive message base. | |
| void | UiMessage_ShowResolvedAndWait (s32 messageId) |
| Resolves service dialogue and waits for completion, including the final frame. | |
| void | UiMessage_ShowResolvedAndRestoreState (s32 messageId) |
| Resolves service dialogue, waits for it and restores the cursor's saved mode. | |
| s32 | Shop_ConfirmAct (s32 unitId) |
| Runs the sanctum service menu using the shared shop cursor and window resources. | |
| s32 | Sanctum_RunPartyService (void) |
| Selects an eligible member, confirms the donation and applies the chosen service. | |
| void | BattleUnit_ResetStateByMode (s32 unitId, s32 serviceKind) |
| Revives, cures poison, removes a haunting or unequips cursed items for a sanctum service. | |
| void | Shop_HiliteUnit (struct UiWindow *window, s32 selected) |
| Highlights the selected party icon and dims members who do not need the sanctum service. | |
| void | Shop_DrawSelectMsg (struct UiWindow *target, s32 unitId) |
| Shows the selected member's service price or the message that no treatment is needed. | |
| void | BattleFx_UpdateRadialMotion (struct EffectSlot *effect) |
| Picks random particle positions, moves toward the target and releases finished particles. | |
| void | Shop_ResetEffects (void) |
| Updates all 24 service particles, then randomizes the active member's pose. | |
| void | Shop_RunPartyMemberIconBurst (s32 member) |
| Animates the selected member and service particles, then restores the menu and cursor. | |
Variables | |
| static const s8 | sSanctumServiceCues [4] |
| Sound effects for each party member action. | |
The sanctum's services, their prices and their sparkles.
Part of shop.c, the shop object, compiled only through it.
Definition in file sanctum.c.
Calculates the existing fee for reviving, curing poison, exorcising or removing a curse.
Definition at line 9 of file sanctum.c.
Referenced by Sanctum_RunPartyService(), Shop_DrawSelectMsg(), and Shop_ServicePrice().
Checks whether a member needs the selected sanctum service.
Definition at line 26 of file sanctum.c.
Referenced by Sanctum_RunPartyService(), Shop_CanServe(), Shop_CountUnits(), Shop_DrawSelectMsg(), and Shop_HiliteUnit().
| s32 Shop_CountUnits | ( | void | ) |
Counts party members who need the currently selected sanctum service.
Definition at line 40 of file sanctum.c.
Referenced by Sanctum_RunPartyService(), Shop_ConfirmAct(), and Shop_CountUnits().
Selects the matching poison, exorcism or curse-service message from a revive message base.
Definition at line 55 of file sanctum.c.
Referenced by Shop_DrawSelectMsg(), Shop_MsgByMode(), UiMessage_ShowResolvedAndRestoreState(), and UiMessage_ShowResolvedAndWait().
| void UiMessage_ShowResolvedAndWait | ( | s32 | messageId | ) |
Resolves service dialogue and waits for completion, including the final frame.
Definition at line 72 of file sanctum.c.
Referenced by Sanctum_RunPartyService(), Shop_ConfirmAct(), and UiMessage_ShowResolvedAndWait().
| void UiMessage_ShowResolvedAndRestoreState | ( | s32 | messageId | ) |
Resolves service dialogue, waits for it and restores the cursor's saved mode.
Definition at line 89 of file sanctum.c.
Referenced by Sanctum_RunPartyService(), and UiMessage_ShowResolvedAndRestoreState().
Runs the sanctum service menu using the shared shop cursor and window resources.
Definition at line 111 of file sanctum.c.
Referenced by DebugMenu_ConfirmShopAction(), Shop_ConfirmAct(), and TalkToPriest().
| s32 Sanctum_RunPartyService | ( | void | ) |
Selects an eligible member, confirms the donation and applies the chosen service.
Definition at line 183 of file sanctum.c.
Referenced by Sanctum_RunPartyService(), and Shop_ConfirmAct().
Revives, cures poison, removes a haunting or unequips cursed items for a sanctum service.
Definition at line 308 of file sanctum.c.
Referenced by BattleUnit_ResetStateByMode(), and Sanctum_RunPartyService().
Highlights the selected party icon and dims members who do not need the sanctum service.
Definition at line 336 of file sanctum.c.
Referenced by Sanctum_RunPartyService(), and Shop_HiliteUnit().
Shows the selected member's service price or the message that no treatment is needed.
Definition at line 358 of file sanctum.c.
Referenced by Sanctum_RunPartyService(), and Shop_DrawSelectMsg().
| void BattleFx_UpdateRadialMotion | ( | struct EffectSlot * | effect | ) |
Picks random particle positions, moves toward the target and releases finished particles.
Definition at line 379 of file sanctum.c.
Referenced by BattleFx_UpdateRadialMotion(), and Shop_RunPartyMemberIconBurst().
| void Shop_ResetEffects | ( | void | ) |
Updates all 24 service particles, then randomizes the active member's pose.
Definition at line 412 of file sanctum.c.
Referenced by Shop_ResetEffects(), and Shop_RunPartyMemberIconBurst().
| void Shop_RunPartyMemberIconBurst | ( | s32 | member | ) |
Animates the selected member and service particles, then restores the menu and cursor.
Definition at line 439 of file sanctum.c.
Referenced by Sanctum_RunPartyService(), and Shop_RunPartyMemberIconBurst().
|
static |
Sound effects for each party member action.
Definition at line 430 of file sanctum.c.
Referenced by Shop_RunPartyMemberIconBurst().