GenerateKecleonShop

This commit is contained in:
DizzyEggg
2024-11-11 21:01:00 +01:00
parent ad0f0f4050
commit 445f0a84e2
5 changed files with 272 additions and 697 deletions

View File

@@ -5,6 +5,7 @@
#include "structs/str_position.h"
#define MAX_ROOM_COUNT 32 // Empirical max, not sure if the code supports any more.
#define ROOM_0xFE 0xFE // Anchor?
#define CORRIDOR_ROOM 0xFF
enum TerrainType

View File

@@ -230,6 +230,15 @@ struct MessageLogString
u8 str[MESSAGE_LOG_BUFFER_SIZE];
};
#define DEFAULT_MAX_POSITION 9999
struct MinMaxPosition
{
s32 minX;
s32 minY;
s32 maxX;
s32 maxY;
};
// size: 0x1CEDC
typedef struct Dungeon
{
@@ -350,8 +359,7 @@ typedef struct Dungeon
Position unkE218;
Position unkE21C; // stair location?
Position unkE220[8];
u32 unkE240;
u8 fillE244[0xE250 - 0xE244];
struct MinMaxPosition kecleonShopPos;
u32 unkE250;
u8 fillE254[0xE260 - 0xE254];
u32 unkE260;