text: // C:\diabpsx\SOURCE\PREMON.CPP
  
  #include "types.h"
  
  // address: 0x8015B56C
  // line start: 103
  // line end:   110
  unsigned char MonstPlace__Fii(int xp, int yp) {
  }
  
  
  // address: 0x8015B628
  // line start: 114
  // line end:   170
  void InitMonsterGFX__Fi(int monst) {
  	// register: 6
  	register int anim;
  	// address: 0xFFFFFF00
  	// size: 0x100
  	auto char strBuff[256];
  	// register: 3
  	register int mtype;
  	// register: 7
  	// size: 0x3C
  	register struct MonsterData *pmonsterdata;
  }
  
  
  // address: 0x8015B700
  // line start: 246
  // line end:   252
  void PlaceMonster__Fiiii(int i, int mtype, int x, int y) {
  }
  
  
  // address: 0x8015B7A0
  // line start: 256
  // line end:   277
  int AddMonsterType__Fii(int type, int placeflag) {
  	// register: 16
  	register int i;
  	// register: 4
  	register unsigned char done;
  }
  
  
  // address: 0x8015B89C
  // line start: 287
  // line end:   299
  void GetMonsterTypes__FUl(unsigned long QuestMask) {
  	// address: 0xFFFFFCC8
  	// size: 0x320
  	auto int typelist[200];
  	// register: 17
  	register int nt;
  }
  
  
  // address: 0x8015B94C
  // line start: 305
  // line end:   341
  void ClrAllMonsters__Fv() {
  	// register: 17
  	register int i;
  	// register: 16
  	// size: 0x70
  	register struct MonsterStruct *Monst;
  }
  
  
  // address: 0x8015BA8C
  // line start: 345
  // line end:   363
  void InitLevelMonsters__Fv() {
  	// register: 3
  	register int i;
  }
  
  
  // address: 0x8015BB10
  // line start: 367
  // line end:   561
  void GetLevelMTypes__Fv() {
  	// register: 16
  	register int i;
  	// register: 4
  	register int minl;
  	// register: 2
  	register int maxl;
  	// address: 0xFFFFFB00
  	// size: 0x320
  	auto int typelist[200];
  	// register: 17
  	register int nt;
  	// register: 20
  	register char mamask;
  	// register: 18
  	register unsigned long QuestMask;
  	{
  		{
  			{
  				{
  					// address: 0xFFFFFE20
  					// size: 0x1BC
  					auto int skeltypes[111];
  					// register: 19
  					register int numskeltypes;
  				}
  			}
  		}
  	}
  }
  
  
  // address: 0x8015BF9C
  // line start: 567
  // line end:   644
  void PlaceQuestMonsters__Fv() {
  	// register: 16
  	register int skeltype;
  	// register: 16
  	register unsigned char *setp;
  	{
  		{
  			{
  				{
  					{
  						{
  							{
  								{
  									{
  										{
  											{
  												{
  													{
  														{
  															{
  																{
  																	{
  																		{
  																			{
  																				{
  																				}
  																			}
  																		}
  																	}
  																}
  															}
  														}
  													}
  												}
  											}
  										}
  									}
  								}
  							}
  						}
  					}
  				}
  			}
  		}
  	}
  }
  
  
  // address: 0x8015C360
  // line start: 653
  // line end:   679
  void LoadDiabMonsts__Fv() {
  	// register: 16
  	register unsigned char *lpSetPiece;
  	{
  		{
  			{
  				{
  				}
  			}
  		}
  	}
  }
  
  
  // address: 0x8015C470
  // line start: 687
  // line end:   769
  void PlaceGroup__FiiUci(int mtype, int num, unsigned char leaderf, int leader) {
  	// register: 16
  	register int xp;
  	// register: 17
  	register int yp;
  	// register: 19
  	register int x1;
  	// register: 22
  	register int y1;
  	// register: 21
  	register int j;
  	// register: 20
  	register int placed;
  	// address: 0xFFFFFFB0
  	auto int try1;
  	// register: 23
  	register int try2;
  	// register: 2
  	register int rd;
  }
  
  
  // address: 0x8015CA10
  // line start: 774
  // line end:   826
  void SetMapMonsters__FPUcii(unsigned char *pMap, int startx, int starty) {
  	// register: 16
  	register int i;
  	// register: 18
  	register int j;
  	// register: 2
  	register unsigned short rw;
  	// register: 20
  	register unsigned short rh;
  	// register: 17
  	register unsigned short *lm;
  }
  
  
  // address: 0x8015CC34
  // line start: 831
  // line end:   933
  void InitMonsters__Fv() {
  	// register: 18
  	register int i;
  	// register: 16
  	register int mtype;
  	// register: 5
  	register int na;
  	// register: 20
  	register int nt;
  	// address: 0xFFFFFE08
  	// size: 0x1BC
  	auto int scattertypes[111];
  	// register: 21
  	register int numscattypes;
  	// register: 17
  	register long fv;
  	// register: 16
  	register long j;
  	// register: 4
  	register int numplacemonsters;
  	// register: 17
  	register int s;
  	// register: 16
  	register int t;
  }
  
  
  // address: 0x8015CFE4
  // line start: 937
  // line end:   1188
  void PlaceUniqueMonst__Fiii(int uniqindex, int miniontype, int unpackfilesize) {
  	// address: 0xFFFFFF98
  	// size: 0x18
  	auto struct UniqMonstStruct *Uniq;
  	// register: 19
  	// size: 0x70
  	register struct MonsterStruct *Monst;
  	// register: 23
  	register int xp;
  	// register: 21
  	register int yp;
  	// register: 17
  	register int x;
  	// register: 16
  	register int y;
  	// register: 4
  	register unsigned char done;
  	// register: 18
  	register int count;
  	// address: 0xFFFFFFA0
  	auto int count2;
  	// address: 0xFFFFFF40
  	// size: 0x40
  	auto char filestr[64];
  	// address: 0xFFFFFFA8
  	auto int uniqtype;
  	// register: 5
  	register int i;
  	// address: 0xFFFFFFB0
  	auto unsigned char zharflag;
  	// register: 16
  	register int mMinDamage;
  	// register: 17
  	register int mMaxDamage;
  }
  
  
  // address: 0x8015D8B0
  // line start: 1194
  // line end:   1228
  void PlaceUniques__Fv() {
  	// register: 16
  	register int u;
  	// register: 5
  	register int mt;
  	// register: 4
  	register unsigned char done;
  }
  
  
  // address: 0x8015DA40
  // line start: 1233
  // line end:   1258
  int PreSpawnSkeleton__Fv() {
  	// register: 16
  	register int i;
  	// register: 19
  	register int j;
  	// register: 18
  	register int skeltypes;
  	// register: 16
  	register int skel;
  }
  
  
  // address: 0x8015DB80
  // line start: 1264
  // line end:   1269
  int encode_enemy__Fi(int m) {
  }
  
  
  // address: 0x8015DBD8
  // line start: 1272
  // line end:   1284
  void decode_enemy__Fii(int m, int enemy) {
  }
  
  
  // address: 0x8015DCF0
  // line start: 1288
  // line end:   1290
  unsigned char IsGoat__Fi(int mt) {
  }
  
  
  