Implement & link m_mushroom.c

This commit is contained in:
Cuyler36
2023-05-15 19:36:28 -04:00
parent c02dbb8e6e
commit ad272c7a9c
9 changed files with 765 additions and 1 deletions
+4 -1
View File
@@ -22,6 +22,7 @@
#include "m_museum_display.h"
#include "m_lib.h"
#include "m_field_assessment.h"
#include "m_mushroom.h"
#ifdef __cplusplus
extern "C" {
@@ -92,7 +93,9 @@ typedef struct Save_s {
/* 0x020F1B */ u8 npc_force_go_home; /* when set to 1, forces the 'm_go_home' code to activate */
/* 0x020F1C */ u16 deposit[FG_BLOCK_X_NUM * FG_BLOCK_Z_NUM][UT_Z_NUM]; /* flags for which items are buried around town */
/* 0x0212DC */ lbRTC_time_c last_grow_time; /* last time that a new villager moved into town */
/* 0x0212E4 */ u8 _tmp4[0x02137E - 0x0212E4];
/* 0x0212E4 */ u8 _tmp4[0x02131C - 0x0212E4];
/* 0x02131C */ mMsr_MushTime_c mushroom_time; /* last time mushroom season info was updated */
/* 0x021322 */ u8 _tmp21322[0x02137E - 0x021322];
/* 0x02137E */ lbRTC_time_c treasure_buried_time; /* last time treasure was actually buried */
/* 0x021386 */ lbRTC_time_c treasure_checked_time; /* last time check to bury treasure was executed */
/* 0x02138E */ u8 saved_rom_debug; /* flag to set save to 'debug rom' mode */