#define MOVIE_FIGHT_GONG	240
#define MOVIE_FIGHT_FANG	241
#define MOVIE_FIGHT_SHU		242
#define MOVIE_FIGHT_DU		243
#define MOVIE_FIGHT_RUAN	244
#define MOVIE_FIGHT_FENG	245
#define MOVIE_FIGHT_MIAN	246
#define MOVIE_LOGO			247
#define MOVIE_GAME_NAME		248
#define MOVIE_FIGHT_LOSS	249
#define MOVIE_CHOICE_START  250
#define MOVIE_CHOICE_LOAD   251
#define MOVIE_CHOICE_252    252
#define MOVIE_CHOICE_253    253
#define MOVIE_CHOICE_254    254
#define MOVIE_CHOICE_255    255

#define PIC_TILE		7
#define PIC_ROLE		8
#define PIC_GOOD		9
#define PIC_EFFECT		10
#define PIC_OTHER		11

#define RES_GUT		1
#define RES_MAP		2
#define RES_ARS		3
#define RES_MRS		4
#define RES_SRS		5
#define RES_GRS		6
#define RES_TIL		7
#define RES_ACP		8
#define RES_GDP		9
#define RES_GGJ		10
#define RES_PIC		11
#define RES_MLR		12

#define MUSIC             0  
#define LOADMAP           1  
#define CREATEACTOR       2  
#define DELETENPC         3  
#define MAPEVENT          4  
#define ACTOREVENT        5  
#define MOVE              6  
#define ACTORMOVE         7  
#define ACTORSPEED        8  
#define _CALLBACK         9  
#define GOTO              10
#define IF                11  
#define SET               12  
#define SAY               13  
#define STARTCHAPTER      14  
#define SCREENR           15  
#define SCREENS           16  
#define SCREENA           17  
#define EVENT             18  
#define MONEY             19  
#define GAMEOVER          20  
#define IFCMP             21  
#define ADD               22  
#define SUB               23  
#define SETCONTROLID      24  
#define GUTEVENT          25  
#define SETEVENT          26  
#define CLREVENT          27  
#define BUY               28  
#define FACETOFACE        29  
#define MOVIE             30  
#define CHOICE            31  
#define CREATEBOX         32  
#define DELETEBOX         33  
#define GAINGOODS         34  
#define INITFIGHT         35  
#define FIGHTENABLE       36  
#define FIGHTDISENABLE    37  
#define CREATENPC         38  
#define ENTERFIGHT        39  
#define DELETEACTOR       40  
#define GAINMONEY         41  
#define USEMONEY          42  
#define SETMONEY          43  
#define LEARNMAGIC        44  
#define SALE              45  
#define NPCMOVEMOD        46  
#define MESSAGE           47  
#define DELETEGOODS       48  
#define RESUMEACTORHP     49  
#define ACTORLAYERUP      50  
#define BOXOPEN           51  
#define DELALLNPC         52  
#define NPCSTEP           53  
#define SETSCENENAME      54  
#define SHOWSCENENAME     55  
#define SHOWSCREEN        56  
#define USEGOODS          57  
#define ATTRIBTEST        58  
#define ATTRIBSET         59  
#define ATTRIBADD         60  
#define SHOWGUT           61  
#define USEGOODSNUM       62  
#define RANDRADE          63  
#define MENU              64  
#define TESTMONEY         65  
#define CALLCHAPTER       66  
#define DISCMP            67  
#define RETURN            68  
#define TIMEMSG           69  
#define DISABLESAVE       70  
#define ENABLESAVE        71  
#define GAMESAVE          72  
#define SETEVENTTIMER     73  
#define ENABLESHOWPOS     74  
#define DISABLESHOWPOS    75  
#define SETTO             76  
#define TESTGOODSNUM      77  
#define SETFIGHTMISS      78  //20170420
#define SETARMSTOSS       79  //20170420


//SETARMSTOSS flag				---- 设置武器是否能投掷(flag为0不能投掷,为1能投掷)
//SETFIGHTMISS flag				---- 设置战斗中是否有Miss(flag为0没有Miss,为1有Miss)
//#define MENU_MONEY	"金钱："

#define GAMEOVER_FLAG -9999

#define HPMAX     999
#define MPMAX     999
#define SPEEDMAX     99
#define ANIMAMAX     99
#define LUCKMAX     99
#define ATMAX     999
#define DFMAX     999
#define DEGREEMAX     999
#define EXPMAX 65536
#define MONEYMAX 99999//20161220
#define MYOVERFLOW 65536//20161220 2

#define MAX_GOOD_IN_HAND 99

#define SCREENWIDTH 160
#define SCREENHEIGHT 96
#define GOODPICWIDTH 24
#define GOODPICHEIGHT 24
#define TILEPICWIDTH 16
#define TILEPICHEIGHT 16
#define ACTORPICWIDTH 16
#define ACTORPICHEIGHT 32
#define NPCPICWIDTH 16
#define NPCPICHEIGHT 32
#define HEADPICWIDTH 24
#define HEADPICHEIGHT 28
#define FIGHTACTORPICWIDTH 24
#define FIGHTACTORPICHEIGHT 36

