2020-10-15 05:49:49 +02:00
|
|
|
#include "common.h"
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_196AA0", LoadActionCommand);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_196AA0", func_80268224);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_196AA0", func_80268284);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_196AA0", func_80268770);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_196AA0", func_80268798);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_196AA0", func_802687BC);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_196AA0", func_802687E4);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_196AA0", func_8026880C);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_196AA0", func_80268834);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_196AA0", func_80268858);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_196AA0", func_80268938);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_196AA0", func_80268AF8);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_196AA0", func_80268C9C);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_196AA0", func_80268E88);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_196AA0", check_block_input);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_196AA0", func_80269118);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_196AA0", func_80269160);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_196AA0", func_8026919C);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_196AA0", func_802691C8);
|
|
|
|
|
2020-10-16 00:11:56 +02:00
|
|
|
ApiStatus GetActionSuccess(ScriptInstance* script, s32 isInitialCall) {
|
|
|
|
set_variable(script, *script->ptrReadPos, gBattleStatus.actionSuccess);
|
|
|
|
return ApiStatus_DONE2;
|
|
|
|
}
|
2020-10-15 05:49:49 +02:00
|
|
|
|
2020-10-16 00:11:56 +02:00
|
|
|
ApiStatus SetActionSuccess(ScriptInstance* script, s32 isInitialCall) {
|
|
|
|
gBattleStatus.actionSuccess = get_variable(script, *script->ptrReadPos);
|
|
|
|
return ApiStatus_DONE2;
|
|
|
|
}
|
2020-10-15 05:49:49 +02:00
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_196AA0", func_802692EC);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_196AA0", func_80269318);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_196AA0", func_80269344);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_196AA0", func_80269370);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_196AA0", func_8026939C);
|
|
|
|
|
2020-10-16 00:11:56 +02:00
|
|
|
ApiStatus func_802693F0(ScriptInstance* script, s32 isInitialCall) {
|
|
|
|
gBattleStatus.flags1 &= ~0x4000;
|
|
|
|
return ApiStatus_DONE2;
|
|
|
|
}
|
2020-10-15 05:49:49 +02:00
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_196AA0", CloseActionCommandInfo);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_196AA0", func_80269470);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_196AA0", func_802694A4);
|
|
|
|
|
2020-10-16 00:11:56 +02:00
|
|
|
ApiStatus GetActionSuccessCopy(ScriptInstance* script, s32 isInitialCall) {
|
|
|
|
set_variable(script, *script->ptrReadPos, gBattleStatus.actionSuccess);
|
|
|
|
return ApiStatus_DONE2;
|
|
|
|
}
|
2020-10-15 05:49:49 +02:00
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_196AA0", func_80269524);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_196AA0", func_80269550);
|
|
|
|
|
2020-10-16 00:11:56 +02:00
|
|
|
ApiStatus GetBlockResult(ScriptInstance* script, s32 isInitialCall) {
|
|
|
|
set_variable(script, *script->ptrReadPos, gBattleStatus.blockResult);
|
|
|
|
return ApiStatus_DONE2;
|
|
|
|
}
|
2020-10-15 05:49:49 +02:00
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_196AA0", func_802695A8);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_196AA0", func_802695D4);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_196AA0", func_80269600);
|
|
|
|
|
|
|
|
INCLUDE_ASM(s32, "code_196AA0", func_8026962C);
|