move persisted feature struct to ov8_02249960.h

This commit is contained in:
CharlesFolz4 2026-03-19 08:59:18 -04:00
parent 8a7615ec3b
commit a8d6cb66fd
4 changed files with 14 additions and 19 deletions

View File

@ -7,6 +7,19 @@
#include "message.h"
#include "string_gf.h"
enum EternaClockState {
ETERNA_CLOCK_INITIAL = 0,
ETERNA_CLOCK_DEFEATED_FIRST_TRAINER,
ETERNA_CLOCK_DEFEATED_SECOND_TRAINER,
ETERNA_CLOCK_DEFEATED_THIRD_TRAINER,
ETERNA_CLOCK_DEFEATED_GYM_LEADER,
ETERNA_CLOCK_MAX,
};
typedef struct EternaGymClockPersistedFeature {
u32 state;
} EternaGymClockPersistedFeature;
void PastoriaGym_PressButton(FieldSystem *fieldSystem);
BOOL PastoriaGym_DynamicMapFeaturesCheckCollision(FieldSystem *fieldSystem, const int tileX, const int tileZ, const fx32 height, BOOL *isColliding);
void PastoriaGym_DynamicMapFeaturesInit(FieldSystem *fieldSystem);

View File

@ -1,17 +0,0 @@
#ifndef POKEPLATINUM_ETERNA_GYM_CLOCK_PERSISTED_FEATURE_H
#define POKEPLATINUM_ETERNA_GYM_CLOCK_PERSISTED_FEATURE_H
enum EternaClockState {
ETERNA_CLOCK_INITIAL = 0,
ETERNA_CLOCK_DEFEATED_FIRST_TRAINER,
ETERNA_CLOCK_DEFEATED_SECOND_TRAINER,
ETERNA_CLOCK_DEFEATED_THIRD_TRAINER,
ETERNA_CLOCK_DEFEATED_GYM_LEADER,
ETERNA_CLOCK_MAX,
};
typedef struct EternaGymClockPersistedFeature {
u32 state;
} EternaGymClockPersistedFeature;
#endif // POKEPLATINUM_ETERNA_GYM_CLOCK_PERSISTED_FEATURE_H

View File

@ -10,7 +10,6 @@
#include "struct_decls/struct_02061830_decl.h"
#include "struct_decls/struct_02061AB4_decl.h"
#include "struct_defs/eterna_gym_clock_persisted_feature.h"
#include "struct_defs/struct_02071B10.h"
#include "struct_defs/struct_02071B30.h"
#include "struct_defs/struct_02071B6C.h"

View File

@ -6,7 +6,6 @@
#include "constants/field/dynamic_map_features.h"
#include "constants/great_marsh_tram.h"
#include "struct_defs/eterna_gym_clock_persisted_feature.h"
#include "struct_defs/struct_02071B10.h"
#include "struct_defs/struct_02071B30.h"
#include "struct_defs/struct_02071B6C.h"
@ -17,6 +16,7 @@
#include "field/field_system.h"
#include "field/field_system_sub2_t.h"
#include "overlay006/great_marsh_tram.h"
#include "overlay008/ov8_02249960.h"
#include "overlay009/ov9_02249960.h"
#include "field_system.h"