through sub_8059250
This commit is contained in:
+7
-1
@@ -3,6 +3,12 @@
|
||||
|
||||
#include "global.h"
|
||||
|
||||
#define NUM_TILES_IN_PRIMARY 512
|
||||
#define NUM_TILES_TOTAL 1024
|
||||
#define NUM_METATILES_IN_PRIMARY 512
|
||||
#define NUM_METATILES_TOTAL 1024
|
||||
#define NUM_PALS_IN_PRIMARY 6
|
||||
#define NUM_PALS_TOTAL 13
|
||||
#define VIRTUAL_MAP_SIZE 0x2800
|
||||
|
||||
extern struct MapCoords {
|
||||
@@ -18,6 +24,6 @@ void GetCameraCoords(u16*, u16*);
|
||||
bool8 MapGridIsImpassableAt(s32, s32);
|
||||
s32 GetMapBorderIdAt(s16, s16);
|
||||
bool32 CanCameraMoveInDirection(u8);
|
||||
u16 GetBehaviorByMetatileId(u16 metatileId);
|
||||
u32 GetBehaviorByMetatileIdAndMapData(struct MapData *mapData, u16 metatile, u8 attr);
|
||||
|
||||
#endif //GUARD_FIELDMAP_H
|
||||
|
||||
@@ -51,8 +51,8 @@ struct Tileset
|
||||
/*0x04*/ void *tiles;
|
||||
/*0x08*/ void *palettes;
|
||||
/*0x0c*/ void *metatiles;
|
||||
/*0x10*/ void *metatileAttributes;
|
||||
/*0x14*/ TilesetCB callback;
|
||||
/*0x10*/ void *metatileAttributes;
|
||||
};
|
||||
|
||||
struct MapData
|
||||
|
||||
+2
-1
@@ -328,7 +328,8 @@ struct SaveBlock2
|
||||
/*0x0AC*/ u8 filler_AC[0x3F4];
|
||||
/*0x4A0*/ u32 unk_4A0[0x2F];
|
||||
/*0x55c*/ struct UnkSaveBlock2Substruct_55C unk_55C;
|
||||
/*0x574*/ u8 filler_574[0x524];
|
||||
/*0x574*/ u8 filler_574[0x324];
|
||||
/*0x898*/ u16 mapView[0x100];
|
||||
/*0xA98*/ struct LinkBattleRecords linkBattleRecords;
|
||||
/*0xAF0*/ struct BerryCrush berryCrush;
|
||||
/*0xB00*/ u8 filler_B00[0x420];
|
||||
|
||||
Reference in New Issue
Block a user