namespace pkNX.Structures.FlatBuffers.Arceus;
attribute "fs_serializer";

table AreaBGM {
    TimeStart:int;
    TimeEnd:int;
    StandardBGM:string (required);
    FirstBGM:string (required);

    /// A flag from system_flags
    FirstFlagHash:ulong;
}

table AreaBGMTable (fs_serializer) {
    Hash:ulong;
    Name:string (required);
    Entries:[AreaBGM] (required);
}

root_type AreaBGMTable;
