2020-08-04 08:49:11 +02:00
|
|
|
#include "common.h"
|
|
|
|
|
2020-08-17 19:44:41 +02:00
|
|
|
INCLUDE_ASM("code_102610_len_2330", func_802E0D90);
|
2020-09-22 05:10:53 +02:00
|
|
|
// Needs rodata support, is above func
|
|
|
|
/*void create_shadow_callback(Shadow* shadow) {
|
|
|
|
shadow->scale.x = 0.1f;
|
|
|
|
shadow->scale.y = 0.1f;
|
|
|
|
shadow->scale.z = 0.1f;
|
|
|
|
}*/
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-08-17 19:44:41 +02:00
|
|
|
INCLUDE_ASM("code_102610_len_2330", func_802E0DB0);
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-08-17 19:44:41 +02:00
|
|
|
INCLUDE_ASM("code_102610_len_2330", func_802E0DE0);
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-09-22 05:10:53 +02:00
|
|
|
void save_game_at_player_position(void) {
|
|
|
|
GameStatus* gameStatus = GAME_STATUS;
|
|
|
|
|
|
|
|
gameStatus->savedPos[0] = gPlayerStatusPtr->position.x;
|
|
|
|
gameStatus->savedPos[1] = gPlayerStatusPtr->position.y;
|
|
|
|
gameStatus->savedPos[2] = gPlayerStatusPtr->position.z;
|
|
|
|
fio_save_game(gameStatus->saveSlot);
|
|
|
|
}
|
|
|
|
|
|
|
|
INCLUDE_ASM("code_102610_len_2330", func_802E1204);
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-08-17 19:44:41 +02:00
|
|
|
INCLUDE_ASM("code_102610_len_2330", func_802E153C);
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-08-17 19:44:41 +02:00
|
|
|
INCLUDE_ASM("code_102610_len_2330", func_802E234C);
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-08-17 19:44:41 +02:00
|
|
|
INCLUDE_ASM("code_102610_len_2330", func_802E246C);
|