Alchemy
Loading...
Searching...
No Matches

joined.c File Reference

The Colosso choice and the joined-party messages. More...

Go to the source code of this file.

Macros

#define JOINED_QUEUE_TEXT(window, entry, x, y, spacing)
#define TALK_WINDOW_X   7
#define TALK_WINDOW_WIDTH   18

Functions

s32 PartyTalkMenu_Choose (s32 unused)
 The Colosso choice of what to do: "Descriptions", "Cheer" or "Nothing", chosen with a pointing hand.
void Djinn_ShowJoinedMessage (s32 member, s32 element, s32 djinn)
 Shows that a Djinni joined a member while the join fanfare (sound 81) plays, until it ends or A, B, L or R is pressed.
s32 Party_LookupCharacterValueByFlag32 (u32 index)
 Returns the portrait character of party member member (0-8): from gCharacter_ChildSpriteTable during the prologue, from gCharacter_SpriteTable otherwise; 0 for any other member.
void Party_ShowJoinedMessage (s32 member)
 Shows that a member joined the party while the join fanfare (sound 81) plays, until it ends or A, B, L or R is pressed.
void Party_ShowPairJoinedMessage (s32 first, s32 second)
 Shows that two members joined the party while the join fanfare (sound 81) plays, until it ends or A, B, L or R is pressed.

Detailed Description

The Colosso choice and the joined-party messages.

Part of battle_command.c, the menu object, compiled only through it.

Definition in file joined.c.

Macro Definition Documentation

◆ JOINED_QUEUE_TEXT

#define JOINED_QUEUE_TEXT ( window,
entry,
x,
y,
spacing )
Value:
UiText_QueueRenderEntries(window, entry, x, y, spacing)
struct UiChannelSlot * UiText_QueueRenderEntries(struct UiWindow *window, s32 entry, s32 x, s32 y, u16 *spacing, s32 flags)
Starts a free message channel typing the decoded text that begins at entry into window,...
Definition windows.c:515

Definition at line 14 of file joined.c.

Referenced by Djinn_ShowJoinedMessage(), Party_ShowJoinedMessage(), and Party_ShowPairJoinedMessage().

◆ TALK_WINDOW_X

#define TALK_WINDOW_X   7

Definition at line 20 of file joined.c.

Referenced by PartyTalkMenu_Choose().

◆ TALK_WINDOW_WIDTH

#define TALK_WINDOW_WIDTH   18

Definition at line 21 of file joined.c.

Referenced by PartyTalkMenu_Choose().

Function Documentation

◆ PartyTalkMenu_Choose()

s32 PartyTalkMenu_Choose ( s32 unused)

The Colosso choice of what to do: "Descriptions", "Cheer" or "Nothing", chosen with a pointing hand.

Returns the choice (0-2), or -1 when cancelled with B.

Definition at line 33 of file joined.c.

Referenced by Colosso_GreetAtStage(), NameEntry_CountLetters(), and PartyTalkMenu_Choose().

◆ Djinn_ShowJoinedMessage()

void Djinn_ShowJoinedMessage ( s32 member,
s32 element,
s32 djinn )

Shows that a Djinni joined a member while the join fanfare (sound 81) plays, until it ends or A, B, L or R is pressed.

The message is The <element> Djinni <name> joined <member>., with the element's Djinni portrait. djinn is the Djinni's number in its element.

Definition at line 109 of file joined.c.

Referenced by Djinn_ShowJoinedMessage(), and NameEntry_CountLetters().

◆ Party_LookupCharacterValueByFlag32()

s32 Party_LookupCharacterValueByFlag32 ( u32 index)

Returns the portrait character of party member member (0-8): from gCharacter_ChildSpriteTable during the prologue, from gCharacter_SpriteTable otherwise; 0 for any other member.

Definition at line 170 of file joined.c.

Referenced by NameEntry_CountLetters(), Party_LookupCharacterValueByFlag32(), Party_ShowJoinedMessage(), and Party_ShowPairJoinedMessage().

◆ Party_ShowJoinedMessage()

void Party_ShowJoinedMessage ( s32 member)

Shows that a member joined the party while the join fanfare (sound 81) plays, until it ends or A, B, L or R is pressed.

The message is <member> joined your party., with the member's portrait.

Definition at line 183 of file joined.c.

Referenced by NameEntry_CountLetters(), and Party_ShowJoinedMessage().

◆ Party_ShowPairJoinedMessage()

void Party_ShowPairJoinedMessage ( s32 first,
s32 second )

Shows that two members joined the party while the join fanfare (sound 81) plays, until it ends or A, B, L or R is pressed.

The message is <first> and <second> joined your party., with both portraits.

Definition at line 224 of file joined.c.

Referenced by NameEntry_CountLetters(), and Party_ShowPairJoinedMessage().