papermario/src/code_838b0_len_5900.c

115 lines
3.4 KiB
C
Raw Normal View History

2020-08-04 08:49:11 +02:00
#include "common.h"
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", use_consumable);
2020-08-04 08:49:11 +02:00
2020-09-25 23:18:09 +02:00
void remove_consumable(void) {
gPlayerData.invItems[D_8010CD20] = 0;
sort_items();
}
2020-08-04 08:49:11 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", func_800EA4B0);
2020-08-04 08:49:11 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", func_800EA514);
2020-09-24 05:16:13 +02:00
2020-10-14 17:48:20 +02:00
s32 func_800EA524(void) {
return 1;
}
2020-09-24 05:16:13 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", func_800EA52C);
2020-09-24 05:16:13 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", is_current_partner_flying);
2020-08-04 08:49:11 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", func_800EA5B8);
2020-08-04 08:49:11 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", func_800EA5D0);
2020-08-04 08:49:11 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", func_800EA6A8);
2020-08-04 08:49:11 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", func_800EA6CC);
2020-08-04 08:49:11 +02:00
2020-10-30 05:32:25 +01:00
INCLUDE_ASM(s32, "code_838b0_len_5900", func_800EB168, s32 arg0);
2020-08-04 08:49:11 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", func_800EB200);
2020-08-04 08:49:11 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", func_800EB2A4);
2020-09-24 05:16:13 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", partner_use_ability);
2020-08-04 08:49:11 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", partner_player_can_pause);
2020-08-04 08:49:11 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", partner_can_use_ability);
2020-08-04 08:49:11 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", partner_reset_data);
2020-08-04 08:49:11 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", partner_initialize_data);
2020-08-04 08:49:11 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", partner_test_enemy_collision);
2020-08-04 08:49:11 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", partner_get_ride_script);
2020-08-04 08:49:11 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", partner_handle_before_battle);
2020-08-04 08:49:11 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", partner_handle_after_battle);
2020-09-24 05:16:13 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", partner_kill_ability_script);
2020-09-24 05:16:13 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", partner_suspend_ability_script);
2020-09-24 05:16:13 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", partner_resume_ability_script);
2020-08-04 08:49:11 +02:00
2020-10-19 02:04:18 +02:00
INCLUDE_ASM(void, "code_838b0_len_5900", enable_partner_walking, Npc* partner, s32 val);
2020-08-04 08:49:11 +02:00
2020-10-19 02:04:18 +02:00
INCLUDE_ASM(void, "code_838b0_len_5900", func_800EBA3C, Npc* partner);
2020-09-24 05:16:13 +02:00
2020-10-19 02:04:18 +02:00
INCLUDE_ASM(void, "code_838b0_len_5900", func_800EBB40, Npc* partner);
2020-09-24 05:16:13 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", func_800EBC74);
2020-08-04 08:49:11 +02:00
2020-10-19 02:04:18 +02:00
INCLUDE_ASM(void, "code_838b0_len_5900", enable_partner_flying, Npc* partner, s32 val);
2020-08-04 08:49:11 +02:00
2020-10-19 01:27:14 +02:00
INCLUDE_ASM(void, "code_838b0_len_5900", update_player_move_history, Npc* partner);
2020-08-04 08:49:11 +02:00
2020-10-19 01:27:14 +02:00
INCLUDE_ASM(void, "code_838b0_len_5900", func_800ED5D0, Npc* partner);
2020-09-24 05:16:13 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", func_800ED9F8);
2020-08-04 08:49:11 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", func_800EE994);
2020-09-24 05:16:13 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", func_800EE9B8);
2020-09-24 05:16:13 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", func_800EECC4);
2020-09-24 05:16:13 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", func_800EECE8);
2020-09-24 05:16:13 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", func_800EF300);
2020-08-04 08:49:11 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", func_800EF314);
2020-08-04 08:49:11 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", enable_partner_ai);
2020-08-04 08:49:11 +02:00
2020-09-27 03:02:29 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", func_800EF394, f32 arg0);
2020-08-04 08:49:11 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", func_800EF3A4);
2020-08-04 08:49:11 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", func_800EF3C0);
2020-08-04 08:49:11 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", func_800EF3D4);
2020-08-04 08:49:11 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", func_800EF3E4);
2020-08-04 08:49:11 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", func_800EF414);
2020-08-04 08:49:11 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", func_800EF43C);
2020-08-04 08:49:11 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", clear_partner_move_history);
2020-08-04 08:49:11 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", func_800EF4E0);
2020-09-24 05:16:13 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", func_800EF600);
2020-08-04 08:49:11 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", func_800EF628);
2020-08-04 08:49:11 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", func_800EF640);
2020-08-04 08:49:11 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_838b0_len_5900", func_800EF82C);