2018-07-07 19:18:08 +00:00
|
|
|
/* stats */
|
|
|
|
extern unsigned char level;
|
|
|
|
extern unsigned char hp,max_hp;
|
|
|
|
extern unsigned char mp,max_mp;
|
|
|
|
extern unsigned char limit;
|
|
|
|
extern unsigned char money,experience;
|
|
|
|
extern unsigned char time_hours,time_minutes;
|
2018-07-16 02:37:57 +00:00
|
|
|
extern unsigned char items1,items2,items3;
|
2018-07-07 19:18:08 +00:00
|
|
|
extern unsigned char steps;
|
|
|
|
|
|
|
|
|
|
|
|
struct fixed_type {
|
|
|
|
char i;
|
|
|
|
unsigned char f;
|
|
|
|
};
|
|
|
|
|
|
|
|
int opening(void);
|
|
|
|
int title(void);
|
|
|
|
int flying(void);
|
|
|
|
|
|
|
|
void game_over(void);
|
|
|
|
void show_map(void);
|
|
|
|
void print_info(void);
|
|
|
|
void print_help(void);
|
|
|
|
|
|
|
|
int name_screen(void);
|
|
|
|
|
2018-07-09 20:47:59 +00:00
|
|
|
int do_battle(int background);
|
2018-07-15 23:44:32 +00:00
|
|
|
int boss_battle(void);
|
2018-07-07 19:18:08 +00:00
|
|
|
|
2018-07-14 18:57:19 +00:00
|
|
|
int do_ending(void);
|
|
|
|
|
2018-07-07 19:18:08 +00:00
|
|
|
int world_map(void);
|
|
|
|
|
|
|
|
int city_map(void);
|
|
|
|
|
|
|
|
int credits(void);
|
2018-07-16 00:07:40 +00:00
|
|
|
|
|
|
|
int random_8(void);
|
2018-07-18 04:11:55 +00:00
|
|
|
|
|
|
|
int player_select(void);
|