papermario/src/code_16c8e0.c

1532 lines
37 KiB
C

#include "common.h"
INCLUDE_ASM(s32, "code_16c8e0", get_dpad_input_radial);
INCLUDE_ASM(s32, "code_16c8e0", func_8023E104);
INCLUDE_ASM(s32, "code_16c8e0", func_8023E11C);
INCLUDE_ASM(s32, "code_16c8e0", initialize_battle);
void func_8023E3FC(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", update_actor_shadows);
INCLUDE_ASM(s32, "code_16c8e0", update_battle_state);
INCLUDE_ASM(s32, "code_16c8e0", draw_main_battle_ui);
INCLUDE_ASM(s32, "code_16c8e0", func_8023ED5C);
INCLUDE_ASM(s32, "code_16c8e0", func_8023F060);
INCLUDE_ASM(s32, "code_16c8e0", func_8023F088);
INCLUDE_ASM(s32, "code_16c8e0", func_8023FF84);
INCLUDE_ASM(s32, "code_16c8e0", draw_enemy_health_bars);
INCLUDE_ASM(s32, "code_16c8e0", update_starpoints_display);
INCLUDE_ASM(s32, "code_16c8e0", func_802409F4);
INCLUDE_ASM(s32, "code_16c8e0", func_80240AA8);
INCLUDE_ASM(s32, "code_16c8e0", delete_actor);
INCLUDE_ASM(s32, "code_16c8e0", delete_player_actor);
INCLUDE_ASM(s32, "code_16c8e0", func_80240E60);
INCLUDE_ASM(s32, "code_16c8e0", func_80240FDC);
INCLUDE_ASM(s32, "code_16c8e0", func_80241190);
INCLUDE_ASM(s32, "code_16c8e0", begin_battle);
INCLUDE_ASM(s32, "code_16c8e0", func_80241AB8);
INCLUDE_ASM(s32, "code_16c8e0", func_80241B14);
void func_8024201C(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", update_heroes_start_turn);
void func_80242AC0(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", switch_to_player);
void func_80242BA8(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", update_end_player_turn);
void func_80242EF8(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", switch_to_partner);
void func_80242FD8(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", func_80242FE0);
void func_80243910(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", switch_order);
void func_802439D0(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", func_802439D8);
void func_80243FD4(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", func_80243FDC);
void func_80244000(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", func_80244008);
void func_80244708(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", func_80244710);
void func_80244A48(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", end_battle);
INCLUDE_ASM(s32, "code_16c8e0", func_80244D90);
INCLUDE_ASM(s32, "code_16c8e0", func_80244E38);
void func_80244EF8(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", update_run_away);
void func_80245438(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", func_80245440);
void func_802456B0(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", EnablePartnerBlur);
INCLUDE_ASM(s32, "code_16c8e0", DisablePartnerBlur);
INCLUDE_ASM(s32, "code_16c8e0", update_swap_partner);
void func_80245AC8(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", update_player_action);
void func_80246448(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", update_player_change_turn);
void func_80246B2C_code(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", update_partner_action);
void func_80247214(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", func_8024721C);
void func_802472A4(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", update_enemy_change_turn);
void func_80247568(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", update_enemy_action);
void func_80247AFC(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", func_80247B04);
INCLUDE_ASM(s32, "code_16c8e0", func_802480F0);
INCLUDE_ASM(s32, "code_16c8e0", func_80248190);
INCLUDE_ASM(s32, "code_16c8e0", func_802485FC);
INCLUDE_ASM(s32, "code_16c8e0", func_80248660);
INCLUDE_ASM(s32, "code_16c8e0", func_80248AA4);
INCLUDE_ASM(s32, "code_16c8e0", func_80248B08);
INCLUDE_ASM(s32, "code_16c8e0", func_80248D78);
INCLUDE_ASM(s32, "code_16c8e0", func_80248DD0);
INCLUDE_ASM(s32, "code_16c8e0", func_80248DE4);
INCLUDE_ASM(s32, "code_16c8e0", func_80249804);
INCLUDE_ASM(s32, "code_16c8e0", func_8024A214);
INCLUDE_ASM(s32, "code_16c8e0", func_8024A990);
INCLUDE_ASM(s32, "code_16c8e0", func_8024AFE4);
INCLUDE_ASM(s32, "code_16c8e0", func_8024B5FC);
INCLUDE_ASM(s32, "code_16c8e0", func_8024B9A0);
INCLUDE_ASM(s32, "code_16c8e0", func_8024BDA4);
INCLUDE_ASM(s32, "code_16c8e0", func_8024C180);
INCLUDE_ASM(s32, "code_16c8e0", func_8024C570);
INCLUDE_ASM(s32, "code_16c8e0", func_8024C944);
INCLUDE_ASM(s32, "code_16c8e0", func_8024CB68);
INCLUDE_ASM(s32, "code_16c8e0", func_8024CE9C);
INCLUDE_ASM(s32, "code_16c8e0", use_cam_preset);
INCLUDE_ASM(s32, "code_16c8e0", func_8024E3D8);
INCLUDE_ASM(s32, "code_16c8e0", func_8024E40C);
INCLUDE_ASM(s32, "code_16c8e0", cam_target_actor);
INCLUDE_ASM(s32, "code_16c8e0", func_8024E45C);
INCLUDE_ASM(s32, "code_16c8e0", func_8024E484);
INCLUDE_ASM(s32, "code_16c8e0", move_cam_over);
INCLUDE_ASM(s32, "code_16c8e0", set_cam_target_pos);
INCLUDE_ASM(s32, "code_16c8e0", func_8024E554);
INCLUDE_ASM(s32, "code_16c8e0", func_8024E584);
INCLUDE_ASM(s32, "code_16c8e0", set_cam_zoom);
INCLUDE_ASM(s32, "code_16c8e0", add_cam_zoom);
INCLUDE_ASM(s32, "code_16c8e0", set_cam_zoffset);
INCLUDE_ASM(s32, "code_16c8e0", unfreeze_cam);
INCLUDE_ASM(s32, "code_16c8e0", func_8024E60C);
INCLUDE_ASM(s32, "code_16c8e0", UseCamPreset);
INCLUDE_ASM(s32, "code_16c8e0", func_8024E664);
INCLUDE_ASM(s32, "code_16c8e0", func_8024E6B4);
INCLUDE_ASM(s32, "code_16c8e0", func_8024E748);
INCLUDE_ASM(s32, "code_16c8e0", func_8024E820);
INCLUDE_ASM(s32, "code_16c8e0", SetBattleCamTarget);
INCLUDE_ASM(s32, "code_16c8e0", func_8024E9B0);
INCLUDE_ASM(s32, "code_16c8e0", SetBattleCamOffsetZ);
INCLUDE_ASM(s32, "code_16c8e0", AddBattleCamOffsetZ);
INCLUDE_ASM(s32, "code_16c8e0", SetBattleCamYaw);
INCLUDE_ASM(s32, "code_16c8e0", BattleCamTargetActor);
INCLUDE_ASM(s32, "code_16c8e0", func_8024EB84);
INCLUDE_ASM(s32, "code_16c8e0", MoveBattleCamOver);
INCLUDE_ASM(s32, "code_16c8e0", SetBattleCamZoom);
INCLUDE_ASM(s32, "code_16c8e0", AddBattleCamZoom);
INCLUDE_ASM(s32, "code_16c8e0", func_8024ECF8);
INCLUDE_ASM(s32, "code_16c8e0", FreezeBattleCam);
INCLUDE_ASM(s32, "code_16c8e0", func_8024EDA4);
INCLUDE_ASM(s32, "code_16c8e0", func_8024EDC0);
INCLUDE_ASM(s32, "code_16c8e0", func_8024EDEC);
INCLUDE_ASM(s32, "code_16c8e0", func_8024EE48);
INCLUDE_ASM(s32, "code_16c8e0", func_8024EEA8);
INCLUDE_ASM(s32, "code_16c8e0", func_8024EF08);
INCLUDE_ASM(s32, "code_16c8e0", create_popup);
INCLUDE_ASM(s32, "code_16c8e0", func_8024EFA4);
INCLUDE_ASM(s32, "code_16c8e0", func_8024EFE0);
INCLUDE_ASM(s32, "code_16c8e0", func_8024F394);
INCLUDE_ASM(s32, "code_16c8e0", func_8024F5AC);
INCLUDE_ASM(s32, "code_16c8e0", func_8024F768);
INCLUDE_ASM(s32, "code_16c8e0", func_8024F7C8);
INCLUDE_ASM(s32, "code_16c8e0", func_8024F84C);
INCLUDE_ASM(s32, "code_16c8e0", func_8024F940);
INCLUDE_ASM(s32, "code_16c8e0", show_battle_message);
INCLUDE_ASM(s32, "code_16c8e0", show_variable_battle_message);
INCLUDE_ASM(s32, "code_16c8e0", is_popup_displayed);
INCLUDE_ASM(s32, "code_16c8e0", set_popup_duration);
INCLUDE_ASM(s32, "code_16c8e0", func_8024FAE8);
INCLUDE_ASM(s32, "code_16c8e0", func_8024FAFC);
INCLUDE_ASM(s32, "code_16c8e0", close_action_command_instruction_popup);
INCLUDE_ASM(s32, "code_16c8e0", func_8024FB3C);
INCLUDE_ASM(s32, "code_16c8e0", func_80250818);
INCLUDE_ASM(s32, "code_16c8e0", show_message_popup);
INCLUDE_ASM(s32, "code_16c8e0", ShowMessageBox);
INCLUDE_ASM(s32, "code_16c8e0", ShowVariableMessageBox);
INCLUDE_ASM(s32, "code_16c8e0", IsMessageBoxDisplayed);
INCLUDE_ASM(s32, "code_16c8e0", WaitForMessageBoxDone);
INCLUDE_ASM(s32, "code_16c8e0", ForceCloseMessageBox);
INCLUDE_ASM(s32, "code_16c8e0", SetMessageBoxDuration);
INCLUDE_ASM(s32, "code_16c8e0", func_80251434);
INCLUDE_ASM(s32, "code_16c8e0", func_80251454);
INCLUDE_ASM(s32, "code_16c8e0", func_80251474);
INCLUDE_ASM(s32, "code_16c8e0", calc_item_check_hit);
INCLUDE_ASM(s32, "code_16c8e0", calc_item_damage_enemy);
INCLUDE_ASM(s32, "code_16c8e0", ItemDamageEnemy);
INCLUDE_ASM(s32, "code_16c8e0", ItemAfflictEnemy);
INCLUDE_ASM(s32, "code_16c8e0", func_80252B3C);
INCLUDE_ASM(s32, "code_16c8e0", ItemCheckHit);
INCLUDE_ASM(s32, "code_16c8e0", ActorSpeak);
INCLUDE_ASM(s32, "code_16c8e0", EndActorSpeech);
INCLUDE_ASM(s32, "code_16c8e0", ShowBattleChoice);
INCLUDE_ASM(s32, "code_16c8e0", func_802535B4);
INCLUDE_ASM(s32, "code_16c8e0", OverrideBattleDmaDest);
INCLUDE_ASM(s32, "code_16c8e0", LoadBattleDmaData);
INCLUDE_ASM(s32, "code_16c8e0", func_802536A8);
INCLUDE_ASM(s32, "code_16c8e0", func_80253734);
INCLUDE_ASM(s32, "code_16c8e0", func_802537C0);
INCLUDE_ASM(s32, "code_16c8e0", PlaySoundAtActor);
INCLUDE_ASM(s32, "code_16c8e0", PlaySoundAtPart);
INCLUDE_ASM(s32, "code_16c8e0", PlayLoopingSoundAtActor);
INCLUDE_ASM(s32, "code_16c8e0", StopLoopingSoundAtActor);
INCLUDE_ASM(s32, "code_16c8e0", SetForegroundModelsVisibleUnchecked);
INCLUDE_ASM(s32, "code_16c8e0", SetForegroundModelsVisible);
INCLUDE_ASM(s32, "code_16c8e0", func_80253B30);
INCLUDE_ASM(s32, "code_16c8e0", MakeStatusField);
INCLUDE_ASM(s32, "code_16c8e0", is_actor_hp_bar_visible);
INCLUDE_ASM(s32, "code_16c8e0", is_actortype_hpbar_visible);
INCLUDE_ASM(s32, "code_16c8e0", save_tattle_flags);
INCLUDE_ASM(s32, "code_16c8e0", load_tattle_flags);
INCLUDE_ASM(s32, "code_16c8e0", func_80253FB0);
INCLUDE_ASM(s32, "code_16c8e0", MultiplyByActorScale);
INCLUDE_ASM(s32, "code_16c8e0", MultiplyVec2ByActorScale);
INCLUDE_ASM(s32, "code_16c8e0", MultiplyVec3ByActorScale);
INCLUDE_ASM(s32, "code_16c8e0", ApplyShrinkFromOwner);
INCLUDE_ASM(s32, "code_16c8e0", StartRumble);
INCLUDE_ASM(s32, "code_16c8e0", func_80254250);
INCLUDE_ASM(s32, "code_16c8e0", mtx_mirror_y);
INCLUDE_ASM(s32, "code_16c8e0", enable_actor_blur);
INCLUDE_ASM(s32, "code_16c8e0", disable_actor_blur);
INCLUDE_ASM(s32, "code_16c8e0", reset_actor_blur);
INCLUDE_ASM(s32, "code_16c8e0", func_80254610);
INCLUDE_ASM(s32, "code_16c8e0", enable_partner_blur);
INCLUDE_ASM(s32, "code_16c8e0", disable_partner_blur);
INCLUDE_ASM(s32, "code_16c8e0", reset_partner_blur);
INCLUDE_ASM(s32, "code_16c8e0", func_802546B0);
INCLUDE_ASM(s32, "code_16c8e0", enable_player_blur);
INCLUDE_ASM(s32, "code_16c8e0", disable_player_blur);
INCLUDE_ASM(s32, "code_16c8e0", func_80254950);
INCLUDE_ASM(s32, "code_16c8e0", func_802549A0);
INCLUDE_ASM(s32, "code_16c8e0", func_802549C0);
INCLUDE_ASM(s32, "code_16c8e0", func_802549F4);
INCLUDE_ASM(s32, "code_16c8e0", func_80254C50);
INCLUDE_ASM(s32, "code_16c8e0", func_802550BC);
INCLUDE_ASM(s32, "code_16c8e0", func_802552EC);
INCLUDE_ASM(s32, "code_16c8e0", func_8025593C);
INCLUDE_ASM(s32, "code_16c8e0", func_8025595C);
INCLUDE_ASM(s32, "code_16c8e0", func_8025597C);
INCLUDE_ASM(s32, "code_16c8e0", func_8025599C);
INCLUDE_ASM(s32, "code_16c8e0", update_actor_shadow);
INCLUDE_ASM(s32, "code_16c8e0", update_enemy_shadows);
INCLUDE_ASM(s32, "code_16c8e0", update_hero_shadows);
void func_80255FD8(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", func_80255FE0);
INCLUDE_ASM(s32, "code_16c8e0", func_802571F0);
INCLUDE_ASM(s32, "code_16c8e0", func_80257B28);
INCLUDE_ASM(s32, "code_16c8e0", func_80257B48);
INCLUDE_ASM(s32, "code_16c8e0", func_80257B68);
INCLUDE_ASM(s32, "code_16c8e0", func_80257B88);
INCLUDE_ASM(s32, "code_16c8e0", update_player_actor_shadow);
INCLUDE_ASM(s32, "code_16c8e0", func_80257DA4);
INCLUDE_ASM(s32, "code_16c8e0", func_80258E14);
INCLUDE_ASM(s32, "code_16c8e0", func_802591EC);
INCLUDE_ASM(s32, "code_16c8e0", func_80259494);
INCLUDE_ASM(s32, "code_16c8e0", func_8025950C);
INCLUDE_ASM(s32, "code_16c8e0", func_802596C0);
INCLUDE_ASM(s32, "code_16c8e0", func_802597B0);
INCLUDE_ASM(s32, "code_16c8e0", func_8025995C);
INCLUDE_ASM(s32, "code_16c8e0", func_80259A48);
INCLUDE_ASM(s32, "code_16c8e0", func_80259AAC);
INCLUDE_ASM(s32, "code_16c8e0", func_80259D9C);
INCLUDE_ASM(s32, "code_16c8e0", func_8025A2C4);
INCLUDE_ASM(s32, "code_16c8e0", func_8025A50C);
INCLUDE_ASM(s32, "code_16c8e0", func_8025A74C);
INCLUDE_ASM(s32, "code_16c8e0", func_8025AA80);
INCLUDE_ASM(s32, "code_16c8e0", func_8025AD90);
INCLUDE_ASM(s32, "code_16c8e0", func_8025B1A8);
INCLUDE_ASM(s32, "code_16c8e0", func_8025B5C0);
INCLUDE_ASM(s32, "code_16c8e0", func_8025BAA0);
INCLUDE_ASM(s32, "code_16c8e0", func_8025C120);
INCLUDE_ASM(s32, "code_16c8e0", func_8025C840);
INCLUDE_ASM(s32, "code_16c8e0", func_8025C8A0);
INCLUDE_ASM(s32, "code_16c8e0", func_8025C918);
INCLUDE_ASM(s32, "code_16c8e0", func_8025CCC8);
INCLUDE_ASM(s32, "code_16c8e0", func_8025CD28);
INCLUDE_ASM(s32, "code_16c8e0", func_8025CD40);
INCLUDE_ASM(s32, "code_16c8e0", func_8025CEC8);
INCLUDE_ASM(s32, "code_16c8e0", _remove_part_decoration);
void func_8025D150(void) {
}
void func_8025D158(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", func_8025D160);
INCLUDE_ASM(s32, "code_16c8e0", func_8025D290);
INCLUDE_ASM(s32, "code_16c8e0", func_8025D2B0);
void func_8025D3C4(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", func_8025D3CC);
INCLUDE_ASM(s32, "code_16c8e0", func_8025D4A0);
INCLUDE_ASM(s32, "code_16c8e0", func_8025D4C8);
INCLUDE_ASM(s32, "code_16c8e0", func_8025D620);
INCLUDE_ASM(s32, "code_16c8e0", func_8025D640);
INCLUDE_ASM(s32, "code_16c8e0", func_8025D6FC);
INCLUDE_ASM(s32, "code_16c8e0", func_8025D71C);
INCLUDE_ASM(s32, "code_16c8e0", func_8025D810);
INCLUDE_ASM(s32, "code_16c8e0", func_8025D830);
INCLUDE_ASM(s32, "code_16c8e0", func_8025D8EC);
INCLUDE_ASM(s32, "code_16c8e0", func_8025D90C);
void func_8025DA60(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", func_8025DA68);
void func_8025DBC8(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", func_8025DBD0);
INCLUDE_ASM(s32, "code_16c8e0", func_8025DD40);
INCLUDE_ASM(s32, "code_16c8e0", func_8025DD60);
INCLUDE_ASM(s32, "code_16c8e0", func_8025DE88);
INCLUDE_ASM(s32, "code_16c8e0", func_8025DEB0);
INCLUDE_ASM(s32, "code_16c8e0", func_8025DEC4);
INCLUDE_ASM(s32, "code_16c8e0", func_8025E030);
INCLUDE_ASM(s32, "code_16c8e0", func_8025E044);
INCLUDE_ASM(s32, "code_16c8e0", func_8025E108);
INCLUDE_ASM(s32, "code_16c8e0", func_8025E14C);
INCLUDE_ASM(s32, "code_16c8e0", func_8025E190);
INCLUDE_ASM(s32, "code_16c8e0", func_8025FF8C);
INCLUDE_ASM(s32, "code_16c8e0", func_802601BC);
INCLUDE_ASM(s32, "code_16c8e0", func_80260948);
INCLUDE_ASM(s32, "code_16c8e0", func_80260A20);
INCLUDE_ASM(s32, "code_16c8e0", func_80260A60);
INCLUDE_ASM(s32, "code_16c8e0", func_80260AD4);
INCLUDE_ASM(s32, "code_16c8e0", activate_defend_command);
INCLUDE_ASM(s32, "code_16c8e0", func_80260B70);
INCLUDE_ASM(s32, "code_16c8e0", func_80260BF4);
INCLUDE_ASM(s32, "code_16c8e0", func_80260DB8);
INCLUDE_ASM(s32, "code_16c8e0", func_80260DD8);
INCLUDE_ASM(s32, "code_16c8e0", func_80260E38);
INCLUDE_ASM(s32, "code_16c8e0", func_80260E5C);
INCLUDE_ASM(s32, "code_16c8e0", func_80260E90);
INCLUDE_ASM(s32, "code_16c8e0", func_80261064);
INCLUDE_ASM(s32, "code_16c8e0", func_802610CC);
INCLUDE_ASM(s32, "code_16c8e0", func_80261164);
INCLUDE_ASM(s32, "code_16c8e0", func_802611E8);
INCLUDE_ASM(s32, "code_16c8e0", func_8026127C);
INCLUDE_ASM(s32, "code_16c8e0", func_80261388);
INCLUDE_ASM(s32, "code_16c8e0", func_802613A8);
INCLUDE_ASM(s32, "code_16c8e0", func_802613BC);
INCLUDE_ASM(s32, "code_16c8e0", func_80261478);
INCLUDE_ASM(s32, "code_16c8e0", func_80261530);
INCLUDE_ASM(s32, "code_16c8e0", func_802615C8);
INCLUDE_ASM(s32, "code_16c8e0", func_80261648);
INCLUDE_ASM(s32, "code_16c8e0", func_802616B4);
INCLUDE_ASM(s32, "code_16c8e0", func_802616F4);
INCLUDE_ASM(s32, "code_16c8e0", func_802619B4);
INCLUDE_ASM(s32, "code_16c8e0", HasMerleeCastsLeft);
INCLUDE_ASM(s32, "code_16c8e0", func_802619E8);
INCLUDE_ASM(s32, "code_16c8e0", func_80261B40);
INCLUDE_ASM(s32, "code_16c8e0", FXRecoverHP);
INCLUDE_ASM(s32, "code_16c8e0", FXRecoverFP);
INCLUDE_ASM(s32, "code_16c8e0", IncrementPlayerHP);
INCLUDE_ASM(s32, "code_16c8e0", IncrementPlayerFP);
INCLUDE_ASM(s32, "code_16c8e0", func_80261D98);
INCLUDE_ASM(s32, "code_16c8e0", func_80261DD4);
INCLUDE_ASM(s32, "code_16c8e0", func_80261DF4);
INCLUDE_ASM(s32, "code_16c8e0", func_80261FB4);
INCLUDE_ASM(s32, "code_16c8e0", func_802620F8);
INCLUDE_ASM(s32, "code_16c8e0", func_80262130);
INCLUDE_ASM(s32, "code_16c8e0", func_8026220C);
INCLUDE_ASM(s32, "code_16c8e0", create_target_list);
INCLUDE_ASM(s32, "code_16c8e0", player_create_target_list);
INCLUDE_ASM(s32, "code_16c8e0", enemy_create_target_list);
INCLUDE_ASM(s32, "code_16c8e0", func_80263064);
INCLUDE_ASM(s32, "code_16c8e0", func_80263230);
INCLUDE_ASM(s32, "code_16c8e0", func_8026324C);
INCLUDE_ASM(s32, "code_16c8e0", func_80263268);
INCLUDE_ASM(s32, "code_16c8e0", func_80263300);
INCLUDE_ASM(s32, "code_16c8e0", func_802633E8);
INCLUDE_ASM(s32, "code_16c8e0", func_80263434);
INCLUDE_ASM(s32, "code_16c8e0", func_80263464);
INCLUDE_ASM(s32, "code_16c8e0", func_802634B8);
INCLUDE_ASM(s32, "code_16c8e0", func_802636E4);
INCLUDE_ASM(s32, "code_16c8e0", func_80263914);
INCLUDE_ASM(s32, "code_16c8e0", count_power_plus);
INCLUDE_ASM(s32, "code_16c8e0", deduct_current_move_fp);
INCLUDE_ASM(s32, "code_16c8e0", func_80263C60);
INCLUDE_ASM(s32, "code_16c8e0", func_80263CC4);
INCLUDE_ASM(s32, "code_16c8e0", set_animation);
INCLUDE_ASM(s32, "code_16c8e0", func_80263E08);
INCLUDE_ASM(s32, "code_16c8e0", set_animation_rate);
INCLUDE_ASM(s32, "code_16c8e0", set_actor_yaw);
INCLUDE_ASM(s32, "code_16c8e0", set_part_yaw);
INCLUDE_ASM(s32, "code_16c8e0", func_80263FE8);
INCLUDE_ASM(s32, "code_16c8e0", func_80264084);
INCLUDE_ASM(s32, "code_16c8e0", add_xz_vec3f);
INCLUDE_ASM(s32, "code_16c8e0", add_xz_vec3f_copy1);
INCLUDE_ASM(s32, "code_16c8e0", add_xz_vec3f_copy2);
INCLUDE_ASM(s32, "code_16c8e0", play_movement_dust_effects);
INCLUDE_ASM(s32, "code_16c8e0", get_actor_part);
INCLUDE_ASM(s32, "code_16c8e0", load_player_actor);
INCLUDE_ASM(s32, "code_16c8e0", load_partner_actor);
INCLUDE_ASM(s32, "code_16c8e0", create_actor);
INCLUDE_ASM(s32, "code_16c8e0", func_80265CE8);
INCLUDE_ASM(s32, "code_16c8e0", func_80265D44);
INCLUDE_ASM(s32, "code_16c8e0", lookup_defense);
INCLUDE_ASM(s32, "code_16c8e0", lookup_status_chance);
INCLUDE_ASM(s32, "code_16c8e0", lookup_status_duration_mod);
INCLUDE_ASM(s32, "code_16c8e0", inflict_status);
INCLUDE_ASM(s32, "code_16c8e0", inflict_partner_ko);
INCLUDE_ASM(s32, "code_16c8e0", get_defense);
INCLUDE_ASM(s32, "code_16c8e0", func_802664DC);
INCLUDE_ASM(s32, "code_16c8e0", show_damage_popup);
INCLUDE_ASM(s32, "code_16c8e0", func_80266684);
INCLUDE_ASM(s32, "code_16c8e0", func_802666E4);
INCLUDE_ASM(s32, "code_16c8e0", func_802667F0);
INCLUDE_ASM(s32, "code_16c8e0", func_80266970);
INCLUDE_ASM(s32, "code_16c8e0", func_80266978);
INCLUDE_ASM(s32, "code_16c8e0", func_80266ADC);
INCLUDE_ASM(s32, "code_16c8e0", func_80266AF8);
INCLUDE_ASM(s32, "code_16c8e0", func_80266B14);
INCLUDE_ASM(s32, "code_16c8e0", try_inflict_status);
INCLUDE_ASM(s32, "code_16c8e0", inflict_status_set_duration);
INCLUDE_ASM(s32, "code_16c8e0", func_80266D6C);
INCLUDE_ASM(s32, "code_16c8e0", func_80266DAC);
INCLUDE_ASM(s32, "code_16c8e0", func_80266E14);
INCLUDE_ASM(s32, "code_16c8e0", func_80266E40);
INCLUDE_ASM(s32, "code_16c8e0", func_80266EA8);
INCLUDE_ASM(s32, "code_16c8e0", func_80266EE8);
INCLUDE_ASM(s32, "code_16c8e0", func_80266F60);
INCLUDE_ASM(s32, "code_16c8e0", func_80266F8C);
INCLUDE_ASM(s32, "code_16c8e0", func_80266FD8);
INCLUDE_ASM(s32, "code_16c8e0", func_80267018);
INCLUDE_ASM(s32, "code_16c8e0", func_8026709C);
INCLUDE_ASM(s32, "code_16c8e0", func_802670C8);
INCLUDE_ASM(s32, "code_16c8e0", add_part_decoration);
INCLUDE_ASM(s32, "code_16c8e0", add_actor_decoration);
INCLUDE_ASM(s32, "code_16c8e0", remove_part_decoration);
INCLUDE_ASM(s32, "code_16c8e0", remove_actor_decoration);
INCLUDE_ASM(s32, "code_16c8e0", heroes_is_ability_active);
INCLUDE_ASM(s32, "code_16c8e0", create_part_shadow);
INCLUDE_ASM(s32, "code_16c8e0", remove_part_shadow);
INCLUDE_ASM(s32, "code_16c8e0", func_802673E4);
INCLUDE_ASM(s32, "code_16c8e0", remove_player_buffs);
INCLUDE_ASM(s32, "code_16c8e0", func_8026777C);
INCLUDE_ASM(s32, "code_16c8e0", func_8026787C);
INCLUDE_ASM(s32, "code_16c8e0", func_80267A3C);
INCLUDE_ASM(s32, "code_16c8e0", reset_all_actor_sounds);
INCLUDE_ASM(s32, "code_16c8e0", hide_foreground_models_unchecked);
INCLUDE_ASM(s32, "code_16c8e0", show_foreground_models_unchecked);
INCLUDE_ASM(s32, "code_16c8e0", hide_foreground_models);
INCLUDE_ASM(s32, "code_16c8e0", show_foreground_models);
INCLUDE_ASM(s32, "code_16c8e0", StartRumbleWithParams);
INCLUDE_ASM(s32, "code_16c8e0", start_rumble_type);
INCLUDE_ASM(s32, "code_16c8e0", LoadItemScript);
INCLUDE_ASM(s32, "code_16c8e0", LoadFreeItemScript);
INCLUDE_ASM(s32, "code_16c8e0", LoadMoveScript);
INCLUDE_ASM(s32, "code_16c8e0", LoadActionCommand);
INCLUDE_ASM(s32, "code_16c8e0", func_80268224);
INCLUDE_ASM(s32, "code_16c8e0", func_80268284);
INCLUDE_ASM(s32, "code_16c8e0", func_80268770);
INCLUDE_ASM(s32, "code_16c8e0", func_80268798);
INCLUDE_ASM(s32, "code_16c8e0", func_802687BC);
INCLUDE_ASM(s32, "code_16c8e0", func_802687E4);
INCLUDE_ASM(s32, "code_16c8e0", func_8026880C);
INCLUDE_ASM(s32, "code_16c8e0", func_80268834);
INCLUDE_ASM(s32, "code_16c8e0", func_80268858);
INCLUDE_ASM(s32, "code_16c8e0", func_80268938);
INCLUDE_ASM(s32, "code_16c8e0", func_80268AF8);
INCLUDE_ASM(s32, "code_16c8e0", func_80268C9C);
INCLUDE_ASM(s32, "code_16c8e0", func_80268E88);
INCLUDE_ASM(s32, "code_16c8e0", check_block_input);
INCLUDE_ASM(s32, "code_16c8e0", func_80269118);
INCLUDE_ASM(s32, "code_16c8e0", func_80269160);
INCLUDE_ASM(s32, "code_16c8e0", func_8026919C);
INCLUDE_ASM(s32, "code_16c8e0", func_802691C8);
INCLUDE_ASM(s32, "code_16c8e0", GetActionSuccess);
INCLUDE_ASM(s32, "code_16c8e0", SetActionSuccess);
INCLUDE_ASM(s32, "code_16c8e0", func_802692EC);
INCLUDE_ASM(s32, "code_16c8e0", func_80269318);
INCLUDE_ASM(s32, "code_16c8e0", func_80269344);
INCLUDE_ASM(s32, "code_16c8e0", func_80269370);
INCLUDE_ASM(s32, "code_16c8e0", func_8026939C);
INCLUDE_ASM(s32, "code_16c8e0", func_802693F0);
INCLUDE_ASM(s32, "code_16c8e0", CloseActionCommandInfo);
INCLUDE_ASM(s32, "code_16c8e0", func_80269470);
INCLUDE_ASM(s32, "code_16c8e0", func_802694A4);
INCLUDE_ASM(s32, "code_16c8e0", GetActionSuccessCopy);
INCLUDE_ASM(s32, "code_16c8e0", func_80269524);
INCLUDE_ASM(s32, "code_16c8e0", func_80269550);
INCLUDE_ASM(s32, "code_16c8e0", GetBlockResult);
INCLUDE_ASM(s32, "code_16c8e0", func_802695A8);
INCLUDE_ASM(s32, "code_16c8e0", func_802695D4);
INCLUDE_ASM(s32, "code_16c8e0", func_80269600);
INCLUDE_ASM(s32, "code_16c8e0", func_8026962C);
INCLUDE_ASM(s32, "code_16c8e0", count_targets);
INCLUDE_ASM(s32, "code_16c8e0", get_nearest_home_index);
INCLUDE_ASM(s32, "code_16c8e0", set_goal_pos_to_part);
INCLUDE_ASM(s32, "code_16c8e0", set_part_goal_to_actor_part);
INCLUDE_ASM(s32, "code_16c8e0", set_actor_current_position);
INCLUDE_ASM(s32, "code_16c8e0", set_part_absolute_position);
INCLUDE_ASM(s32, "code_16c8e0", set_actor_home_position);
INCLUDE_ASM(Actor*, "code_16c8e0", get_actor, s32 actorID);
INCLUDE_ASM(s32, "code_16c8e0", LoadBattleSection);
INCLUDE_ASM(s32, "code_16c8e0", GetBattlePhase);
INCLUDE_ASM(s32, "code_16c8e0", GetLastElement);
INCLUDE_ASM(s32, "code_16c8e0", func_80269E80);
INCLUDE_ASM(s32, "code_16c8e0", func_80269EAC);
INCLUDE_ASM(s32, "code_16c8e0", SetGoalToHome);
INCLUDE_ASM(s32, "code_16c8e0", SetIdleGoalToHome);
INCLUDE_ASM(s32, "code_16c8e0", SetGoalToIndex);
INCLUDE_ASM(s32, "code_16c8e0", GetIndexFromPos);
INCLUDE_ASM(s32, "code_16c8e0", GetIndexFromHome);
INCLUDE_ASM(s32, "code_16c8e0", CountPlayerTargets);
INCLUDE_ASM(s32, "code_16c8e0", ForceHomePos);
INCLUDE_ASM(s32, "code_16c8e0", SetHomePos);
INCLUDE_ASM(s32, "code_16c8e0", SetGoalToTarget);
INCLUDE_ASM(s32, "code_16c8e0", SetPartGoalToTarget);
INCLUDE_ASM(s32, "code_16c8e0", SetGoalToFirstTarget);
INCLUDE_ASM(s32, "code_16c8e0", SetGoalPos);
INCLUDE_ASM(s32, "code_16c8e0", SetIdleGoal);
INCLUDE_ASM(s32, "code_16c8e0", AddGoalPos);
INCLUDE_ASM(s32, "code_16c8e0", GetGoalPos);
INCLUDE_ASM(s32, "code_16c8e0", GetIdleGoal);
INCLUDE_ASM(s32, "code_16c8e0", GetPartTarget);
INCLUDE_ASM(s32, "code_16c8e0", GetActorPos);
INCLUDE_ASM(s32, "code_16c8e0", GetPartOffset);
INCLUDE_ASM(s32, "code_16c8e0", GetPartPos);
INCLUDE_ASM(s32, "code_16c8e0", GetHomePos);
INCLUDE_ASM(s32, "code_16c8e0", SetActorPos);
INCLUDE_ASM(s32, "code_16c8e0", SetPartPos);
INCLUDE_ASM(s32, "code_16c8e0", SetEnemyTargetOffset);
INCLUDE_ASM(s32, "code_16c8e0", SetAnimation);
INCLUDE_ASM(s32, "code_16c8e0", GetAnimation);
INCLUDE_ASM(s32, "code_16c8e0", SetAnimationRate);
INCLUDE_ASM(s32, "code_16c8e0", SetActorYaw);
INCLUDE_ASM(s32, "code_16c8e0", GetActorYaw);
INCLUDE_ASM(s32, "code_16c8e0", SetPartYaw);
INCLUDE_ASM(s32, "code_16c8e0", GetPartYaw);
INCLUDE_ASM(s32, "code_16c8e0", SetActorJumpGravity);
INCLUDE_ASM(s32, "code_16c8e0", SetActorIdleJumpGravity);
INCLUDE_ASM(s32, "code_16c8e0", SetActorSpeed);
INCLUDE_ASM(s32, "code_16c8e0", SetActorIdleSpeed);
INCLUDE_ASM(s32, "code_16c8e0", SetPartJumpGravity);
INCLUDE_ASM(s32, "code_16c8e0", SetPartMoveSpeed);
INCLUDE_ASM(s32, "code_16c8e0", SetJumpAnimations);
INCLUDE_ASM(s32, "code_16c8e0", AddActorPos);
INCLUDE_ASM(s32, "code_16c8e0", SetActorDispOffset);
INCLUDE_ASM(s32, "code_16c8e0", GetPartDispOffset);
INCLUDE_ASM(s32, "code_16c8e0", SetPartDispOffset);
INCLUDE_ASM(s32, "code_16c8e0", AddPartDispOffset);
INCLUDE_ASM(s32, "code_16c8e0", func_8026BF48);
INCLUDE_ASM(s32, "code_16c8e0", GetActorVar);
INCLUDE_ASM(s32, "code_16c8e0", SetActorVar);
INCLUDE_ASM(s32, "code_16c8e0", AddActorVar);
INCLUDE_ASM(s32, "code_16c8e0", GetPartMovementVar);
INCLUDE_ASM(s32, "code_16c8e0", SetPartMovementVar);
INCLUDE_ASM(s32, "code_16c8e0", AddPartMovementVar);
INCLUDE_ASM(s32, "code_16c8e0", SetActorRotation);
INCLUDE_ASM(s32, "code_16c8e0", SetActorRotationOffset);
INCLUDE_ASM(s32, "code_16c8e0", GetActorRotation);
INCLUDE_ASM(s32, "code_16c8e0", SetPartRotation);
INCLUDE_ASM(s32, "code_16c8e0", SetPartRotationOffset);
INCLUDE_ASM(s32, "code_16c8e0", GetPartRotation);
INCLUDE_ASM(s32, "code_16c8e0", SetActorScale);
INCLUDE_ASM(s32, "code_16c8e0", SetActorScaleModifier);
INCLUDE_ASM(s32, "code_16c8e0", GetActorScale);
INCLUDE_ASM(s32, "code_16c8e0", SetPartScale);
INCLUDE_ASM(s32, "code_16c8e0", GetPartScale);
INCLUDE_ASM(s32, "code_16c8e0", GetBattleFlags);
INCLUDE_ASM(s32, "code_16c8e0", SetBattleFlagBits);
INCLUDE_ASM(s32, "code_16c8e0", GetBattleFlags2);
INCLUDE_ASM(s32, "code_16c8e0", SetBattleFlagBits2);
INCLUDE_ASM(s32, "code_16c8e0", SetActorFlags);
INCLUDE_ASM(s32, "code_16c8e0", SetActorFlagBits);
INCLUDE_ASM(s32, "code_16c8e0", GetActorFlags);
INCLUDE_ASM(s32, "code_16c8e0", SetPartFlags);
INCLUDE_ASM(s32, "code_16c8e0", SetPartFlagBits);
INCLUDE_ASM(s32, "code_16c8e0", SetPartTargetFlags);
INCLUDE_ASM(s32, "code_16c8e0", SetPartTargetFlagBits);
INCLUDE_ASM(s32, "code_16c8e0", GetPartFlags);
INCLUDE_ASM(s32, "code_16c8e0", GetPartTargetFlags);
INCLUDE_ASM(s32, "code_16c8e0", SetPartEventFlags);
INCLUDE_ASM(s32, "code_16c8e0", SetPartEventBits);
INCLUDE_ASM(s32, "code_16c8e0", GetPartEventFlags);
INCLUDE_ASM(s32, "code_16c8e0", func_8026D51C);
INCLUDE_ASM(s32, "code_16c8e0", func_8026D5A4);
INCLUDE_ASM(s32, "code_16c8e0", HPBarToHome);
INCLUDE_ASM(s32, "code_16c8e0", HPBarToCurrent);
INCLUDE_ASM(s32, "code_16c8e0", func_8026D8EC);
INCLUDE_ASM(s32, "code_16c8e0", func_8026D940);
INCLUDE_ASM(s32, "code_16c8e0", func_8026DA94);
INCLUDE_ASM(s32, "code_16c8e0", SummonEnemy);
INCLUDE_ASM(s32, "code_16c8e0", GetOwnerID);
INCLUDE_ASM(s32, "code_16c8e0", SetOwnerID);
ApiStatus ActorExists(ScriptInstance* script, s32 isInitialCall) {
Bytecode isExist;
Actor* partner = gBattleStatus.partnerActor;
Bytecode* args = script->ptrReadPos;
ActorId actorID = get_variable(script, *args++);
if (actorID == -0x7F) {
actorID = script->ownerActorID;
}
isExist = get_actor(actorID) != NULL;
if ((actorID == ActorId_PARTNER) && (partner == NULL)) {
isExist = FALSE;
}
set_variable(script, *args++, isExist);
return ApiStatus_DONE2;
}
INCLUDE_ASM(s32, "code_16c8e0", func_8026DEF0);
INCLUDE_ASM(s32, "code_16c8e0", func_8026DF88);
INCLUDE_ASM(s32, "code_16c8e0", func_8026E020);
INCLUDE_ASM(s32, "code_16c8e0", func_8026E038);
INCLUDE_ASM(s32, "code_16c8e0", SetBattleInputMask);
INCLUDE_ASM(s32, "code_16c8e0", SetBattleInputButtons);
INCLUDE_ASM(s32, "code_16c8e0", CheckButtonPress);
INCLUDE_ASM(s32, "code_16c8e0", CheckButtonHeld);
INCLUDE_ASM(s32, "code_16c8e0", CheckButtonDown);
INCLUDE_ASM(s32, "code_16c8e0", GetBattleState);
INCLUDE_ASM(s32, "code_16c8e0", func_8026E16C);
INCLUDE_ASM(s32, "code_16c8e0", func_8026E198);
INCLUDE_ASM(s32, "code_16c8e0", func_8026E208);
INCLUDE_ASM(s32, "code_16c8e0", func_8026E260);
INCLUDE_ASM(s32, "code_16c8e0", PlayerCreateTargetList);
INCLUDE_ASM(s32, "code_16c8e0", EnemyCreateTargetList);
INCLUDE_ASM(s32, "code_16c8e0", InitTargetIterator);
INCLUDE_ASM(s32, "code_16c8e0", SetOwnerTarget);
INCLUDE_ASM(s32, "code_16c8e0", ChooseNextTarget);
INCLUDE_ASM(s32, "code_16c8e0", func_8026E558);
INCLUDE_ASM(s32, "code_16c8e0", GetTargetListLength);
INCLUDE_ASM(s32, "code_16c8e0", GetOwnerTarget);
INCLUDE_ASM(s32, "code_16c8e0", func_8026E914);
INCLUDE_ASM(s32, "code_16c8e0", GetPlayerActorID);
INCLUDE_ASM(s32, "code_16c8e0", func_8026E9A0);
INCLUDE_ASM(s32, "code_16c8e0", GetDistanceToGoal);
INCLUDE_ASM(s32, "code_16c8e0", func_8026EA7C);
INCLUDE_ASM(s32, "code_16c8e0", func_8026EB20);
INCLUDE_ASM(s32, "code_16c8e0", func_8026EBF8);
INCLUDE_ASM(s32, "code_16c8e0", func_8026ED20);
INCLUDE_ASM(s32, "code_16c8e0", func_8026EDE4);
INCLUDE_ASM(s32, "code_16c8e0", AddActorDecoration);
INCLUDE_ASM(s32, "code_16c8e0", RemoveActorDecoration);
INCLUDE_ASM(s32, "code_16c8e0", ModifyActorDecoration);
INCLUDE_ASM(s32, "code_16c8e0", UseIdleAnimation);
INCLUDE_ASM(s32, "code_16c8e0", func_8026F1A0);
INCLUDE_ASM(s32, "code_16c8e0", GetStatusFlags);
INCLUDE_ASM(s32, "code_16c8e0", RemovePlayerBuffs);
INCLUDE_ASM(s32, "code_16c8e0", SetPartAlpha);
INCLUDE_ASM(s32, "code_16c8e0", CreatePartShadow);
INCLUDE_ASM(s32, "code_16c8e0", RemovePartShadow);
INCLUDE_ASM(s32, "code_16c8e0", func_8026F60C);
INCLUDE_ASM(s32, "code_16c8e0", SetBattleVar);
INCLUDE_ASM(s32, "code_16c8e0", GetBattleVar);
INCLUDE_ASM(s32, "code_16c8e0", ResetAllActorSounds);
INCLUDE_ASM(s32, "code_16c8e0", SetActorSounds);
INCLUDE_ASM(s32, "code_16c8e0", ResetActorSounds);
INCLUDE_ASM(s32, "code_16c8e0", SetPartSounds);
INCLUDE_ASM(s32, "code_16c8e0", SetActorType);
INCLUDE_ASM(s32, "code_16c8e0", ShowShockEffect);
INCLUDE_ASM(s32, "code_16c8e0", GetActorAttackBoost);
INCLUDE_ASM(s32, "code_16c8e0", GetActorDefenseBoost);
INCLUDE_ASM(s32, "code_16c8e0", BoostAttack);
INCLUDE_ASM(s32, "code_16c8e0", BoostDefense);
INCLUDE_ASM(s32, "code_16c8e0", VanishActor);
INCLUDE_ASM(s32, "code_16c8e0", ElectrifyActor);
INCLUDE_ASM(s32, "code_16c8e0", HealActor);
INCLUDE_ASM(s32, "code_16c8e0", WaitForBuffDone);
INCLUDE_ASM(s32, "code_16c8e0", CopyBuffs);
INCLUDE_ASM(s32, "code_16c8e0", func_80271210);
INCLUDE_ASM(s32, "code_16c8e0", func_80271258);
INCLUDE_ASM(s32, "code_16c8e0", func_802712A0);
INCLUDE_ASM(s32, "code_16c8e0", func_80271328);
INCLUDE_ASM(s32, "code_16c8e0", func_802713B0);
INCLUDE_ASM(s32, "code_16c8e0", func_8027143C);
INCLUDE_ASM(s32, "code_16c8e0", func_80271484);
INCLUDE_ASM(s32, "code_16c8e0", func_80271588);
INCLUDE_ASM(s32, "code_16c8e0", dispatch_event_player);
INCLUDE_ASM(s32, "code_16c8e0", dispatch_event_player_continue_turn);
INCLUDE_ASM(s32, "code_16c8e0", calc_player_test_enemy);
INCLUDE_ASM(s32, "code_16c8e0", calc_player_damage_enemy);
INCLUDE_ASM(s32, "code_16c8e0", dispatch_damage_event_player);
INCLUDE_ASM(s32, "code_16c8e0", dispatch_damage_event_player_0);
INCLUDE_ASM(s32, "code_16c8e0", dispatch_damage_event_player_1);
INCLUDE_ASM(s32, "code_16c8e0", GetMenuSelection);
INCLUDE_ASM(s32, "code_16c8e0", func_80273444);
INCLUDE_ASM(s32, "code_16c8e0", PlayerFallToGoal);
INCLUDE_ASM(s32, "code_16c8e0", PlayerLandJump);
INCLUDE_ASM(s32, "code_16c8e0", PlayerRunToGoal);
INCLUDE_ASM(s32, "code_16c8e0", CancelablePlayerRunToGoal);
INCLUDE_ASM(s32, "code_16c8e0", GetPlayerHP);
INCLUDE_ASM(s32, "code_16c8e0", PlayerDamageEnemy);
INCLUDE_ASM(s32, "code_16c8e0", PlayerPowerBounceEnemy);
INCLUDE_ASM(s32, "code_16c8e0", PlayerTestEnemy);
INCLUDE_ASM(s32, "code_16c8e0", DispatchDamagePlayerEvent);
INCLUDE_ASM(s32, "code_16c8e0", EnablePlayerBlur);
INCLUDE_ASM(s32, "code_16c8e0", func_802749D8);
INCLUDE_ASM(s32, "code_16c8e0", func_802749F8);
INCLUDE_ASM(s32, "code_16c8e0", func_80274A18);
INCLUDE_ASM(s32, "code_16c8e0", func_802752AC);
INCLUDE_ASM(s32, "code_16c8e0", func_80275F00);
INCLUDE_ASM(s32, "code_16c8e0", DidActionSucceed);
INCLUDE_ASM(s32, "code_16c8e0", func_80276EFC);
INCLUDE_ASM(s32, "code_16c8e0", func_80276F1C);
INCLUDE_ASM(s32, "code_16c8e0", func_80276F50);
INCLUDE_ASM(s32, "code_16c8e0", dispatch_event_general);
INCLUDE_ASM(s32, "code_16c8e0", play_hit_sound);
INCLUDE_ASM(s32, "code_16c8e0", dispatch_event_actor);
INCLUDE_ASM(s32, "code_16c8e0", calc_enemy_test_target);
INCLUDE_ASM(s32, "code_16c8e0", calc_enemy_damage_target);
INCLUDE_ASM(s32, "code_16c8e0", dispatch_damage_event_actor);
INCLUDE_ASM(s32, "code_16c8e0", dispatch_damage_event_actor_0);
INCLUDE_ASM(s32, "code_16c8e0", dispatch_damage_event_actor_1);
INCLUDE_ASM(s32, "code_16c8e0", BindTakeTurn);
INCLUDE_ASM(s32, "code_16c8e0", PauseTakeTurn);
INCLUDE_ASM(s32, "code_16c8e0", ResumeTakeTurn);
INCLUDE_ASM(s32, "code_16c8e0", BindIdle);
INCLUDE_ASM(s32, "code_16c8e0", EnableIdleScript);
INCLUDE_ASM(s32, "code_16c8e0", BindHandleEvent);
INCLUDE_ASM(s32, "code_16c8e0", BindNextTurn);
INCLUDE_ASM(s32, "code_16c8e0", JumpToGoal);
INCLUDE_ASM(s32, "code_16c8e0", IdleJumpToGoal);
INCLUDE_ASM(s32, "code_16c8e0", JumpToGoalSimple2);
INCLUDE_ASM(s32, "code_16c8e0", JumpWithBounce);
INCLUDE_ASM(s32, "code_16c8e0", LandJump);
INCLUDE_ASM(s32, "code_16c8e0", FallToGoal);
INCLUDE_ASM(s32, "code_16c8e0", RunToGoal);
INCLUDE_ASM(s32, "code_16c8e0", IdleRunToGoal);
INCLUDE_ASM(s32, "code_16c8e0", JumpPartTo);
INCLUDE_ASM(s32, "code_16c8e0", FallPartTo);
INCLUDE_ASM(s32, "code_16c8e0", LandJumpPart);
INCLUDE_ASM(s32, "code_16c8e0", RunPartTo);
INCLUDE_ASM(s32, "code_16c8e0", update_lerp_battle);
INCLUDE_ASM(s32, "code_16c8e0", FlyToGoal);
INCLUDE_ASM(s32, "code_16c8e0", IdleFlyToGoal);
INCLUDE_ASM(s32, "code_16c8e0", FlyPartTo);
INCLUDE_ASM(s32, "code_16c8e0", GetLastEvent);
INCLUDE_ASM(s32, "code_16c8e0", SetTargetActor);
INCLUDE_ASM(s32, "code_16c8e0", SetEnemyHP);
INCLUDE_ASM(s32, "code_16c8e0", GetActorHP);
INCLUDE_ASM(s32, "code_16c8e0", GetEnemyMaxHP);
INCLUDE_ASM(s32, "code_16c8e0", RemoveActor);
INCLUDE_ASM(s32, "code_16c8e0", DropStarPoints);
INCLUDE_ASM(s32, "code_16c8e0", SetDefenseTable);
INCLUDE_ASM(s32, "code_16c8e0", SetStatusTable);
INCLUDE_ASM(s32, "code_16c8e0", SetIdleAnimations);
INCLUDE_ASM(s32, "code_16c8e0", func_8027CC10);
INCLUDE_ASM(s32, "code_16c8e0", EnemyDamageTarget);
INCLUDE_ASM(s32, "code_16c8e0", EnemyFollowupAfflictTarget);
INCLUDE_ASM(s32, "code_16c8e0", EnemyTestTarget);
INCLUDE_ASM(s32, "code_16c8e0", DispatchDamageEvent);
INCLUDE_ASM(s32, "code_16c8e0", DispatchEvent);
INCLUDE_ASM(s32, "code_16c8e0", func_8027D2D8);
INCLUDE_ASM(s32, "code_16c8e0", func_8027D32C);
INCLUDE_ASM(s32, "code_16c8e0", SetTargetOffset);
INCLUDE_ASM(s32, "code_16c8e0", func_8027D434);
INCLUDE_ASM(s32, "code_16c8e0", func_8027D4C8);
INCLUDE_ASM(s32, "code_16c8e0", EnableActorBlur);
INCLUDE_ASM(s32, "code_16c8e0", func_8027D628);
INCLUDE_ASM(s32, "code_16c8e0", AfflictActor);
INCLUDE_ASM(s32, "code_16c8e0", func_8027D75C);
INCLUDE_ASM(s32, "code_16c8e0", GetEncounterState);
INCLUDE_ASM(s32, "code_16c8e0", YieldTurn);
INCLUDE_ASM(s32, "code_16c8e0", SetActorSize);
INCLUDE_ASM(s32, "code_16c8e0", GetActorSize);
INCLUDE_ASM(s32, "code_16c8e0", SetPartSize);
INCLUDE_ASM(s32, "code_16c8e0", GetOriginalActorType);
INCLUDE_ASM(s32, "code_16c8e0", GetCurrentActorType);
INCLUDE_ASM(s32, "code_16c8e0", GetLastDamage);
INCLUDE_ASM(s32, "code_16c8e0", EnableActorGlow);
INCLUDE_ASM(s32, "code_16c8e0", WasStatusInflicted);
INCLUDE_ASM(s32, "code_16c8e0", CopyStatusEffects);
INCLUDE_ASM(s32, "code_16c8e0", ClearStatusEffects);
INCLUDE_ASM(s32, "code_16c8e0", dispatch_event_partner);
INCLUDE_ASM(s32, "code_16c8e0", dispatch_event_partner_continue_turn);
INCLUDE_ASM(s32, "code_16c8e0", calc_partner_test_enemy);
INCLUDE_ASM(s32, "code_16c8e0", calc_partner_damage_enemy);
INCLUDE_ASM(s32, "code_16c8e0", dispatch_damage_event_partner);
INCLUDE_ASM(s32, "code_16c8e0", dispatch_damage_event_partner_0);
INCLUDE_ASM(s32, "code_16c8e0", dispatch_damage_event_partner_1);
INCLUDE_ASM(s32, "code_16c8e0", MakeOwnerTargetIndex);
INCLUDE_ASM(s32, "code_16c8e0", func_8027FC90);
ApiStatus GetActorLevel(ScriptInstance* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
s32 actorID = get_variable(script, *args++);
Bytecode* outVar;
if (actorID == -0x7F) {
actorID = script->ownerActorID;
}
outVar = *args++;
set_variable(script, outVar, get_actor(actorID)->staticActorData->level);
return ApiStatus_DONE2;
}
INCLUDE_ASM(s32, "code_16c8e0", PartnerDamageEnemy);
INCLUDE_ASM(s32, "code_16c8e0", PartnerAfflictEnemy);
INCLUDE_ASM(s32, "code_16c8e0", PartnerPowerBounceEnemy);
INCLUDE_ASM(s32, "code_16c8e0", PartnerTestEnemy);
INCLUDE_ASM(s32, "code_16c8e0", func_8028070C);
INCLUDE_ASM(s32, "code_16c8e0", DeletePartner);
INCLUDE_ASM(s32, "code_16c8e0", func_802807D0);
INCLUDE_ASM(s32, "code_16c8e0", func_80280818);
INCLUDE_ASM(s32, "code_16c8e0", GetDamageIntensity);
INCLUDE_ASM(s32, "code_16c8e0", ActorAddMovePos);
INCLUDE_ASM(s32, "code_16c8e0", LoadStarPowerScript);