39 s32 screenX, screenY, screenZ;
90 &screenX, &screenY, &screenZ);
91 script->functionTemp[3] = playerStatus->
anim;
93 script->varTable[15] = playerStatus->
targetYaw;
97 &screenX, &screenY, &screenZ);
98 script->functionTemp[3] = speakerNpc->
curAnim;
99 script->varTable[15] = speakerNpc->
yaw;
105 script->varTablePtr[12] = speakerNpc;
109 listenerYaw = &targetNpc->
yaw;
119 speakerNpc->
yaw = angle;
120 *listenerYaw = reverseAngle;
123 speakerNpc->
yaw = reverseAngle;
124 *listenerYaw = reverseAngle;
127 speakerNpc->
yaw = angle;
128 *listenerYaw = angle;
131 speakerNpc->
yaw = reverseAngle;
132 *listenerYaw = angle;
135 speakerNpc->
yaw = angle;
143 speakerNpc = script->varTablePtr[12];
146 animID = script->varTable[13];
149 animID = script->varTable[14];
155 if (script->varTable[13] != -1) {
157 playerStatus->
anim = script->varTable[13];
159 playerStatus->
anim = script->varTable[14];
176 if (script->varTable[13] != -1) {
180 playerStatus->
anim = script->functionTemp[3];
184 speakerNpc->
yaw = script->varTable[0xF];
190 Bytecode* args = script->ptrReadPos;
216 Bytecode* args = script->ptrReadPos;
265 Bytecode* args = script->ptrReadPos;
282 Bytecode* args = script->ptrReadPos;
288 script->functionTemp[1] = 0;
299 return script->functionTemp[1] == 1;
318 Bytecode* args = script->ptrReadPos;
325 Bytecode* args = script->ptrReadPos;
336 Bytecode* args = script->ptrReadPos;
345 Bytecode* ptrReadPos = script->ptrReadPos;
@ MSG_STATE_FLAG_SPEAKING
@ SPEECH_FACE_LIKE_LISTENER
@ SPEECH_FACE_SPEAKER_ONLY
@ SPEECH_ORIENTATION_MASK
@ SPEECH_FACE_LIKE_SPEAKER
@ GLOBAL_OVERRIDES_MESSAGES_OVER_FRONTUI
s32 evt_get_variable(Evt *script, Bytecode var)
void set_npc_animation(Npc *npc, u32 animID)
void msg_printer_set_origin_pos(MessagePrintState *msgPrintState, s32 x, s32 y)
void get_screen_coords(s32 camID, f32 x, f32 y, f32 z, s32 *screenX, s32 *screenY, s32 *screenZ)
s32 cancel_message(MessagePrintState *msgPrintState)
void close_message(MessagePrintState *msgPrintState)
MessagePrintState * msg_get_printer_for_msg(s32 msgID, s32 *a1)
void set_message_int_var(s32 value, s32 index)
void set_message_text_var(s32 msgID, s32 index)
Npc * resolve_npc(Evt *script, s32 npcIdOrPtr)
void set_message_images(MessageImageData *images)
s32 msg_printer_load_msg(s32 msgID, MessagePrintState *printer)
s32 ShowMessageScreenOffsetY
@ SHOW_MESSAGE_END_SPEECH
@ SHOW_MESSAGE_SPEAK_TO_NPC
@ SHOW_MESSAGE_CONTINUE_SPEECH
@ SHOW_MESSAGE_SPEAK_TO_PLAYER
MessagePrintState * gCurrentPrintContext
ApiStatus _show_message(Evt *script, s32 isInitialCall, s32 mode)
MessagePrintState * D_802DB268
s32 ShowMessageScreenOffsetX
s32 cancel_current_message(void)
#define EndSpeech(ARGS...)
#define SpeakToNpc(ARGS...)
#define ContinueSpeech(ARGS...)
#define SpeakToPlayer(ARGS...)
ApiStatus SetMessageText(Evt *script, b32 isInitialCall)
ApiStatus ShowMessageAtWorldPos(Evt *script, b32 isInitialCall)
ApiStatus SwitchMessage(Evt *script, b32 isInitialCall)
ApiStatus ShowChoice(Evt *script, b32 isInitialCall)
ApiStatus SetMessageImages(Evt *script, b32 isInitialCall)
ApiStatus CloseMessage(Evt *script, b32 isInitialCall)
ApiStatus func_802D0C94(Evt *script, b32 isInitialCall)
ApiStatus CancelMessage(Evt *script, b32 isInitialCall)
ApiStatus ShowMessageAtScreenPos(Evt *script, b32 isInitialCall)
ApiStatus SetMessageValue(Evt *script, b32 isInitialCall)
ApiStatus CloseChoice(Evt *script, b32 isInitialCall)
PlayerStatus gPlayerStatus