2020-10-15 05:49:49 +02:00
|
|
|
#include "common.h"
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_17D6A0", func_8024EDC0);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_17D6A0", func_8024EDEC);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_17D6A0", func_8024EE48);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_17D6A0", func_8024EEA8);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_17D6A0", func_8024EF08);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_17D6A0", create_popup);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_17D6A0", func_8024EFA4);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_17D6A0", func_8024EFE0);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_17D6A0", func_8024F394);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_17D6A0", func_8024F5AC);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_17D6A0", func_8024F768);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_17D6A0", func_8024F7C8);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_17D6A0", func_8024F84C);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_17D6A0", func_8024F940);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_17D6A0", show_battle_message);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_17D6A0", show_variable_battle_message);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_17D6A0", is_popup_displayed);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_17D6A0", set_popup_duration);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_17D6A0", func_8024FAE8);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_17D6A0", func_8024FAFC);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_17D6A0", close_action_command_instruction_popup);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_17D6A0", func_8024FB3C);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_17D6A0", func_80250818);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_17D6A0", show_message_popup);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_17D6A0", ShowMessageBox);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_17D6A0", ShowVariableMessageBox);
|
|
|
|
|
2020-11-18 06:20:28 +01:00
|
|
|
ApiStatus IsMessageBoxDisplayed(ScriptInstance* script, s32 isInitialCall) {
|
|
|
|
Bytecode* args = script->ptrReadPos;
|
|
|
|
s32 outVar = *args++;
|
2020-10-15 05:49:49 +02:00
|
|
|
|
2020-11-18 06:20:28 +01:00
|
|
|
set_variable(script, outVar, is_popup_displayed());
|
|
|
|
return ApiStatus_DONE2;
|
|
|
|
}
|
|
|
|
|
|
|
|
ApiStatus WaitForMessageBoxDone(ScriptInstance* script, s32 isInitialCall) {
|
|
|
|
return !is_popup_displayed() * ApiStatus_DONE2;
|
|
|
|
}
|
2020-10-15 05:49:49 +02:00
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_17D6A0", ForceCloseMessageBox);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_17D6A0", SetMessageBoxDuration);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_17D6A0", func_80251434);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_17D6A0", func_80251454);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_17D6A0", func_80251474);
|